Skip to content

Provisioning an high availability Azure Virtual Machines cluster using Terraform

License

Notifications You must be signed in to change notification settings

mondora/terraform-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Azure Service Principal

az login

az account set --subscription="<Azure Subscription Name>"

az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<Azure Subscription ID>" -n Terraform --years 100

User Azure Service Principal create command output to fill value in run.sh

Create new SSH Key

ssh-keygen -b 4096

Fill in demo.tfvars "key_data" with new ssh key public key

Inizialise Terraform

terraform init

Check variable in demo.tfvars

Provision infrastracture

chmod u+x run.sh 

./run.sh

About

Provisioning an high availability Azure Virtual Machines cluster using Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published