Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to allow EC2 servers based in us-east-1 to read content from a bucket in us-west-2.

Every time I try I get a "The Bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint"

Is it actually possible to allow such thing, or are s3 buckets locked up to one region?

share|improve this question
1  
can you post which tool you use to access the buckets and the exact address ? Guessing from the error you need to provide the right endpoint. Example for us-west-2 you should use something like that bucket_name.s3-us-west-2.amazonaws.com –  golja Nov 27 '12 at 0:53
    
I am using CloudFormation to access that bucket. i have something like this in my configs "Resource": "arn:aws:s3:::my-bucket-name/*" –  Martin Nov 27 '12 at 22:42
add comment

1 Answer

up vote 3 down vote accepted

All buckets are reachable by using the s3.amazonaws.com endpoint. When you use this endpoint, if the bucket is in a non-Standard US region, then you will be redirected to the correct endpoint. This is the only region/endpoint where this trick works.

If the bucket is in the Standard US region, then you must use the s3.amazonaws.com endpoint. None of the other regional endpoints will work.

If you use the correct endpoint for your bucket, you can access the bucket from any region.

Please see http://docs.amazonwebservices.com/general/latest/gr/rande.html#s3_region for full S3 Region explainations.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.