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 Azure Kubernetes Service (AKS)

Manage Azure Kubernetes Service (AKS)

Key Concepts

Kubernetes Basics

Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery.

Example: Think of Kubernetes as a traffic controller for containers, directing them to the right nodes and ensuring they run efficiently.

AKS Architecture

Azure Kubernetes Service (AKS) is a managed Kubernetes service that simplifies the deployment, management, and operations of Kubernetes clusters. AKS provides a scalable and highly available environment for containerized applications. It abstracts the complexity of managing Kubernetes control plane components, allowing you to focus on application development.

Analogy: AKS is like a managed parking lot where the parking attendants (control plane) handle the traffic flow, so you can focus on parking your car (deploying applications).

Cluster Deployment

Deploying an AKS cluster involves creating a Kubernetes cluster in Azure with one or more worker nodes. You can deploy AKS clusters using the Azure portal, Azure CLI, or Azure Resource Manager (ARM) templates. The deployment process includes specifying the number of nodes, VM size, and networking configuration.

Example: You can deploy an AKS cluster with three nodes to host a microservices-based application, ensuring high availability and scalability.

Scaling and Autoscaling

AKS supports both manual and automatic scaling of cluster resources. Manual scaling allows you to adjust the number of nodes in the cluster, while automatic scaling (Horizontal Pod Autoscaler and Cluster Autoscaler) dynamically adjusts the number of nodes or pods based on resource utilization and demand.

Analogy: Consider scaling as adjusting the number of parking spaces based on the number of cars. Autoscaling automatically adds or removes spaces based on traffic, ensuring optimal utilization.

Monitoring and Logging

Monitoring and logging are crucial for maintaining the health and performance of AKS clusters. Azure Monitor for containers provides comprehensive monitoring for AKS clusters, including metrics, logs, and alerts. You can also integrate AKS with third-party monitoring tools like Prometheus and Grafana.

Example: Azure Monitor can alert you if CPU usage exceeds a certain threshold, allowing you to take proactive measures to optimize resource usage.

Conclusion

Managing Azure Kubernetes Service (AKS) involves understanding Kubernetes basics, AKS architecture, cluster deployment, scaling options, and monitoring capabilities. By leveraging these concepts, you can efficiently deploy, scale, and monitor containerized applications in a managed Kubernetes environment.