Tag: AWS Regions

  • Listing AWS Regions using boto3 Python

    If you want to programmatically retrieve the AWS regions one of the best ways to do this is via Python boto3 package. In boto3, specifically the EC2 client, there is a function named describe_regions. This will retrieve the regions that are in AWS. See different uses of the describe_regions function below. Basic code for retrieving…