ARM Templates contd
-
To deploy from cli
-
Ensure you have a resource group
-
Command
az deployment group create --resource-group 'armdemo' --name 'rollout1' --template-file ntier.json --parameters "@ntier.parameters.json"
- To install apache server
-
Ensure you have a resource group
#!/bin/bash
sudo apt update
sudo apt install apache2 -y
- Refer Here for changes
Azure Bicep
- Refer Here for official docs
- Refer Here for json vs bicep
- Lets create azure bicep to create vnet with some subnets
- Insall visual studio code extension Refer Here
- Create a new folder and add main.bicep
- Refer Here for bicep notation for vnet
- Refer Here for the basic bicep
- Lets try creating bicep for vnet, subnets, nic, public ip, vnet
- Refer Here
