Deploy Azure infrastructure with Bicep templates
8 steps · about 2 h 42 min · Intermediate
- Understand what Bicep adds over ARM JSON (reference, Microsoft Learn, 10 min)
Microsoft's overview explains declarative deployment and how Bicep compiles to ARM.
- Install the Bicep CLI and editor tools (reference, Microsoft Learn, 10 min)
Sets up Azure CLI, the Bicep CLI and the VS Code extension used in the rest of the path.
- Write and deploy a first Bicep file (tutorial, Microsoft Learn, 25 min)
Builds a virtual network and storage account with editor help and deploys it.
- Learn the Bicep file structure (reference, Microsoft Learn, 15 min)
Defines params, vars, resources and outputs and the order they appear in a file.
- Make one template serve dev and prod with parameters (reference, Microsoft Learn, 15 min)
Shows decorators, allowed values, secure params and parameter files.
- Split resources into reusable modules (reference, Microsoft Learn, 15 min)
Explains module syntax, scope and passing outputs between modules.
- Preview changes with what-if before deploying (reference, Microsoft Learn, 12 min)
What-if lists creates, modifies and deletes so a deploy holds no surprises.
- Practise in the Bicep fundamentals path (interactive, Microsoft Learn, 1 h)
Free hands-on modules with a sandbox for building and deploying real templates.