Azure Administrator Associate (AZ-104)
1 Manage Azure identities and governance
1-1 Manage Azure AD objects
1-2 Manage role-based access control (RBAC)
1-3 Manage subscriptions and governance
2 Implement and manage storage
2-1 Manage storage accounts
2-2 Manage blob storage
2-3 Manage disk storage
2-4 Manage file shares
2-5 Implement Azure Backup
3 Deploy and manage Azure compute resources
3-1 Manage virtual machines (VMs)
3-2 Manage VM extensions
3-3 Manage virtual machine scale sets (VMSS)
3-4 Manage Azure App Services
3-5 Manage Azure Container Instances (ACI)
3-6 Manage Azure Kubernetes Service (AKS)
4 Configure and manage virtual networking
4-1 Manage Azure virtual networks
4-2 Manage network security groups (NSGs)
4-3 Manage Azure DNS
4-4 Manage Azure load balancers
4-5 Manage Azure Application Gateway
4-6 Manage Azure VPN Gateway
4-7 Manage Azure ExpressRoute
4-8 Manage Azure Traffic Manager
4-9 Manage Azure Content Delivery Network (CDN)
5 Monitor and back up Azure resources
5-1 Monitor resources using Azure Monitor
5-2 Implement and manage Azure Backup
5-3 Implement and manage Azure Site Recovery
5-4 Implement and manage Azure Security Center
5-5 Implement and manage Azure Update Management
Manage Virtual Machines (VMs) in Azure

Manage Virtual Machines (VMs) in Azure

Azure Virtual Machines (VMs) are one of the foundational services in Azure, providing scalable, on-demand computing resources. This webpage will guide you through the key concepts and tasks involved in managing Azure VMs.

Key Concepts

VM Sizes and Types

Azure offers a variety of VM sizes and types tailored for different workloads. VM sizes determine the number of CPU cores, memory, and temporary storage available. Types include General-purpose, Compute-optimized, Memory-optimized, Storage-optimized, and GPU VMs.

Example: A General-purpose VM (e.g., D2s_v3) is ideal for testing and development, while a Memory-optimized VM (e.g., E4_v3) is suitable for memory-intensive applications like databases.

Availability Options

Azure provides several options to ensure high availability of your VMs. These include Availability Sets, Availability Zones, and Virtual Machine Scale Sets. Availability Sets distribute VMs across multiple fault domains and update domains to protect against hardware failures and maintenance events.

Example: Placing VMs in different Availability Zones ensures that if one zone experiences an outage, the VMs in other zones remain operational, maintaining service continuity.

Networking

Networking in Azure VMs involves configuring virtual networks (VNets), subnets, and network interfaces (NICs). VNets allow VMs to communicate with each other and with the internet. Subnets segment the VNet into smaller address spaces, and NICs connect VMs to VNets.

Example: A VNet can be compared to a private network within your organization, with subnets acting as departments within that network. NICs are like the network cards in your physical machines, enabling communication within the network.

Storage

Azure VMs use different types of storage for their operating systems, applications, and data. These include Managed Disks, which provide high-performance, durable block storage, and Azure Files, which offer fully managed file shares in the cloud.

Example: Managed Disks can be thought of as the hard drives of your VMs, providing reliable storage for the operating system and applications. Azure Files can be used to create shared folders accessible by multiple VMs.

Scaling and Autoscaling

Scaling allows you to adjust the number of VM instances to meet demand. Autoscaling automatically adjusts the number of VM instances based on predefined rules, such as CPU utilization thresholds. This ensures that your application can handle varying workloads efficiently.

Example: During peak hours, autoscaling can increase the number of VM instances to handle increased traffic, and during off-peak hours, it can reduce the number of instances to save costs.

Conclusion

Managing Azure VMs involves understanding and effectively using VM sizes and types, availability options, networking, storage, and scaling mechanisms. By leveraging these features, you can ensure that your VMs are highly available, secure, and optimized for performance and cost.