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 App Services

Manage Azure App Services

Key Concepts

Azure App Service Plans

An Azure App Service Plan defines the compute resources and pricing tier for your web applications, mobile apps, API apps, and function apps. It specifies the number of instances, the size of each instance, and the pricing tier (Free, Shared, Basic, Standard, Premium, etc.). Each plan can host multiple apps, and apps within the same plan share the same compute resources.

Example: Think of an App Service Plan as a hosting package that determines the capacity and performance of your apps. Just like choosing a hosting plan for a website, you select an App Service Plan based on your expected traffic and performance needs.

Deployment Slots

Deployment Slots allow you to deploy different versions of your app to separate environments without affecting the production version. Commonly used slots include "Staging" and "Production." This enables seamless testing and validation before promoting changes to the live site. Slots can be swapped to quickly move a tested version into production.

Analogy: Consider deployment slots as different stages in a theater production. You can rehearse (test) in the rehearsal room (staging slot) without affecting the live performance (production slot). Once rehearsals are complete, you can swap the roles to bring the rehearsed performance to the stage.

Scaling Options

Scaling options in Azure App Services include both vertical and horizontal scaling. Vertical scaling (scaling up) involves increasing the compute resources of an instance, such as CPU and memory. Horizontal scaling (scaling out) involves adding more instances to handle increased load. Autoscaling allows your app to automatically scale based on predefined rules and metrics.

Example: Imagine your app as a restaurant. Vertical scaling is like upgrading to a larger kitchen (more powerful instance), while horizontal scaling is like hiring more chefs (adding more instances). Autoscaling ensures that you always have the right number of chefs based on the number of customers.

Custom Domains and SSL

Custom Domains allow you to use your own domain name (e.g., www.yourcompany.com) instead of the default Azure domain (e.g., yourapp.azurewebsites.net). SSL (Secure Sockets Layer) certificates enable secure HTTPS connections to your app, ensuring data encryption and compliance with security standards. Azure App Services support both custom domains and SSL certificates, allowing you to secure and brand your web applications.

Analogy: Think of custom domains as giving your app a personalized address, like a custom storefront sign. SSL certificates are like the locks on your store's doors, ensuring that customer transactions (data) are secure and private.

Conclusion

Managing Azure App Services involves understanding and effectively using App Service Plans, Deployment Slots, Scaling Options, and Custom Domains with SSL. By leveraging these features, you can ensure that your web applications are performant, secure, and easily manageable, meeting the needs of your users and business.