aws - 使用 aws s3 并且设置外部可以访问 public access access denied

访问量: 212

好麻烦啊 。为啥要这么麻烦。

refer to: https://stackoverflow.com/questions/71080354/getting-the-bucket-does-not-allow-acls-error/73551886#73551886

@Rutger 's answer is correct, and now it's 2022, aws console has changed ( not a lot ,but some what ), so let me show the images:

1.assume you have created the s3 bucket, in the list page,

enter image description here

2.don't toggle the "block" options

enter image description here

3.find the ownership, then click edit.

enter image description here

4.edit the object owner ship (ACLs enabled) enter image description here

5.now the edit button for ACL is clickable.

enter image description here

6.toggle the permissions you want and save changes.

enter image description here

it's done, now you can upload images to s3 via commandline and then visit them in your browser:

enter image description here

订阅/RSS Feed

Subscribe