Reputation: 52498
When starting an EC2 from an image in AWS Marketplace, it requests Subnet Settings:
And says:
Ensure you are in the selected VPC above
It gives 2 options:
I am not sure what this means.
Is it asking me to identify which AWS "subnet" (in this case either ap-southeast-2b
or ap-southeast-2a
) that my laptop is currently in, and tell AWS via this drop down? I don't understand why it would want this information, nor what to give it. I've used thousands of EC2s and never needed to specify anything more granular than region
. But today I am starting the EC2 from a marketplace image and it requires this additional information.
Upvotes: 0
Views: 709
Reputation: 238517
Whenever you are launching an instance, you have to choose a VPC and a subnet. When you launch your instance, usually a default VPC with default subnets are pre-selected.
The default VPC and subnets are usually public, which makes your instances accessible from the internet. Often, for security reasons, it may not be desired. In that case a custom VPC and/or subnets are created. This allows you to create private subnets shielded from direct access from the internet. One such architecture is VPC with public and private subnets (NAT).
The NAT in the above setups allows instances in private subnets to access internet, without allowing direct access to the instances from the internet.
Upvotes: 3