Check Whether an AWS VPC is Being Used

April 23, 2025 note-to-self k8s docker

If you need to check whether a VPC is being used -- you do not want to delete a VPC if it is being used, you can double-check it with this command:

aws ec2 describe-network-interfaces --filters Name=vpc-id,Values=<vpc-id>
These posts are for my own understanding. Reader beware. Info may be wrong but it reflects my current understanding.