What IAM Role permissions required to restore CMK encrypted EC2 instances ?

0

Hi there,
Apologies if this question has been answered earlier, unfortunately I am not able to locate it easily :(
When I try to restore an EC2 instance that has been backed up by AWS Backup, it fails with error "Client.InternalError: Client error on launch"
Looks like it is an encryption issue...
The following are the details:

  1. The EC2 instance being backed up has been setup with Volume(s) that are encrypted with Customer Managed Keys (CMK)
  2. We provided full KMS permissions for the role (not my preferred option, but just to test the restores)
  3. The restores attempts terminates the target EC2 instance almost immediately on launch of the restore operation with the error "Client.InternalError: Client error on launch"
    Note: I tested the backup and restore of the EC2 instance with unencrypted volume(s) and it completed successfully
    Please provide guidance to complete restores for EC2 instances setup with CMK
    Thank you,
    Shyam
shyamk
질문됨 4년 전320회 조회
1개 답변
0

Issue was caused by the KMS CMK key policy, it has been resolved after providing grant to the backup role

shyamk
답변함 4년 전

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

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

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

관련 콘텐츠