Error "create multi-volume snapshots of instance i-123456789 failed" may occur during backup
You might see this error in the cpm server logs or the UI Alerts when running backups in CPM 3.0 and above:
create multi-volume snapshots of instance i-123456789 failed. Error: You are not authorized to perform this operation. Encoded authorization failure message: abc-IbEpyyS9hdEilkj-GR1Zsv8O3Atm7TTAwqDrTUbOemMBTrKV1ut59JVZJUfNatIn70zRFyoRvg.....(UnauthorizedOperation)
In version 3.x we are using a new API to take snapshots and the most common issue for the above error is the lack of permissions.
You need to make sure that you have used the latest JSON template attached to our Kb article:
- What are the required minimal AWS permissions/roles for CPM operation?
Check that the CPM role is allowed for these two permissions: ec2:CreateSnapshots and ec2:CreateSnapshot
If the problem still persists, then another option is to decode the encoded message in the error (Encoded authorization failure message:)
You can use the following AWS CLI command to decode the encoded message (which originate from AWS)
- aws sts decode-authorization-message --encoded-message <encoded message>