Lesson 6 of 7 Multi-Account Strategy and Governance

Automating the Account Lifecycle from Request to Closure

This lesson explains how accounts are requested, created with a baseline, moved between OUs as workloads mature and eventually closed, with each stage automated and governed to avoid gaps and dangling resources.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe how accounts are requested and created as code.
  • Explain the consequences of moving, closing and removing accounts.
  • Decommission accounts without leaving dangling references.

Account vending as code

Accounts should be requested, not hand-built. An account request records the owner, cost centre, environment and purpose, and a vending process, Control Tower Account Factory, Account Factory for Terraform (AFT) or Account Factory customisations, creates the account in the right OU. The baseline is then applied automatically: logging and AWS Config, guardrails inherited from the OU, network access through RAM shares, security services enrolled by their delegated administrators, and budgets and tags for cost allocation.

Because the request is code or a catalogued product, it is reviewed and versioned like any other change, and the record of why each account exists is kept with it. This matters later, when an account must be moved, re-owned or closed, and someone needs to know who is responsible for it.

Moving, closing and removing accounts

Three account actions have consequences that are easy to overlook. Moving an account to another OU takes effect immediately: the account inherits the new OU's SCPs, RCPs and management policies at once. A move into a stricter OU can therefore break running workloads, so the target OU's guardrails should be tested first. Closing a member account suspends it for 90 days, during which it can be reopened through Support, after which it is closed permanently. Its resources stop working, and a quota limits how many accounts can be closed in a rolling 30-day window.

Removing an account from the organisation makes it standalone. It loses organisation policies and consolidated billing, so it needs its own payment method and support plan, and organisation-wide CloudTrail and Config no longer cover it. The following table summarises the actions.

ActionWhat happensWatch for
Move to another OUThe account immediately inherits the new OU's SCPs, RCPs and management policiesTest the target OU's guardrails first; a move to a stricter OU can break running workloads
Close a member accountThe account is suspended for 90 days, can be reopened through Support in that time, then is closed permanentlyResources stop working; a quota limits how many accounts can be closed in a rolling 30-day window
Remove from the organisationThe account becomes standalone and loses organisation policies and consolidated billingIt needs its own payment method and support plan; organisation-wide CloudTrail and Config stop covering it

Decommissioning safely

Closing an account carelessly leaves dangling references elsewhere: transit gateway attachments, RAM shares, DNS records and cross-account trust relationships that point at an account that no longer behaves as expected. A safe decommissioning process first moves the account to a Suspended OU whose SCP denies everything except a clean-up role, so nothing new can be created while the account is wound down.

The clean-up then removes network attachments, RAM shares, DNS records and the trust relationships that other accounts have with it, and archives any data that must be retained to the log archive or backup accounts. Only then is the account closed. Like vending, decommissioning is best automated as a pipeline, so every account is closed the same way and nothing is forgotten.

Worked example

A company closes several sandbox accounts each month by hand. Afterwards, the networking team finds orphaned transit gateway attachments and Route 53 records pointing at resources that no longer exist, and one account was closed while still holding data that had to be retained.

The answer is to automate decommissioning: a request moves the account to a Suspended OU whose SCP blocks new activity, a Step Functions workflow archives required data to the backup account, removes attachments, shares and DNS records, and only then closes the account. The same discipline that vends accounts as code now retires them.

Check yourself

What happens to a member account after it is closed?

Show answer

It enters a 90-day post-closure period during which it can be reopened; afterwards the account and its content are permanently deleted. Data should be exported and resources removed before closing it.

Exam Tips

Remember for the exam

  • Vend accounts with Account Factory or AFT so every account gets the same baseline.
  • Moving an account between OUs changes its effective SCPs immediately.
  • Closed accounts stay suspended for 90 days and can be reopened during that time.
  • Use a Suspended OU with a deny-all SCP for accounts awaiting closure.
  • Automate decommissioning to remove attachments, shares and DNS records before closure.