Sub topic 3
Centralized CloudTrail and AWS Config Records
Assume you know basic AWS accounts, IAM roles, OUs, and the AWS CLI. This chapter explains how Control Tower centralizes records, applies controls, creates accounts, and handles later changes.
Centralized CloudTrail and AWS Config records
AWS CloudTrail records API activity, such as who changed a security group. AWS Config records resource configuration and evaluates compliance. Control Tower uses these services across governed accounts and stores central records in the Log Archive account. Restrict access to this account so administrators cannot quietly alter the evidence they are meant to review.
Applying controls to OUs
A control is a governance rule. Preventive controls block an action, detective controls identify noncompliance, and proactive controls check planned resources before deployment. Apply controls to an OU when every account inside it should follow the same rule.
aws controltower enable-control \
--control-identifier <control-arn> \
--target-identifier <ou-arn> \
--region us-east-1
aws controltower list-enabled-controls \
--target-identifier <ou-arn> \
--region us-east-1Creating and enrolling accounts with Account Factory
Account Factory provisions accounts from approved templates. Choose the account name, email, OU, Region settings, and access configuration. Enroll existing accounts before expecting Control Tower controls and centralized records to govern them.
Handling drift and updating the landing zone
Drift occurs when a resource managed by Control Tower changes outside its supported workflow. Check the Control Tower console for drift status, identify the changed resource, and repair it using the recommended action. Update the landing zone when AWS releases a new version, but test controls and customizations first.
> callout warning > Do not “repair” drift by deleting resources manually. Confirm ownership and dependencies, then use the supported repair or update workflow.
Extending the landing zone
Account Factory for Terraform (AFT) manages account provisioning through Terraform repositories and pipelines. Customizations for Control Tower (CfCT) applies CloudFormation templates and service-control policies across accounts. Use AFT for repeatable account-specific infrastructure. Use CfCT for organization-wide CloudFormation customizations.
Operating costs
Control Tower itself has no separate service charge, but governed resources can incur charges. Budget for CloudTrail data events, AWS Config rules and evaluations, CloudWatch usage, S3 storage, AWS Security Hub, and resources in shared accounts. Review the Log Archive lifecycle policy and regional coverage to control storage costs.
Exercise
Which tool fits a Terraform-based baseline for every new account?
Show answer
Account Factory for Terraform (AFT).