Export the created AMI image to an AWS S3 bucket is not permited, but it is free software

0

When I execute command:
aws ec2 export-image --image-id ami-04f516c --disk-image-format vmdk --s3-export-location S3Bucket=ami-export I had a returned error: An error occurred (InvalidParameter) when calling the ExportImage operation: Insufficient permissions - please verify bucket ownership and write permissions on the bucket. Bucket: ami-export I couldn't change the permissions. Can someone help me?

3개 답변
0

Hello. The error is not tied to your image, but to the destination bucket. You need to check the S3Bucket:

  1. Is a bucket that exists and that you have access to read and write. Remember that bucket names are global, so perhaps "ami-export" does exists, but is owned by other account.
  2. When you know you can manage permissions for the bucket, check as suggested in documentation here.

My suggestion is to create a new bucket for this process so you can configure permissions, encription and version control as you need.

Hope this helps.

Mauricio.

profile pictureAWS
답변함 일 년 전
0

I named bucket I created ami-export3, but I dont cant change permissions.

답변함 일 년 전
0

To assign permisions to the user that is executing the export you can follow this walkthrough. This explain process from bucket creation.

profile pictureAWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠