Preparatory steps


  • The objective is to establish a Virtual Private Cloud (VPC) and subnet, along with a security group tailored for a Linux EC2 Instance.

  • Concurrently, an IAM (Identity and Access Management) User and IAM Role should be created.


  1. Create VPC and Subnet
  2. Create Security Group
  3. Create Linux EC2 Instance
  4. Create IAM User
  5. Create IAM Role
  6. Assign IAM Role