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 VM Extensions

Manage VM Extensions

Key Concepts

VM Extensions

VM Extensions are small applications that provide post-deployment configuration and automation tasks on Azure virtual machines (VMs). These extensions can be used to install software, configure settings, and perform various other tasks. Extensions can be added to VMs during or after deployment.

Example: Think of VM extensions as add-ons for your virtual machines. Just like you might add a GPS to your car for navigation, you can add extensions to your VMs to enhance their functionality.

Custom Script Extension

The Custom Script Extension is one of the most commonly used VM extensions. It allows you to download and execute scripts on Azure VMs. This extension is useful for post-deployment configuration, software installation, or any other configuration/management task.

Example: Imagine you need to install a specific software package on multiple VMs. Instead of manually logging into each VM and running the installation script, you can use the Custom Script Extension to automatically execute the script on all VMs.

Azure Monitoring Agent

The Azure Monitoring Agent is a VM extension that enables monitoring and diagnostics on Azure VMs. It collects performance metrics, logs, and other diagnostic data, which can be used to monitor the health and performance of your VMs. This extension is essential for maintaining and troubleshooting your VMs.

Example: Consider a scenario where you need to monitor the CPU usage and memory consumption of your VMs. The Azure Monitoring Agent can be installed on your VMs to collect this data, which can then be visualized and analyzed in Azure Monitor.

Conclusion

Managing VM extensions in Azure is crucial for automating and enhancing the functionality of your virtual machines. By understanding and effectively using VM extensions like the Custom Script Extension and Azure Monitoring Agent, you can streamline post-deployment tasks and ensure robust monitoring and diagnostics for your VMs.