# H-3. Control Tower (master stacks)

8 manual steps. The [rebuild guide](/wiki/rebuild/) explains the columns, the identities and the change-set commands.


Each row is `ms <stack>`, then `master-stack.sh <stack> exec <cs>`. One Control Tower operation at a time.

| # | Action | Where | Identity | How | Why not code | Check |
| --- | --- | --- | --- | --- | --- | --- |
| H-3.1 | OUs: Security, SharedServices, Workloads (Prod, SDLC), Sandbox, Suspended | master | Bootstrap | `ms hkb-org-structure` | master is applied by hand (DQ-24) | stack CREATE_COMPLETE |
| H-3.2 | Log Archive and Security accounts | master | Bootstrap | `ms hkb-org-core-accounts` (root emails from `HKB_ROOT_EMAIL_FORMAT`) | DQ-24 | both accounts ACTIVE, no root credentials |
| H-3.3 | KMS key for Control Tower logs (its policy also lets Log Archive's `hkb-log-archive-replication` decrypt through S3, D72; the role need not exist yet) | master | Bootstrap | `ms hkb-security-controltower-key` (looks up the Log Archive account ID) | DQ-24 | stack output `KeyArn` |
| H-3.4 | Control Tower service roles | master | Bootstrap | `ms hkb-bootstrap-controltower-roles` | DQ-24 | stack CREATE_COMPLETE |
| H-3.5 | Landing zone 4.0 (about 20 minutes) | master | Bootstrap | `ms hkb-org-landing-zone` | DQ-24 | INV-02 |
| H-3.6 | Register the OUs with Control Tower | master | Bootstrap | `ms hkb-org-ou-registration` | DQ-24 | Control Tower console: OUs registered |
| H-3.7 | Region deny on the top-level OUs | master | Bootstrap | `ms hkb-org-ct-controls` | DQ-24 | INV-02 |
| H-3.8 | Pause Config in Log Archive and Security (build period) | members, both | Bootstrap | `config-pause.sh stop hkb-log-archive hkb-security` | H-10.1 | INV-10 |

