Session+5-Azure+Components
Session+5-Azure+Components
Let us start with creating account with Azure Cloud and login
there.
Advantages:
- High Availability
- Low Latency Global Footprint
- Adhere to government regulations
But how to achieve high availability in the same region (or
geographic location)?
Azure VMs
IAAS:
PAAS:
Use a platform provided by cloud
SAAS
Centrally hosted software (mostly on the cloud) Offered on a
subscription basis (pay-as-you-go)
Examples:
Email, calendaring & office tools (such as Outlook 365, Microsoft
Office 365, Gmail, Google Docs)
Data Stores :
• Data which does not have any structure (Audio files, Video
files, Binary files)
• What is the type of storage of your hard disk?
• Block Storage (Azure Managed Service: Azure Disks)
• You've created a file share to share a set of files with your
colleagues in a enterprise. What type of storage are you using?
• File Storage (Azure Managed Service: Azure Files)
• You want to be able to upload/download objects using a REST
API without mounting them onto your VM. What type of
storage are you using?
• Object Storage (Azure Managed Service: Azure Blob Storage)
Relational vs Non-Relational
COSMOS DB :
Relational Data (Structured Data)
OLTP: Azure SQL Database, Azure SQL Managed Instance, SQL
Server on Azure VMs, Azure Database for PostgreSQL, MariaDB,
MySQL
OLAP: Azure Synapse Analytics
Non Relational Data (Semi Structured/Unstructured Data)
Semi Structured - Document (JSON)
Azure Cosmos DB SQL API and Cosmos DB MongoDB API
Semi Structured - Key-Value
Azure Cosmos DB Table API, Azure Table Storage
Semi Structured - Column-Family
Azure Cosmos DB Cassandra API
Semi Structured - Graph
Azure Cosmos DB Gremlin API
Unstructured Data
Block Storage (Azure Disks), File Storage (Azure Files), Object
Storage (Azure Blob Storage)
Azure Storage
• Block Storage :
Use case: Hard-disks attached to your computers
• Typically, ONE Block Storage device can be connected to
ONE virtual server
• You can connect multiple block storage devices into one
virtual server
Disk Storage:
• Disk storage: Disks for Azure VMs
• Types:
o Standard HDD: Recommended for Backup, non-
critical, infrequent access
• Standard SSD: Recommended for Web servers, lightly used
enterprise applications and dev/test environments
• Premium SSD disks: Recommended for production and
performance sensitive workloads
Ultra disks (SSD): Recommended for IO-intensive workloads
such as SAP HANA, top tier databases (for example, SQL,
Oracle), and other transaction-heavy workloads
Premium and Ultra provide very high availability
• Managed vs Unmanaged Disks:
▪ Managed Disks are easy to use:
▪ Azure handles storage
▪ High fault tolerance and availability
▪ Unmanaged Disks are old and tricky (Avoid them if you can)
• You need to manage storage and storage account
• Disks stored in Containers (NOT Docker containers
Completely unrelated )
Files :
Blob Storage:
• Azure Blob Storage: Object storage in Azure
• Structure: Storage Account > Container(s) > Blob(s)
• Store massive volumes of unstructured data
▪ Store all file types - text, binary, backup & archives:
o Media files and archives, Application packages and logs
o Backups of your databases or storage devices
• Three Types of Blobs
▪ Block Blobs: Store text or binary files (videos, archives etc)
▪ Append Blobs: Store log files (Ideal for append operations)
▪ Page Blobs: Foundation for Azure IaaS Disks (512-byte
pages up to 8 TB)
ADF :
ADF is not :
• Data Migration Tool
• Not support streaming service
• Not suitable complex transformation
• Not a Data storage solution, it provide compute requirement
Appendix:
What is ENTRA ID in Azure?
Entra ID is the new name for Azure Active Directory (Azure AD),
a cloud-based identity and access management service provided
by Microsoft. It helps secure and manage access to resources
such as Microsoft 365 applications, Azure services, third-party
SaaS applications, and custom apps.
Key Features of Entra ID:
1. Identity Management: Manages user identities and their
access to resources.
2. Authentication: Provides Single Sign-On (SSO), Multi-Factor
Authentication (MFA), and passwordless login options.
3. Conditional Access: Controls resource access based on
policies such as device state, user location, and application
being accessed.
4. B2B Collaboration: Allows secure collaboration with
external users (partners, vendors).
5. B2C Identity Management: Manages identities for
customer-facing apps.
6. Identity Protection: Detects and mitigates identity risks,
such as compromised accounts.
Example in Action:
Scenario:
Your company builds an employee portal for managing payroll,
leaves, and internal communication. Employees need to log in
securely using their corporate accounts.
Steps with Entra ID:
1. Register the App:
o Register the employee portal in the Entra ID portal.
o Configure redirect URIs to enable authentication
callbacks.
2. Define Roles:
o Assign roles like "Admin", "HR", and "Employee" with
different access levels.
3. Enable Conditional Access:
o Policy: Access is granted only during working hours
from corporate devices.
o Enforce MFA for sensitive actions like accessing
payroll details.
4. User Authentication:
o Employees log in using their Entra ID credentials (e.g.,
[email protected]).
o Entra ID handles authentication and issues a token for
the portal.
5. User Experience:
o Employees enjoy SSO across all integrated
applications.
o IT admins can monitor access and enforce security
policies via Entra ID dashboards.