Azure Virtual Machine Creation
- Key Based Authentication:
- Key pair:
- public key
- private key
- Key pair:
- Login into Azure Portal Refer Here
-
To generate the key execute
ssh-keygen
on terminal
-
Upload your public key to Azure (import)
-
Create virtual machine
- SSH Login
ssh -i <path to private key> <username>@<ipaddress>
ssh -i ~/.ssh/id_rsa Dell@104.211.217.192
- Clean up: Delete Resource Group
AWS Virtual Machine (EC2) Creation
- Free Plan: Size t2.micro or t3.micro
- Login into AWS Console Refer Here and Navigate to ec2
-
Key pair import
-
Create a ec2 instance (vm)
- Try connecting to ec2 instance
- Command
ssh -i ~/.ssh/id_rsa ubuntu@43.205.243.12
- Clean up: Terminate instance