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!)

已提问 2 年前239 查看次数
1 回答
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
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则