Skip to content

frasermolyneux-archive/virtual-machine-quickstarts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Machine Quickstarts

Worked examples of Bicep and Terraform virtual machine quickstarts. These can be used to show the differences between the tooling and approaches.


Terraform

https://learn.microsoft.com/en-us/azure/virtual-machines/linux/quick-create-terraform

Commands:

  1. terraform init
  2. terraform plan -out main.tfplan
  3. terraform apply main.tfplan
  4. terraform destroy

Bicep

https://learn.microsoft.com/en-us/azure/virtual-machines/linux/quick-create-bicep?tabs=CLI

Commands:

  1. az group create --name rg-foxtrot-mike --location eastus
  2. az deployment group create --resource-group rg-foxtrot-mike --template-file main.bicep --parameters adminUsername=vmaddy
    1. You'll also be prompted to enter adminPassword. The minimum password length is 12 characters.
  3. az group delete --name rg-foxtrot-mike

About

Worked examples of Bicep and Terraform virtual machine quickstarts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published