List subnets and their attributes.
Section: VPC, Subnets, and Security Groups
Describe subnets
bash
bash
aws ec2 describe-subnetsExplanation
Useful for selecting subnet placement during launches.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing VPC, Subnets, and Security Groups