Sub topic 16
AWS Control Tower and landing zones
This chapter assumes you know AWS Organizations (management account, OUs, member accounts), service control policies (SCPs), IAM roles, and the basics of AWS CloudFormation and AWS Config. Earlier chapters showed how to build an organization by hand and by code. Control Tower packages many of those steps into a managed service. The goal here is to understand what it builds, how its controls work, and when to choose it over your own automation.
What Control Tower is
AWS Control Tower sets up and governs a multi-account environment on top of AWS Organizations. It gives you a landing zone, which is a pre-configured, secure multi-account environment, and a catalog of controls, which are pre-packaged governance rules.
Control Tower does not replace Organizations. It uses Organizations, IAM Identity Center, AWS Config, AWS CloudTrail, AWS CloudFormation and AWS Service Catalog to create resources in your accounts. You can still see the organization, OUs and SCPs in the Organizations console. The difference is that Control Tower owns some of those resources and expects them to stay as it created them.
What a landing zone contains
When you launch a landing zone from the management account, you choose a home Region, optionally more governed Regions, and a few settings. Control Tower then creates the following.
- Two OUs. A
SecurityOU and, depending on your choices, aSandboxOU. The Security OU holds the shared accounts below. - Log Archive account. Stores the organization-wide CloudTrail and AWS Config logs in Amazon S3.
- Audit account. Used by your security and compliance teams to review the environment. It receives notifications and has read access to the other accounts.
- Organization trail. A CloudTrail trail that records activity for every enrolled account.
- AWS Config setup. A configuration recorder and aggregator that track resource configuration and evaluate detective controls.
- IAM Identity Center. A default directory and permission sets for workforce access, unless you bring your own identity source.
- Baseline controls. Mandatory preventive and detective controls applied to the organization.
The management account is not a workload account. Keep workloads out of it. Control Tower follows the same rule.
Controls: guardrails you enable
A control is a rule that applies to an OU and everything in it. Each control has a behavior and a guidance level.
| Behavior | Implemented with | What it does | Example |
|---|---|---|---|
| Preventive | SCPs (or RCPs) | Blocks an action from succeeding | Disallow changes to the CloudTrail configuration |
| Detective | AWS Config rules | Reports a non-compliant resource | Detect S3 buckets that allow public read |
| Proactive | CloudFormation Hooks | Blocks non-compliant resources before deployment | Reject an unencrypted EBS volume in a template |
Guidance levels describe how much AWS recommends the control. Mandatory controls are always on. Strongly recommended and elective controls are ones you choose to enable.
Because preventive controls are SCPs, the evaluation rules from the earlier SCP chapters still apply. A control enabled on an OU is inherited by child OUs and accounts, and it can only restrict permissions, never grant them. An explicit deny from a control wins over any allow in an IAM policy.
Detective controls do not stop anything. They flag drift. Use them where blocking would be too disruptive, or where no preventive mechanism exists for the setting.
Enabling a control from the CLI
You can enable controls with the controltower service. The control identifier is an ARN, and the target is the ARN of the OU.
aws controltower enable-control \
--control-identifier arn:aws:controlcatalog:::control/EXAMPLE_CONTROL_ID \
--target-identifier arn:aws:organizations::111122223333:ou/o-exampleorgid/ou-examplerootid111-exampleouid111
aws controltower list-enabled-controls \
--target-identifier arn:aws:organizations::111122223333:ou/o-exampleorgid/ou-examplerootid111-exampleouid111Look up real control identifiers in the Control Tower controls library before running this. The identifier above is a placeholder.
Account Factory
Account Factory is the part of Control Tower that provisions accounts. It is built on AWS Service Catalog. You request an account by supplying a name, a unique email address, the target OU and a few other values. Control Tower creates the account, enrolls it in the landing zone, applies the baseline, and places it in the OU.
You can create accounts in three ways.
- In the console, through Account Factory.
- Through Service Catalog, using the Account Factory product.
- Through Account Factory for Terraform (AFT), a pipeline that creates accounts from Terraform input and applies customizations to each one.
AFT is a good fit when you want account requests reviewed as pull requests. Each request becomes a file in a repository, and a pipeline provisions the account and runs your custom baseline.
You can also enroll an account that already exists in the organization. Control Tower checks that it meets requirements, such as having the expected role, and then applies the baseline. Enrolling is how you bring accounts created before Control Tower under governance.
Drift
Drift is any change that moves Control Tower resources away from the state it expects. Common causes:
- Moving an account out of a governed OU in Organizations.
- Editing or deleting an SCP that Control Tower created.
- Changing the structure of a registered OU in a way Control Tower cannot reconcile.
Control Tower shows drift in its dashboard. Some drift is fixed by re-registering the OU or updating the account. Some, such as a deleted mandatory role, may require a landing zone repair. Treat Control Tower resources as managed: change them through Control Tower, not directly.
Customizing beyond the baseline
Control Tower covers the common baseline, but most organizations need more. Options include:
- Customizations for Control Tower (CfCT). An AWS solution that deploys CloudFormation templates and SCPs to accounts and OUs when a lifecycle event occurs, such as a new account.
- Account Factory for Terraform. Applies Terraform customizations per account.
- Your own SCPs. You can attach additional SCPs to OUs. Keep them separate from Control Tower's, and stay inside the SCP size limit.
- Lifecycle events. Control Tower emits events, such as account creation, through Amazon EventBridge. You can trigger Lambda functions or pipelines that run your own setup.
Control Tower or custom automation?
Both approaches are valid. The choice depends on how much you want to own.
| Factor | Control Tower | Custom with Organizations and IaC |
|---|---|---|
| Time to a working baseline | Hours | Weeks, depending on scope |
| Control over structure | Fixed shared accounts and naming | Full |
| Maintenance | AWS maintains the baseline and updates it | You maintain every piece |
| Flexibility for unusual designs | Limited by what the service supports | High |
| Drift | Detected and shown in a dashboard | You build detection |
| Cost | No extra charge for the service itself, but you pay for Config, CloudTrail, S3 and other resources it creates | Same underlying resources, plus your engineering time |
Control Tower is a good default for a new organization that wants an AWS-recommended baseline fast. A custom design suits organizations with unusual account structures, strict naming, or existing automation they do not want to replace. Many teams combine them: Control Tower for the baseline, and Terraform or CfCT for everything on top.
Gotchas
- Home Region is fixed. You choose it when launching the landing zone. Pick it deliberately.
- Governed Regions. Controls and the baseline apply only in Regions you enable for governance. Resources in other Regions are not covered by detective controls.
- Config costs. Recording every resource in every account across several Regions adds cost. Review what you record.
- Email addresses. Every account needs a unique email address, including the shared accounts.
- Existing organizations. You can set up a landing zone in an existing organization, but check prerequisites first, such as existing Config recorders or trails, which can conflict with the ones Control Tower creates.
Exercise
A team deletes the SCPs that Control Tower attached to the Workloads OU, because they block an action the team needs. What happens, and what should they do instead?
Show answer
The OU moves into a drifted state, because the SCPs no longer match what Control Tower expects, and the guardrails stop protecting every account in that OU. Further operations such as enrolling accounts may fail. The team should restore the state by re-registering the OU or repairing the landing zone. To allow the action, they should disable the specific control in Control Tower for that OU, or move the account to an OU where the control is not enabled, after confirming that this is acceptable to the security team.
Exercise
Which control behavior would you choose to stop a CloudFormation template from creating an unencrypted EBS volume before the resource exists, and what implements it?
Show answer
A proactive control. It is implemented with CloudFormation Hooks, which evaluate the template during deployment and fail it if the resource is non-compliant.