Create an AWS EC2 Instance and run some AWS CLI Commands

Lab Details

  1. This Lab walks you through the steps to create an EC2 instance and run a few AWS CLI Commands.

  2. Duration: 45 minutes

  3. AWS Region: US East (N. Virginia) us-east-1

Architecture Diagram

Task Details

  1. Log into the AWS Management Console.

  2. Create an IAM Role

  3. Launch an EC2 instance.

  4. SSH into the EC2 Instance.

  5. AWS CLI Command to create a KeyPair.

  6. AWS CLI Command to create a Security group.

  7. AWS CLI Command to create an EC2 Instance.

  8. View the EC2 instance.

  9. AWS CLI Command to terminate the EC2 instance.