amazon-web-servicesamazon-ec2vpcstarcluster

How can I tell if an EC2 instance is inside my VPC?


My client has many EC2 instances running, and a VPC (virtual private cloud) running.

I'm using a platform called Starcluster to launch nodes, and I need to know if they're in the VPC or just ordinary EC2 nodes. How can I do that?

Amazon's VPC console at this address: https://console.aws.amazon.com/vpc/home?region=us-east-1

shows:
1 VPC
3 Running Instances

but some of those running instances are non-VPC instances, as far as I know. Hints?


Solution

  • On AWS Console you can see it. Just like below:

    enter image description here