The fourth lab is a demo of how we can quickly deploy 75 servers to Azure.
Note: Executing the cmdlet's below will result in 75 Standard_B1s servers being deployed in your environment. If you have not requested a vCPU quota increase on your subscription for Standard BS Family vCPUs this will not complete successfully.
Create the Azure Resource Group for lab 4 and start an ARM Template Deployment from Azure Cloud Shell.
- Create the Resource Group
rg-lab-4
New-AzResourceGroup -Name 'rg-lab-4' -Location 'eastus2'
- Create the ARM Deployment
New-AzResourceGroupDeployment -ResourceGroupName 'rg-lab-4' -TemplateUri https://raw.githubusercontent.com/softchoice-corp/DevOpsBootcamp/master/lab_4/75serversolution.deploy.json -Verbose
To mimimize billing usage in your subscription we can remove all of the resources we deployed with GitHub Actions by deleting the Resource Group they are held in. From Azure Cloud Shell run the following command:
az group delete --name rg-lab-4