Need Assistance Fetching AWS Global Accelerator Lists Using Boto3

0

Hello everyone,

I am currently working on fetching the accelerator lists from my AWS account using the Boto3 library. While I understand that AWS Global Accelerator is a global service, I find that the function requires the specification of a region, even though the service is not region-specific. As a workaround, I am using "us-west-2" as a placeholder, but I'm curious if there is a more appropriate or recommended approach for this scenario.

Could anyone please shed light on why the AWS Global Accelerator service, despite being global, requires a region to be specified when using Boto3? Additionally, I would appreciate any insights or best practices related to this matter.

Thank you in advance for your assistance and guidance.

Vignesh
asked 6 months ago187 views
1 Answer
1
Accepted Answer

Hello.

The requirement to specify the "us-west-2" region is also stated in the documentation.
This is by design, so please specify the "us-west-2" region.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/globalaccelerator.html

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

Could anyone please shed light on why the AWS Global Accelerator service, despite being global, requires a region to be specified when using Boto3?

Although AWS has not officially announced this, we suspect that the control plane of AWS Global Accelerator will be located in the "us-west-2" region.
https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/control-planes-and-data-planes.html

profile picture
EXPERT
answered 6 months ago
profile picture
EXPERT
reviewed a month ago
  • Thank you for sharing your insights.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions