📚 Course: AZD For Beginners | ⏱️ Duration: 1-1.5 hours | ⭐ Complexity: Intermediate
This chapter covers Infrastructure as Code (IaC) patterns with Bicep templates, resource provisioning, and deployment strategies using Azure Developer CLI.
Validated against
azd 1.23.12in March 2026.
By completing this chapter, you will:
- Understand Bicep template structure and syntax
- Provision Azure resources with
azd provision - Deploy applications with
azd deploy - Implement blue-green and rolling deployment strategies
| # | Lesson | Description | Time |
|---|---|---|---|
| 1 | Provisioning Resources | Azure resource management with AZD | 45 min |
| 2 | Deployment Guide | Application deployment strategies | 45 min |
# Initialize from template
azd init --template azure-functions-python-v2-http
# Preview what will be created
azd provision --preview
# Provision infrastructure only
azd provision
# Deploy code only
azd deploy
# Or both together
azd upmy-project/
├── azure.yaml # ← Project definition
├── infra/ # ← Infrastructure as Code
│ ├── main.bicep # Entry point
│ ├── main.parameters.json
│ └── modules/ # Reusable components
│ ├── web.bicep
│ └── database.bicep
└── src/ # Application code
└── api/
| Command | Description |
|---|---|
azd init |
Initialize project |
azd provision |
Create Azure resources |
azd deploy |
Deploy application code |
azd up |
provision + deploy |
azd down |
Delete all resources |
| Direction | Chapter |
|---|---|
| Previous | Chapter 3: Configuration |
| Next | Chapter 5: Multi-Agent Solutions |