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
feita há 7 meses203 visualizações
1 Resposta
1
Resposta aceita

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
ESPECIALISTA
respondido há 7 meses
profile picture
ESPECIALISTA
avaliado há 2 meses
  • Thank you for sharing your insights.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas