Home > OS >  Have default s3.amazonaws.com to be on other region than us-east-1
Have default s3.amazonaws.com to be on other region than us-east-1

Time:11-18

So I am trying to debug something, I am not going to explain the problem as it would be too complex, but I would to confirm a part of AWS feature.

If I am in a region, let say us-west-1, an EC2 make a call to https://<mybucket>.s3.amazonaws.com/. So the default url (usually made for us-east-1), not specifying endpoint. Thanks to the routing, ca we redirect the url to be in the region of ca-central?

CodePudding user response:

It is not possible to modify the behaviour of the https://<mybucket>.s3.amazonaws.com/ URL.

However, Amazon S3 will lookup the location of the bucket and will forward the request to the region where the bucket resides.

  • Related