Skip to content

devopski/terraform_azure_vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Azure VM with Terraform

Ubuntu Server 20.04 VM created with Terraform on Azure Cloud. Public key needs to be added to main.tf file.

public_key = file("mykey.pub")

Then you can connect with your VM via SSH and private key:

ssh -i mykey adminuser@vm_public_ip

Additionaly Docker will be istalled on VM via remote exec.

SSH key pair generation

App Screenshot

Linux command for keypair generation

ssh-keygen -t rsa -f mykey

mykey.pub will be injected to VM
mykey will be used for SSH connection

About

Azure VM created via Terraform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages