AWS Certified Solutions Architect – Professional
AWS Backup Vault Lock and cross-account copies (SAP-C03)
The AWS Backup guide says a cross-account copy needs cross-account backup enabled from the management account and a destination vault whose access policy allows backup:CopyIntoBackupVault. Vault Lock in compliance mode makes a vault immutable once its grace time ends. A lock in governance mode can be removed by users with sufficient IAM permissions.
Backup policies: one plan for every account
A backup policy is an AWS Organizations policy that holds a whole backup plan as JSON: frequency, backup window, Region, vault, the resources to select by tag, and the IAM role. You attach it to the root, an organizational unit (OU) or an account. Organizations combines the inherited policies into one effective policy per account.
In each account the effective plan appears in the AWS Backup console as an immutable plan. Users in the account can view it but not change it. If the combined policy is missing a required element, AWS Backup treats it as not valid and does not back up the affected resources, so AWS suggests making each policy complete by itself.
Cross-account and cross-Region copies
Both accounts must be in the same organization. Cross-account backup is switched on with the management account's credentials. The destination vault's access policy must allow backup:CopyIntoBackupVault; without it the copy is denied, and any other cross-account action on the vault is rejected. The source role needs backup:CopyFromBackupVault and backup:CopyIntoBackupVault.
The destination cannot be the default vault, because its key cannot be shared with other accounts. AWS Backup re-encrypts the copy with the destination vault's key. The first copy is full, and later copies to the same vault are incremental where the service supports it. Backups in cold storage cannot be copied.
A copy keeps its source's creation date and retention period unless you override the retention. A copy set to never expire still takes the source recovery point's expiration date. To outlive the source, give the copy its own retention. A copy of a continuous backup becomes a snapshot and loses point-in-time restore.
Vault Lock: governance mode vs compliance mode
Vault Lock stops deletion of recovery points and changes to their lifecycle in the locked vault, including by the root user. Optional minimum and maximum retention periods make new backup and copy jobs fail if they do not conform. Recovery points already in the vault are not affected by those limits.
Governance mode is for control by designated staff: users with sufficient IAM permissions can remove the lock. Compliance mode starts with a grace time of at least 3 days, during which the lock can still be changed or removed. After that the vault and its lock cannot be changed or deleted by any user or by AWS while it holds recovery points.
Check retention before the grace time ends. A recovery point set to be kept always in a compliance-mode vault is kept forever.
Logically air-gapped vaults and delegated administration
A logically air-gapped vault is always locked in compliance mode. It is encrypted with an AWS owned key by default or a customer managed key, and its backups are stored in an account owned by the AWS Backup service. It can be the copy destination in a backup plan.
It is the vault type that can be shared through AWS Resource Access Manager (AWS RAM). Sharing is with individual account IDs only, in the same organization or another one, and the shared account can restore directly from the vault. A standard vault is not compatible with AWS RAM, and its backups are restored by the account that owns it.
Delegated administration takes two steps. Registering a member account as an AWS Backup delegated administrator, from the management account, lets it monitor jobs across the organization. Managing backup policies from that account also needs a resource-based delegation policy created in Organizations and the AWSBackupOrganizationAdminAccess managed policy on the administrators' roles. That policy is not attached automatically.
Where the exam catches people
- Believing a copy action is enough for a cross-account copy: the destination vault's access policy must allow
backup:CopyIntoBackupVault, and the management account must enable cross-account backup. - Believing another account's default vault can receive copies: the default vault cannot be a cross-account destination.
- Believing a copy set to never expire outlives its source: it keeps the source's expiration date unless the copy has its own retention.
- Believing governance mode stops a fully privileged user: users with sufficient IAM permissions can remove a governance-mode lock.
- Believing a registered delegated administrator can edit backup policies: that needs the Organizations delegation policy and
AWSBackupOrganizationAdminAccessas well.