1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Yes, the following IAM policy is required to execute that command.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": "*"
}
]
}
To execute that command, follow the steps in the following document to create an IAM role for EC2.
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html#roles-creatingrole-service-console
Follow the procedure in the following document to set up an IAM role on EC2.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#attach-iam-role
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전