amazon s3 - What will happen if my bucket name is identical to another person's bucket when hosting website? -


let's both user_a , user_b want use s3 bucket host website.

  1. both of them create bucket named web in account in region us-west-2 under account

  2. both of them published index.html web bucket respectively aws s3 website s3://web/ --index-document index.html

  3. it seems both websites have following url http://web.s3-website-us-west-2.amazonaws.com, according http://docs.aws.amazon.com/cli/latest/reference/s3/website.html

each of them has followed should doing, don't know had name collision problem. how can avoid such situation?

amazon s3 bucket names globally shared (and must unique), wouldn't possible 2 users create bucket named "web". (see step 3 of create bucket guide)

the reason amazon , other object storage providers speculated on this other thread in case you're curious, hope helps answer question.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -