Tag: Regions

  • What regions will the AWS Price List API work?

    I tried accessing the AWS Price List API using the Singapore region (ap-southeast-1) but it resulted the error Could not connect to the endpoint URL: "https://api.pricing.ap-southeast-1.amazonaws.com/". But whenever I use the N. Virginia Region (us-east-1) it works without any issues.

  • 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 […]