I am getting error while exporting the ec2 image to OVA/OVF

0

Error:- "An error occurred (InvalidParameter) when calling the ExportImage operation: The service role vmimport provided does not exist or does not have sufficient permissions"

I am trying to export this image and use it in my Mac mini M1. And we have used ARM architecture in EC2. So we are getting these errors while exporting the AMI image using CLI. We have given the administrator permission to RELATED USER AND ROLE. We have used the A1 family process in EC2.

Command we have used:- "aws ec2 export-image --image-id ami-id --disk-image-format VMDK --s3-export-location S3Bucket=my-export-bucket,S3Prefix=exports/"

And we have given s3 Object Ownership = Object writer and Enable ACL to the bucket

Please help me to find the solution.

Link:- https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-troubleshooting.html

2개 답변
2

Hello,

Please check the link and make sure that the vmimport role has proper trust relationship and policies

Hope this helps.

AWS
지원 엔지니어
Vinay_S
답변함 일 년 전
1

Have you created the service roles described in the following documents?
https://docs.aws.amazon.com/vm-import/latest/userguide/required-permissions.html

profile picture
전문가
답변함 일 년 전

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

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

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

관련 콘텐츠