I have a list of EC2 instances in my AWS account. So how could I identify whether an instance is a EC2-Classic or is a EC2-VPC type of instance?
EC2-VPC instance will have VPC ID
and Subnet ID
attributes, the EC2-Classic one will not have it.
If you are using the dashboard, look for VPC ID
or Subnet ID
attribute. If using SDK/API, the VPC instances will have vpc_id
and subnet_id
attributes defined.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.