A first project using declarative infrastructure to provision and host a static website on Azure.
Overview
The goal of this project was to get hands-on experience with Infrastructure as Code by writing an Azure Bicep
template to provision a real cloud resource. I used Bicep to define an Azure Storage Account with Static Website
hosting enabled, then deployed it using the Azure CLI — turning this page into the end result.
What I Learned
IdempotencyRunning the same Bicep template multiple times has no side effects. If the resources already exist in the desired state, Azure does nothing.
Declarative InfrastructureRather than scripting each step, Bicep lets you describe the desired end state and Azure handles provisioning. It shifts the focus from how to what.
Bicep Building BlocksWorking with parameters, variables, resource type strings, and API versions to define cloud resources in a structured, readable format.
Azure CLIUsing az deployment group create to deploy templates, inspect output, and manage resource groups from the terminal.