To create E2C instances in the private subnet, follow these steps:
- Select an Amazon Linux AMI.
- Create a t2.micro instance within your My_VPC and Private_Subnet.
- Add a tag of Name with a value of Private_Instance.
- Select the Private_Security_Group security group when prompted to select a security group in step 6.
- Accept all other defaults.
- Download a new key pair.
We'll now follow the same process for our public subnet.