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
질문됨 7달 전203회 조회
1개 답변
1
수락된 답변

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
전문가
답변함 7달 전
profile picture
전문가
검토됨 2달 전
  • Thank you for sharing your insights.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인