AWS Classroom Series – 06/Oct/2021

Creating free tier EC2 instances

  • Regions & Availability Zones Preview
  • Now lets create a windows machine (free tier eligible) in mumbai region Preview Preview Preview Preview Preview Preview
  • AWS ec2 instances doesnot support passwords, aws will use keys (RSA private and public keys) Preview Preview
  • The setup so far Preview
  • We have create a windows ec2 instance, windows server don’t understand private key pairs, So AWS Gives an option to generate password using private key Preview Preview Preview
  • To Connect to the windows ec2 instance use mstsc -v <public ip or dns name> Preview Preview Preview
  • Now lets try to create a linux ec2 instance (Amazon linux) with t2 micro in ap-south-1b AZ Preview Preview Preview
  • Now we can use the same keys for multiple instances, so lets use the same pem file generated above. Preview
  • To connect to linux instance, we can you ssh clients.
    • SSH-Clients are pre installed in Windows 10 +, linux, mac
    ssh -i <path to pemfile> username@publicip
    ssh -i ec2learning.pem ec2-user@13.233.36.39
    
    Preview
    • If you are using windows 7,8 please install git bash (refer system setup below)
  • Summary Preview
  • Terminate (Remove vms) instances after usage Preview

System Setup (Laptop)

  • System Setup for DevOps on your system (Windows): Refer Here
  • For Windows 10/11 users setup Windows Terminal Refer Here

Leave a Reply

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

About learningthoughtsadmin