Show available regions from EC2.
Section: Common Cross-Service Recipes
List AWS regions
bash
bash
aws ec2 describe-regions --query 'Regions[].RegionName' --output textExplanation
Handy for scripts that validate or enumerate regions.
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 Common Cross-Service Recipes