📚 Course: AZD For Beginners | ⏱️ Duration: 2-3 hours | ⭐ Complexity: Advanced
This chapter covers enterprise-ready deployment patterns, security hardening, monitoring, and cost optimization for production AI workloads.
Validated against
azd 1.23.12in March 2026.
By completing this chapter, you will:
- Deploy multi-region resilient applications
- Implement enterprise security patterns
- Configure comprehensive monitoring
- Optimize costs at scale
- Set up CI/CD pipelines with AZD
| # | Lesson | Description | Time |
|---|---|---|---|
| 1 | Production AI Practices | Enterprise deployment patterns | 90 min |
- Multi-region deployment for resilience
- Managed identity for authentication (no keys)
- Application Insights for monitoring
- Cost budgets and alerts configured
- Security scanning enabled
- CI/CD pipeline integration
- Disaster recovery plan
graph LR
Gateway[API Gateway] --> AI[AI Service] --> Models[Microsoft Foundry Models]
Gateway --> Auth[Auth Service]
AI --> Data[Data Store]
graph LR
EventGrid[Event Grid] --> Functions[Functions] --> Pipeline[AI Pipeline]
// Use managed identity
identity: {
type: 'SystemAssigned'
}
// Private endpoints for AI services
properties: {
publicNetworkAccess: 'Disabled'
networkAcls: {
defaultAction: 'Deny'
}
}| Strategy | Savings |
|---|---|
| Scale to zero (Container Apps) | 60-80% |
| Use consumption tiers for dev | 50-70% |
| Scheduled scaling | 30-50% |
| Reserved capacity | 20-40% |
# Set budget alerts
az consumption budget create \
--budget-name "AI-Budget" \
--amount 500 \
--category Cost \
--time-grain Monthly# Stream logs
azd monitor --logs
# Check Application Insights
azd monitor --overview
# View metrics
az monitor metrics list --resource <resource-id>| Direction | Chapter |
|---|---|
| Previous | Chapter 7: Troubleshooting |
| Course Complete | Course Home |