AWS – S3 开启Public Access
打开S3的Public Access需要在permission栏目,做以下的东西
– 关掉block all public access
– 加上bucket policy
需要在ARN后面加上 /*
{
"Version": "2012-10-17",
"Id": "Policy1711954335040",
"Statement": [
{
"Sid": "Stmt1711954333495",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::tt4tt1/*"
}
]
}
大众登入S3 Bucket权限
IAM User登入S3 Bucket权限
EC2使用IAM Role登入S3 Bucket权限
跨AWS户口登入S3 Bucket权限
Facebook评论