AWS Classroom Series – 02/Dec/2020

AWS CLI Contd…

  • Write an aws cli based script to create an ec2 instance with ubuntu ami in subnet with az a and one ec2 instance with windows ami in subnet with az b
  • Refer Here for the script written in the class room.
  • Now lets try to login into ec2 instances
    • Lets fetch instance id from ami id
    • Lets fetch public ip
    • construct a ssh query
    • get windows password
    • delete ec2 instances
    • delete key pair
    • delete security group
  • Refer Here

Leave a Reply

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

About learningthoughtsadmin