S3 bucket revamp/re-org

0

We are attempting to create an internal structure across our entire team on what buckets to use when. In order to do this, we need to restructure our buckets and which buckets/folders within those buckets files are in. Is there a way to do this without breaking all the links? (important info: I am VERY new to S3 and all things web storage. I tried to look through the training center and pretty much everything is over my head!)

1 Answer
0

Since you mention "links" and not "keys", I'm gonna assume you are hosting static website content on the bucket and need to be able to shift objects around without breaking compatibility.

Advanced Conditional Redirects should do what you're after. The first two example in this page will probably do exactly what you need when moving objects inside the same bucket.

When you are going cross-bucket, only object-level 301 redirects are supported, via the x-amz-website-redirect-location metadata property. Examples in the same page above.

Hope this helps!

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions