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
preguntada hace 7 meses205 visualizaciones
1 Respuesta
2
Respuesta aceptada

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
EXPERTO
respondido hace 7 meses
profile picture
EXPERTO
revisado hace 6 horas
profile picture
EXPERTO
revisado hace 2 meses
  • Thank you for sharing your insights.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas