How to check AWS region name from CLI

Check current availabe regions name
aws ec2 describe-regions

Check current availabe regions name with an endpoint
aws ec2 describe-regions --filters "Name=endpoint,Values=*us*"


Check current regions name only
aws ec2 describe-regions --query 'Regions[].{Name:RegionName}' --output text
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

1 comments: