Cannot create a usable website bucket over s3 #742

Closed
opened 2024-03-01 03:20:46 +00:00 by olynch · 2 comments

When I make a bucket with aws s3 mb, it is assigned a local alias to my key, but the global name for the bucket is some long string. Specifically, when I run aws s3 mb s3://test-bucket, and then aws s3 website s3://test-bucket, I can't access https://test-bucket.blah.com because the bucket I made is not named test-bucket.

When I make a bucket with `aws s3 mb`, it is assigned a local alias to my key, but the global name for the bucket is some long string. Specifically, when I run `aws s3 mb s3://test-bucket`, and then `aws s3 website s3://test-bucket`, I can't access `https://test-bucket.blah.com` because the bucket I made is not named `test-bucket`.
Owner

This is an expected limitation of Garage in its current form. You should use an admin command to create a global alias with the same name for your bucket. Maybe in future versions we will allow CreateBucket to create global bucket aliases, but for now we do not allow it due to possible name conflicts that are not handled internally by Garage and could put the system in an inconsistent state.

This is an expected limitation of Garage in its current form. You should use an admin command to create a global alias with the same name for your bucket. Maybe in future versions we will allow CreateBucket to create global bucket aliases, but for now we do not allow it due to possible name conflicts that are not handled internally by Garage and could put the system in an inconsistent state.
lx closed this issue 2024-03-01 09:59:20 +00:00
Owner

Discussion is in #649

Discussion is in #649
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#742
No description provided.