Governing a Landing Zone with AWS Control Tower
AWS Control Tower sets up and governs a multi-account environment, called a landing zone, based on AWS best practices. It combines AWS Organizations, IAM Identity Center, AWS Config, CloudTrail, CloudFormation StackSets and Service Catalog into a managed service. This lesson explains the landing zone, the types and behaviours of controls, Account Factory and its automation options, and how Control Tower detects and repairs drift.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the components of a Control Tower landing zone and the shared accounts it creates.
- Distinguish between preventive, detective and proactive controls and between mandatory, strongly recommended and elective guidance.
- Compare Account Factory, Account Factory customisation, Account Factory for Terraform and Customizations for AWS Control Tower.
- Explain how Control Tower handles enrolment of existing accounts, drift and lifecycle events.
The Landing Zone
Setting up a landing zone creates or configures an organisation with a Security OU containing two shared accounts: the log archive account, which stores the organisation's CloudTrail and AWS Config logs in S3, and the audit account (also called the security tooling account), which gives security teams cross-account read and administration access and receives notifications. A Sandbox OU can also be created for workloads. Control Tower sets up an organisation-level CloudTrail trail, enables AWS Config in governed Regions, configures IAM Identity Center for single sign-on (optionally), and applies mandatory controls.
Control Tower governs selected Regions. Resources in ungoverned Regions are not checked by its detective controls, which is why the Region deny control is commonly enabled to block those Regions altogether. The landing zone itself is versioned, and Control Tower reports when an update is available.
Controls
A control (formerly called a guardrail) is a high-level rule applied to an OU. Controls have a behaviour, which describes how they work, and a guidance level, which describes how strongly AWS recommends them.
Behaviours
Controls have one of three behaviours, which describe how they are enforced.
- Preventive controls are implemented as SCPs or RCPs and stop actions from happening, such as disallowing changes to the CloudTrail configuration created by Control Tower.
- Detective controls are implemented as AWS Config rules and report non-compliant resources, such as detecting whether public read access to S3 buckets is allowed.
- Proactive controls are implemented as CloudFormation Hooks and check resources before CloudFormation provisions them, such as requiring an S3 bucket to have versioning enabled.
Guidance
Mandatory controls are always enabled and protect the landing zone itself. Strongly recommended controls reflect best practices for multi-account environments. Elective controls address specific needs, such as restricting particular actions. Controls can also be grouped by compliance frameworks in the Control Catalog, and Security Hub controls can be managed through Control Tower.
The table below summarises control behaviours.
| Behaviour | Implemented with | When it acts | Example |
|---|---|---|---|
| Preventive | SCPs and RCPs | When an API call is made | Deny deleting the log archive bucket |
| Detective | AWS Config rules | After a resource is created or changed | Detect unencrypted EBS volumes |
| Proactive | CloudFormation Hooks | Before CloudFormation provisions a resource | Require encryption on new RDS instances |
Which control behaviour?
Account Factory and Its Variants
New accounts in a Control Tower landing zone should be created through Control Tower so that they are enrolled, placed in an OU and baselined automatically. Several mechanisms exist, with increasing flexibility.
Account Factory
A Service Catalog product that creates an account with a name, email, OU and IAM Identity Center user. It can be used in the console or through Service Catalog APIs, and accounts are enrolled with the OU's controls applied.
Account Factory customisation
Lets an account request reference a blueprint, a Service Catalog product containing a CloudFormation template or Terraform configuration, which is deployed into the new account during provisioning. It suits standard resources that every account of a type needs.
Account Factory for Terraform (AFT)
A Terraform-based pipeline deployed into a dedicated AFT management account. Account requests are Terraform files in a Git repository; a merge starts a pipeline that creates the account through Account Factory and then applies global customisations (for every account) and account customisations (for specific account types) from other repositories. AFT suits organisations that standardise on Terraform and want GitOps-style account vending.
Customizations for AWS Control Tower (CfCT)
A solution that deploys CloudFormation templates through StackSets and SCPs to accounts and OUs, based on a manifest file in a repository. It runs when the configuration changes and on Control Tower lifecycle events, such as a new account being created, so new accounts receive the customisations automatically.
Ways to vend accounts
Enrolment, Drift and Lifecycle Events
Existing accounts can be enrolled by moving them into a registered OU or by registering an existing OU, which applies the baseline and controls. Enrolment requires the AWSControlTowerExecution role in the account, which accounts created by Organizations obtain through the management account's access; invited accounts need it created manually.
Drift in Control Tower means a change to resources that Control Tower manages, made outside Control Tower, such as moving an account between OUs in the Organizations console, modifying a Control Tower SCP or deleting a required role. Control Tower detects drift and shows it in the console; most drift is repaired by re-registering the OU or updating or resetting the landing zone. Changes should therefore be made through Control Tower, not directly in Organizations.
Control Tower publishes lifecycle events, such as CreateManagedAccount, UpdateManagedAccount, EnableGuardrail and RegisterOrganizationalUnit, to EventBridge through CloudTrail in the management account. Automation can respond to CreateManagedAccount completion to perform further setup, such as adding the account to a network or creating budgets.
Moving to a Governed Landing Zone
A company has an existing organisation with 50 accounts, created manually with inconsistent logging. It wants central logging, standard controls, and new accounts created from a Git repository with Terraform.
-
Set up
Launch the Control Tower landing zone in the management account, creating the log archive and audit accounts and selecting the governed Regions, with the Region deny control enabled.
-
Enrol
Register the existing OUs; ensure invited accounts have the AWSControlTowerExecution role first.
-
Controls
Enable strongly recommended controls on all OUs and selected detective and proactive controls on production OUs.
-
Account vending
Deploy AFT in a dedicated account, with global customisations that create budgets and baseline roles.
An administrator moves an enrolled account to another OU directly in the Organizations console. What does Control Tower report, and how is it resolved?
Show answer
Control Tower reports drift, because the account's OU membership changed outside Control Tower. It is resolved by moving the account through Control Tower (for example by updating the provisioned Account Factory product) or by re-registering the OU.
Exam Tips
Remember for the exam
- A landing zone creates a Security OU with log archive and audit accounts, an organisation trail and AWS Config in governed Regions.
- Preventive controls are SCPs or RCPs; detective controls are Config rules; proactive controls are CloudFormation Hooks.
- Account Factory is a Service Catalog product; blueprints add per-account resources; AFT vends accounts from Terraform in Git; CfCT applies StackSets and SCPs from a manifest on lifecycle events.
- Make OU and SCP changes through Control Tower to avoid drift; respond to CreateManagedAccount lifecycle events for additional automation.
- Enable the Region deny control because detective controls do not cover ungoverned Regions.