Amazon region SQS from EC2 instance

If I create an SQS queue from an EC2 instance without specifying a scope in the API call, what scope will the queue be created in.

When i started

boto.sqs.regions()

I get 4 areas from a non ec2 machine, I get

[RegionInfo:us-east-1, RegionInfo:eu-west-1, RegionInfo:us-west-1, RegionInfo:ap-southeast-1]

from an EC2 machine in the asia-pacific i get

[RegionInfo:us-east-1, RegionInfo:eu-west-1, RegionInfo:us-west-1]

Does Amazon determine the SQS region based on the region of the EC2 instance. Is there a way to access other regional queues?

I am using the Boto python library.

+3
source share
2 answers

boto , , US-EAST. boto python (1.9) - , , .

+2

?

, SQS, . US EAST, EU ASIA, .

:

, Amazon SQS Amazon EC2 , . , Amazon SQS Amazon EC2 , .

+1

Source: https://habr.com/ru/post/1762035/


All Articles