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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With