question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

List of available regions for a given service

See original GitHub issue

In boto there was a call to get a list of regions available to a given service. i.e. boto.cloudformation.regions(). I don’t see any sort of equivalent call in boto3. Am I missing something or is this related to https://github.com/boto/botocore/issues/339?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

15reactions
giuliocalzolaricommented, May 23, 2017

import boto3 boto3.session.Session().get_available_regions('ec2')

2reactions
shyampsunder2003commented, Jan 13, 2016

I have written a blog post on this. Someone might find it useful… https://inquisitiveindianspeaks.wordpress.com/2015/11/03/get-all-aws-regions-using-aws-cli-on-python/

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS Regional Services
AWS Managed Services Advanced Operations Plan is available in the following regions: US East (N. Virginia), US East (Ohio), US West (Oregon), ...
Read more >
AWS Regions List: What It Is and How We Fixed It | Trek10
AWS Regional Services List makes deploying projects in multiple regions difficult. Read about the tool our team created to fix the AWS Regions...
Read more >
Viewing available regions and zones - Google Cloud
The command lists all available regions and provides information such as quotas and the status of the region itself. Make a GET request...
Read more >
Products available by region - Microsoft Azure
View Azure products and features available by region. Azure makes it easy to choose the datacenter and regions right for you and your...
Read more >
Region Table
Services Offered: Beijing Ningxia Amazon API Gateway ✓ ✓ Amazon Athena ✓ ✓ Amazon Aurora ‑ MySQL‑compatible ✓ ✓
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found