Create EC2 Server

Create EC2 Instances for App Tier

  1. Find and select the EC2 service. Git Bash

  2. Select Instances in the sidebar, then click Launch instances. Git Bash

  3. Name and tags fill in My App Server 1 Git Bash

  4. In the AMI section:

    • select Amazon Linux
    • AMI select Amazon Linux 2 AMI (HVM) Git Bash
  5. In the Key pair section, we choose Proceed without a key pair because we will connect the EC2 instance through AWS Systems Manager Session Manager. Git Bash

  6. In the Network settings section:

    • VPC select my-vpc
    • Subnet select Private Subnet 1
    • Auto-assign public IP select Enable
    • SG select Select existing security group
    • Common SG select AppTier-SG Git Bash
  7. In the Advanced details section, IAM instance profile select ec2role we created above Git Bash

  8. Click Launch instance Git Bash

  9. Complete creating EC2 instance for a server in AppTier in private subnet 1 Git Bash