Grooming Classroomnotes 04/Apr/2023

Azure Virtual Machine Creation

  • Key Based Authentication:
    • Key pair:
      • public key
      • private key
  • Login into Azure Portal Refer Here
  • To generate the key execute ssh-keygen on terminal
    Preview
  • Upload your public key to Azure (import)
    Preview
    Preview
    Preview
  • Create virtual machine
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • SSH Login ssh -i <path to private key> <username>@<ipaddress>
ssh -i ~/.ssh/id_rsa Dell@104.211.217.192

Preview
Preview

  • Clean up: Delete Resource Group
    Preview

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
    Preview
    Preview
    Preview
  • Create a ec2 instance (vm)
    Preview
    Preview
    Preview
    Preview
  • Try connecting to ec2 instance
    Preview
  • Command ssh -i ~/.ssh/id_rsa ubuntu@43.205.243.12
    Preview
  • Clean up: Terminate instance
    Preview

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner