In this section, we will describe the specific steps required to launch an EC2 instance into our private subnet. For general steps, refer to the General steps for launching an EC2 instance and doing SSH section of this recipe. Follow these steps:
- Go to the EC2 dashboard and click on Instances from the left sidebar.
- Click on the Launch Instance button at the top of the page, select Amazon Linux 2 AMI, set Type to t2.micro, and click Next: Configure Instance Details.
- Within the Configure Instance Details page, for the Network option, select our custom VPC. For Subnet, select our private subnet. Leave the option for Auto-assign Public IP to Use subnet setting, which has a value of Disable for our ...