Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon have deprecated Path-style URL access to S3 buckets #32

Open
shabbyrobe opened this issue May 4, 2019 · 2 comments
Open

Amazon have deprecated Path-style URL access to S3 buckets #32

shabbyrobe opened this issue May 4, 2019 · 2 comments

Comments

@shabbyrobe
Copy link
Collaborator

shabbyrobe commented May 4, 2019

An unfortunate announcement on the AWS Developer Forums started doing the rounds today:

Amazon S3 currently supports two request URI styles in all regions: path-style (also known as V1) that includes bucket name in the path of the URI (example: //s3.amazonaws.com//key), and virtual-hosted style (also known as V2) which uses the bucket name as part of the domain name (example: //.s3.amazonaws.com/key). In our effort to continuously improve customer experience, the path-style naming convention is being retired in favor of virtual-hosted style request format. Customers should update their applications to use the virtual-hosted style request format when making S3 API requests before September 30th, 2020 to avoid any service disruptions. Customers using the AWS SDK can upgrade to the most recent version of the SDK to ensure their applications are using the virtual-hosted style request format.

Virtual-hosted style requests are supported for all S3 endpoints in all AWS regions. S3 will stop accepting requests made using the path-style request format in all regions starting September 30th, 2020. Any requests using the path-style request format made after this time will fail.

I guess that means that the "easy mode" path-based workflow I've been incrementally adding support for is on the way out the door, so we should probably shift back to improving the experience for DNS-based workflows.

Is there any way we can emulate the virtual-host style thing in a way that is turn-key for devs (i.e. not requiring them to futz around with their DNS setup manually)?

@shabbyrobe shabbyrobe changed the title Path-style to be deprecated Amazon have deprecated Path-style URL access to S3 buckets May 4, 2019
@johannesboyne
Copy link
Owner

Just seen it as well. Good question in regards to the DNS setup. I'm only aware about mDNS and/or /etc/hosts changes. I'll take a further look as well.

@shabbyrobe
Copy link
Collaborator Author

shabbyrobe commented May 9, 2019

Amazon have responded to the feedback: https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/

Original Plan – Support for the path-style model ends on September 30, 2020.

Revised Plan – Support for the path-style model continues for buckets created on or before September 30, 2020. Buckets created after that date must be referenced using the virtual-hosted model.

This is a much friendlier deprecation plan! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants