Certopolis

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 AWSBackupOrganizationAdminAccess as well.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. A company runs 50 workload accounts in AWS Organizations. In each account, an AWS Backup plan takes a daily backup of the account's Amazon EFS file systems and keeps each recovery point for two weeks in a local vault. The management account has turned on cross-account backup, and a separate backup account contains an empty vault named central. A ransomware review requires that each daily recovery point is also held in the central vault for at least one year, so that an administrator who takes over a workload account cannot remove every copy. The two-week retention in the workload accounts must not change. Which combination of steps should a solutions architect take to meet these requirements? (Select TWO.)

    Right. In the game that’s Renown for your Resilience, Migration, and Business Continuity building.

    Not that one: B,E is right. In the game your Resilience, Migration, and Business Continuity building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Second, the copy must outlive its source: a copy carries the source recovery point's retention unless the copy action overrides it. A copy action with a 365-day retention gives each central copy its own lifetime, while the local recovery points keep expiring after two weeks as before.

    Written from docs.aws.amazon.com/aws-backup/latest/devguide/create-cross-account-backup.html

  2. A company keeps AWS Backup recovery points of its Amazon RDS databases in a standard backup vault in each workload account. A new resilience standard has two parts. Recovery points in the workload account's vault must be impossible to delete or to shorten before their retention ends, even for a principal that holds every IAM permission in that account. A second copy must be restorable from the company's recovery account without running any further copy job, so recovery can start even if the workload account is unusable. Which combination of steps should a solutions architect take to meet these requirements? (Select TWO.)

    Right. In the game that’s Renown for your Resilience, Migration, and Business Continuity building.

    Not that one: B,D is right. In the game your Resilience, Migration, and Business Continuity building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    For the second copy, standard vaults cannot be shared through AWS RAM and their backups can be restored only by the owning account, whereas a logically air-gapped vault can be shared through RAM and restored from directly in the account it is shared with.

    Written from docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html

  3. A company uses AWS Organizations and AWS Backup across 120 member accounts. Today, administrators sign in to the management account both to create and edit backup policies and to watch backup, copy and restore jobs from every account. The security team wants that work moved to a dedicated backup administration member account so that almost no one needs access to the management account. Backup administrators working in the new account must be able to monitor jobs across the organization and to create, edit and attach backup policies. Which solution will meet these requirements?

    Right. In the game that’s Renown for your Resilience, Migration, and Business Continuity building.

    Not that one: C is right. In the game your Resilience, Migration, and Business Continuity building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Managing backup policies is a further step: the management account must create an AWS Organizations resource-based delegation policy for backup policies, and the administrators' role needs the AWSBackupOrganizationAdminAccess managed policy, which is not attached automatically. With both in place, the team can do all of its work from the member account.

    Written from docs.aws.amazon.com/aws-backup/latest/devguide/manage-cross-account.html

Ask for something