0
0
Azurecloud~30 mins

Blueprint for environment setup in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Blueprint for environment setup
📖 Scenario: You are working as a cloud engineer for a company that wants to standardize its Azure environment setup. They want to create a blueprint that defines the basic resources needed for a development environment. This blueprint will help the team quickly deploy consistent environments with the same settings.
🎯 Goal: Build an Azure Blueprint JSON that defines a resource group and a storage account with specific configurations. This blueprint will be the foundation for environment setup automation.
📋 What You'll Learn
Create a blueprint definition with a name and description
Add a resource group artifact with a fixed location
Add a storage account artifact with specific SKU and kind
Include parameters for resource group name and storage account name
💡 Why This Matters
🌍 Real World
Azure Blueprints help organizations automate and standardize environment setups, ensuring consistency and compliance across multiple deployments.
💼 Career
Cloud engineers and architects use blueprints to speed up environment provisioning and reduce manual errors in cloud infrastructure setup.
Progress0 / 4 steps
1
Create the basic blueprint definition
Create a JSON object called blueprint with these exact properties: "name": "dev-environment-blueprint" and "description": "Blueprint for development environment setup". Also include an empty "parameters" object and an empty "resourceGroups" object.
Azure
Need a hint?

Start by defining the main JSON object with the required keys and empty objects for parameters and resourceGroups.

2
Add parameters for resource group and storage account names
Add two parameters inside the parameters object: resourceGroupName and storageAccountName. Both should have "type": "string" and a "defaultValue" of "dev-rg" and "devstorage" respectively.
Azure
Need a hint?

Define parameters as objects with type and defaultValue inside the parameters object.

3
Add a resource group artifact with fixed location
Inside the resourceGroups object, add a resource group named devResourceGroup with a location property set to "eastus". Use the parameter resourceGroupName for the resource group's name property.
Azure
Need a hint?

Use the parameter function syntax to reference the resourceGroupName parameter for the resource group's name.

4
Add a storage account artifact inside the resource group
Inside the devResourceGroup object, add a storageAccount artifact with these exact properties: "type": "Microsoft.Storage/storageAccounts", "name": "[parameters('storageAccountName')]", "sku": { "name": "Standard_LRS" }, and "kind": "StorageV2".
Azure
Need a hint?

Define the storage account as a nested object inside the resource group with the required properties.