Bucket names must be unique like domain names
-
I created a new free AWS account.
I followed the instructions at https://deliciousbrains.com/wp-offload-media/doc/amazon-s3-quick-start-guide/ …
* Created an IAM user.
* Applied AmazonS3FullAccess
* Copied access key strings, inserted the relevant code into the relevant place in wp-config.php
* In the plugin settings, elected to Create New BucketI was met with
Error saving bucket — Error Getting Bucket Region —There was an error attempting to get the region of the bucket {{BUCKETNAME}}: Access Denied
etc etcOn that page, all the plugin options were visible below the warning/notice.
debug.log was not logging at this point. Then I switched it on.
Tried again and got the same message. I checked my AWS console, and no buckets had been created.
I came back to the plugin and tried again but got a message about
BucketAlreadyExists
.None of this was logged to debug.log.
Process of elimination – bucket names must be unique on a global basis as they appear in the full domain URL.
Lesson learned.
When I used a name unique globally, the bucket could be created and new-image uploads are now flowing.
Either I’m not yet schooled enough in the ways of AWS, or maybe this could have done with a clarification upfront in the doc?
- The topic ‘Bucket names must be unique like domain names’ is closed to new replies.