Sub topic 16
AWS Control Tower and landing zones
This chapter assumes you know AWS Organizations, OUs, SCPs, and IAM roles from the earlier chapters. You should also be comfortable running the AWS CLI.
What a landing zone is
A landing zone is a pre-configured, multi-account environment with a sensible baseline. It has a structure of OUs, shared accounts for logs and security, guardrails, and a repeatable way to create new accounts. You could build one yourself with the Organizations, SCP, and IaC techniques from earlier chapters. AWS Control Tower builds and maintains one for you.
What Control Tower sets up
When you launch a landing zone, you choose a home Region and the Regions to govern. Control Tower then creates the following in your organization:
- A Security OU holding two accounts: Log Archive and Audit.
- An organization-wide CloudTrail trail and AWS Config recorder that deliver to the Log Archive account.
- IAM Identity Center, configured for workforce sign-in.
- A set of controls applied to OUs.
Controls
A control is a rule that applies to every account in an OU. There are three types:
| Type | Mechanism | Effect |
|---|---|---|
| Preventive | SCP | Blocks the action |
| Detective | AWS Config rule | Reports non-compliance |
| Proactive | CloudFormation hook | Rejects non-compliant resources before deployment |
Controls can be enabled from the console or the API. This command enables a preventive control on an OU:
aws controltower enable-control \
--control-identifier arn:aws:controltower:eu-west-1::control/AWS-GR_RESTRICT_ROOT_USER \
--target-identifier arn:aws:organizations::999999999999:ou/o-exampleorgid/ou-examplerootid111-exampleouid111The command returns an operation identifier. Check its progress with aws controltower get-control-operation.
Account Factory
Account Factory is the supported way to create accounts in a landing zone. It applies the baseline, enrolls the account in an OU, and can be driven from Service Catalog, the console, or Account Factory for Terraform (AFT). For custom baselines, use AFT or Customizations for Control Tower rather than editing accounts by hand.
You can also enroll existing accounts. Move them into a registered OU, or use the enroll action. The account needs the AWSControlTowerExecution role so that Control Tower can manage it.
Gotchas
- Drift. Control Tower expects to own the structure. Moving accounts, editing its SCPs, or deleting its roles outside Control Tower causes drift. Fix it with the landing zone repair or re-register actions.
- Governed Regions. Control Tower governs only the Regions you select. Changing the home Region requires decommissioning the landing zone, so choose it carefully.
- Existing resources. Existing AWS Config recorders or CloudTrail trails can conflict with the baseline. Review them before enrolling an account.
- Quotas and time. Account creation and enrollment are slow, and operations run one at a time.
Control Tower or your own build
Choose Control Tower when you want a supported baseline quickly and can accept its structure. Build with Organizations and IaC when you need a structure Control Tower doesn't allow, or you already have a mature pipeline. Many teams combine the two and use AFT for customization.
Exercise
Someone moves a member account to a different OU directly in the Organizations console, outside Control Tower. What problem can this cause, and how do you resolve it?
Show answer
The account's OU no longer matches what Control Tower recorded, so it is out of sync (drift). The controls and baseline for the new OU may not apply. Resolve it by re-registering the OU, or by repairing the landing zone, so that Control Tower reconciles the account with its governed state.