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
demandé il y a 7 mois205 vues
1 réponse
2
Réponse acceptée

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
répondu il y a 7 mois
profile picture
EXPERT
vérifié il y a 9 heures
profile picture
EXPERT
vérifié il y a 2 mois
  • Thank you for sharing your insights.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions