Explore Azure App Service apps
https://azure.microsoft.com/it-it/services/app-service/
Understanding Azure App Service Plan
https://azure.microsoft.com/it-it/pricing/details/app-service/plans/
Azure App Service Plan
Container for App Services
Like a VM server farm
App Service Plan defines
- Azure region
- Max number of VM instances
- Size of VM instances (CPU/RAM/Storage)
- Pricing Tier
Can change App Service Plan (princing tier) after creation
App Service Deployments
Azure App Service Plan
https://azure.microsoft.com/it-it/pricing/details/app-service/plans/
Azure App Service Plan
App runs in worker process
Apps are isolated within App Service Plan
Code can call in-process COM components
Open Command shell, run PowerShell script
IIS and Application logs
Calls to Windows Event Log are faked by App Service Plan
No access to
https://azure.microsoft.com/it-it/pricing/details/app-service/windows/
Azure App Service pricing
https://azure.microsoft.com/it-it/pricing/details/app-service/plans/
Azure App Service plan details
https://portal.azure.com/#create/Microsoft.AppServicePlanCreate
Demo - Creating an App Service Plan
https://portal.azure.com/#create/Microsoft.WebSite
Demo - Creating a Web App
https://docs.microsoft.com/it-it/azure/app-service/manage-scale-up
Azure App Service Plan Scale Up
Vertical Scaling
Scale up for resouces
- CPU and memory
- Isolated networking (App Service Environment)
- Premium V2 memory-to-core ratio
Scale up for features
- Higher plans have more features
Scale up to overcome resource quotas
- CPU, memory, bandwidth and file storage
https://docs.microsoft.com/it-it/azure/azure-resource-manager/management/azure-subscription-service-limits
Azure App Service limits
https://docs.microsoft.com/it-it/azure/app-service/manage-scale-up
Azure App Service Plan Scale Up
Free and Shared App Service Plans
- CPU limits
• Within every 5 minutes
• Within every 24 hours
- Memory limits
• 1024MB per hour
- File system limits
• 1GB
- Banwidth
• 165MB egress (Free plan only)
https://docs.microsoft.com/it-it/azure/app-service/manage-scale-up
Azure App Service Plan Scale Up
Scale up takes between a few seconds and 5 minutes to complete
Scale up carried out after current requests complete
WebJobs stopped and re-provisioned on new instances
Demo - App Service Plan Quotas
Demo - Scaling Up to a New Pricing Tier
https://docs.microsoft.com/it-it/azure/azure-monitor/platform/autoscale-get-started
Azure App Service Plan Scale Out/In
Horizontal Scaling
App Service Plan pricing tier sets max
- Basic: 3 instances
- Standard: 10 instances
- Premium: 20 instances
- Isolated: 100 instances
• Scale across multiple plans with Azure Traffic Manager
Scale out manually
Scale out automatically with Autoscale
https://docs.microsoft.com/it-it/azure/azure-monitor/platform/autoscale-get-started
Azure App Service Plan Scale Out/In
Autoscale uses Azure Monitor
Metric-based autoscale
- CPU usage
- Memory usage
- Disk queue lenght
- Ingress and egress data
- Application Insights
Time-based autoscale
- Certain days and times each week
- Certain dates
Notifications by email or webhook
Thank you
Gaetano Paternò​
/tanopaterno
@tanopaterno
www.gaetanopaterno.it​
info@gaetanopaterno.it
/visualstudioitalia

Azure Meetup: Understanding Azure App Service Plan