Sign in to the new management account. Use an admin role or Identity Center user, not the root user and not the compromised account.
CheckTerraform on this computer
Checking…
Step 1Management account credentials
Step 2Readiness checks
Checks the organization, Control Tower, CloudTrail, AWS Config and IAM service roles in the selected region.
Landing zone inputs
These become the Terraform variables for stage 1. The home region and the Log Archive / Audit accounts can't be changed after launch.
Deploy landing zone
Creates the organization, OUs, Log Archive and Audit accounts, service roles and the landing zone. The apply takes about 60–90 minutes; you can leave this page open.
ResultStage 1 outputs
Guardrails & security
Registers workload OUs, enables controls and SCPs, and turns on GuardDuty, Security Hub and Access Analyzer organization-wide from the Audit account.
Deploy guardrails
Runs with parallelism 5 because Control Tower limits concurrent control operations. Expect 20–40 minutes.
Enroll existing account
Bring the previously compromised account in safely: invite it, freeze it in Quarantine, clean it, then enroll it.
ConnectExisting account credentials
a. Invite to the new organization
Sent from the management account.
b. Accept the invitation
Uses the existing account's credentials.
c. Create the AWSControlTowerExecution role
Created in the existing account with its credentials. It trusts the new management account, and Control Tower and the steps below use it.
d. Move to Quarantine
The deny-all SCP blocks every principal except Control Tower roles and your break-glass roles, so old keys and attacker sessions stop working.
e. Investigate and clean
Done by your team, through the AWSControlTowerExecution role or a break-glass role.
f. Remove existing AWS Config setup
Control Tower can't enroll an account that already has a Config recorder or delivery channel.
Type the account ID to delete these:
g. Enroll into a workload OU
Moves the account and re-registers the OU so Control Tower enrolls it.
Revert
Undo the setup in reverse order. Each step asks for a typed confirmation. Steps R1 and R2 can be redone later; R3 can't be undone.
R1Release the existing account
Moves it out of the Control Tower OU so it is no longer governed. Optionally removes it from the organization entirely; that needs the account to have its own payment method and contact details.
Remove from the organization: type the existing account ID
R2Remove guardrails (stage 2)
Terraform destroy: deregisters the workload OUs, turns off the controls, deletes the SCPs and the GuardDuty, Security Hub and Access Analyzer set-up from the Audit account. Findings already in Security Hub are lost.
R3Decommission the landing zone
Calls AWS Control Tower's decommission. Takes up to 2 hours and cannot be undone. The organization, OUs, the Log Archive and Audit accounts, their log buckets and Identity Center stay; see the list below.
Type DECOMMISSION to confirm:
AfterWhat stays, and how to remove it
Log Archive and Audit accounts: close them from AWS Organizations → Accounts → Close. A closed account can be reopened for 90 days; after that it's gone for good.
Log buckets in the Log Archive account (CloudTrail and Config history): keep them for evidence, or empty and delete them.
OUs and the organization: delete the OUs once they're empty. The organization can be deleted once it has no member accounts.
IAM Identity Center groups and permission sets: remove them in IAM Identity Center if you won't use it.
Control Tower service roles (AWSControlTowerAdmin, CloudTrailRole, StackSetRole) in the management account, and AWSControlTowerExecution in the existing account: delete them in IAM.
Terraform state bucket: delete it last, after everything else.
Hosted launcher: use the IAM role (no keys) option. It renews itself, so long runs are safe. Temporary credentials also work; for stage 1 use 12-hour keys from the bootstrap admin steps.
Runs take time. Stage 1 runs for 60–90 minutes. Temporary keys copied from a portal stop working when their session ends, often after 1 hour, and the run then fails. An AWS CLI profile renews itself, so use one for stage 1 and stage 2 where you can.
Connect with an IAM role (no access keys)
The safest option, and the one to use for a customer that has had a security incident.
Click Download the role template on the connect screen. It is a short CloudFormation file. Open it to review: it creates one role, EconzControlTowerLauncher.
The role trusts only this launcher's Google Cloud service account, and only when it also presents the secret launch code made for your download. AWS checks a signed Google token every time, so there is no access key to leak.
Access stops on its own at AccessEndsOn (default 7 days), or immediately when you delete the stack.
Every action appears in your CloudTrail under the role, with the person's email in the session name (for example econz-name@company.com).
Run the same template in the existing account too if you want to connect it in step 6.
The role has AdministratorAccess because setting up Control Tower creates an organization, accounts, roles and policies. Delete the stack as soon as the setup is finished.
Temporary keys from the AWS access portal (IAM Identity Center)
Open the customer's AWS access portal. The link looks like https://d-xxxxxxxxxx.awsapps.com/start and is in the Identity Center invitation email, or in IAM Identity Center → Settings.
Sign in with your username, password and MFA.
Expand the account you need (for example the new management account).
Next to the admin permission set (for example AWSAdministratorAccess), click Access keys.
Under Option 3, copy the three values into the launcher:
AWS Access Key ID → Access key ID
AWS Secret Access Key → Secret access key
AWS Session Token → Session token
In the launcher, choose Temporary credentials, paste the three values and click Connect.
These keys last as long as the permission set's session (1 hour by default). For a 90-minute run, ask an admin to raise it: IAM Identity Center → Permission sets → choose the set → Edit → Session duration (for example 4 hours). You can also use a CLI profile instead.
AWS CLI SSO profile (renews itself, best for long runs)
Install AWS CLI v2 on this computer (aws.amazon.com/cli).
Run this and answer the prompts:
aws configure sso
SSO session name: any name, for example customer-sso
SSO start URL: the access portal link (https://d-xxxxxxxxxx.awsapps.com/start)
SSO region: the region where Identity Center is set up (the home region)
Scopes: press Enter to accept the default
A browser opens. Sign in and click Allow.
Back in the terminal, choose the account and the admin role, then the default region (for example ap-south-1) and output format (json).
Give the profile a clear name, for example customer-mgmt-admin.
Each time you work, sign in first:
aws sso login --profile customer-mgmt-admin
In the launcher, choose AWS CLI profile, pick the profile and click Connect. If the launcher was already open, reload the page so the new profile shows up.
Brand-new management account: bootstrap admin with MFA
Before stage 1 there is no Identity Center, so create one admin user, protect it with MFA, and use temporary keys from it.
Sign in to the new account as the root user (the email used to create it). Open the account menu (top right) → Security credentials → Assign MFA device. Never create access keys for root.
Go to IAM → Users → Create user. Name it, for example ct-bootstrap-admin. Don't give it console access.
Open the user → Security credentials tab → Assign MFA device → Authenticator app, then scan the code with your phone app. Copy the device's Identifier (it looks like arn:aws:iam::111122223333:mfa/ct-bootstrap-admin).
On the same tab: Create access key → Command Line Interface (CLI) → tick the confirmation → Create. Copy both values now; the secret is shown only once.
Save them as a profile on this computer:
aws configure --profile ct-bootstrap
Get 12-hour temporary keys (replace the MFA ARN, and use the 6-digit code from your app):
Copy AccessKeyId, SecretAccessKey and SessionToken from the output.
If the account is the management account of its own organization, remove its member accounts and delete that organization before you click Accept.
After step d (Quarantine), the old admin can't do anything. The launcher then reaches the account through AWSControlTowerExecution from the management account, so you don't need new keys.
Other values: account ID, KMS key ARN, role ARN, regions
Account ID (12 digits): AWS console → account menu (top right). The launcher also shows it after you connect.
KMS key ARN: KMS console → Customer managed keys → open the key → copy ARN. It must be in the home region.
Role ARN (break-glass roles): IAM console → Roles → open the role → copy ARN. Replace the account ID with * to match that role in every account.
Region codes: the code next to the region name in the console's region menu. Mumbai is ap-south-1, Hyderabad ap-south-2, N. Virginia us-east-1.
Account emails: ask the customer for two new addresses (ideally distribution lists) that have never been used to sign up for AWS.
Baseline version and Identity Center baseline ARN: click Fetch from AWS in step 4.
Keeping credentials safe
Prefer temporary credentials (with a session token). They expire on their own.
Never create or use root user access keys.
Don't paste keys into email, chat or tickets. The launcher keeps them in memory only, and they are cleared when you click Disconnect or stop the launcher.
Delete bootstrap users and their access keys once Identity Center sign-in works.