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>
Most posts are for my own reference and reflection, and shouldn’t be taken as fully accurate or instructional.