AWS Backup cross-account copy and Vault Lock modes
The AWS Backup Developer Guide says a cross-account copy needs both accounts in the same organization in AWS Organizations, the feature enabled from the management account, and a destination vault policy that allows backup:CopyIntoBackupVault. Vault Lock then blocks deletion: governance mode can be removed with IAM permissions, compliance mode becomes immutable after its grace time.
What does a cross-account copy need?
The source and destination accounts must belong to the same organization. Cross-account backup has to be enabled first, and only the management account's credentials can enable or disable it.
The destination account needs a backup vault whose access policy allows backup:CopyIntoBackupVault. Without that statement, copies into the vault are denied. The role in the source account needs backup:CopyFromBackupVault and backup:CopyIntoBackupVault; the managed policy AWSBackupServiceRolePolicyForBackup includes both.
If the source resources are encrypted with a customer managed key, that key must be shared with the destination account. AWS Backup re-encrypts the copy with the destination vault's key.
What can and cannot be copied?
AWS Backup does not support cross-account or cross-Region copies of backups stored in cold tiers. A recovery point has to be copied while it is still in warm storage.
The first copy of a backup to a new account or a new Region is a full copy. Where the service supports incremental backups, later copies to the same destination are generally incremental. For Amazon EBS, copying to a vault that uses a different KMS key results in a full copy.
How do the two Vault Lock modes differ?
A locked vault denies any attempt to delete a backup or change its lifecycle, including attempts by the root user. Backups stay until their retention period ends. Each vault can have one lock.
In governance mode, users with sufficient IAM permissions can remove the lock. In compliance mode, the lock has a grace time of at least 3 days. During the grace time you can remove the lock with DeleteBackupVaultLockConfiguration or change it with PutBackupVaultLockConfiguration. After the grace time, no user and not AWS can change or delete the vault or the lock while the vault contains recovery points.
The API decides the mode by one parameter: including ChangeableForDays creates a compliance-mode lock, and omitting it creates a governance-mode lock.
A lock can set a minimum and a maximum retention period. New backup and copy jobs into the vault fail if their retention does not conform. The limits do not apply to recovery points that were already in the vault.
Where the exam catches people
Copying backups to an account outside the organization: source and destination must belong to the same organization in AWS Organizations.
Scheduling the cross-account copy after the move to cold storage: AWS Backup does not copy backups stored in cold tiers.
Believing a compliance-mode lock is fixed the moment it is created: it can be changed or removed until its grace time ends.
Believing governance mode stops every user: users with sufficient IAM permissions can remove a governance-mode lock.
Expecting a small first copy to a new Region: the first copy to a new Region or account is a full copy.