As-built record
The Management account as its repository document records it: the scope and operating principles, then the current state, row by row. It is quoted as written; IDs are left out.
Scope and current state
This account is the AWS Organizations management (master) account for HKB. It is a pure control plane: it creates and vends other accounts, holds org-wide policy, and performs the handful of actions only the management account can do — nothing else runs here. No workloads, no application data, no long-lived IAM users.
That's AWS's own guidance, not just this project's preference: SCPs never apply to the management account, so anything deployed here sits outside the org's main guardrails. The fewer things that are true here, the smaller that exposure is.
Master's job list: own the AWS Organization and its policies; run the Control Tower landing zone; vend accounts through Control Tower's Account Factory; hold the manual root break-glass runbook (D56); register the domain; delegate everything delegable (StackSets, security services, SCP and RCP management) to member accounts; and nothing else.
| Organization | All features on. Policy types enabled on root: SCP, RCP, tag, AI opt-out, EC2 declarative. The management account is named master in Organizations (not hkb-master). |
|---|---|
| Accounts | All seven planned: management, hkb-log-archive and hkb-security (Security OU), hkb-shared-services (SharedServices OU), hkb-dev (SDLC OU), hkb-prod (Prod OU) and hkb-sandbox (Sandbox OU). The four workload and service accounts were vended by hkb-org-account-shared-services and hkb-org-account-dev (2026-10-04) and hkb-org-account-prod and hkb-org-account-sandbox (2026-10-16), one stack per account from org/hkb-org-account.yaml (a Service Catalog provisioned product on the Control Tower Account Factory product, DeletionPolicy: Retain). The Organizations account quota (L-E619E033) was raised from 5 to 10 on 2026-10-15, and the hkb-prod provisioned product left in ERROR by the first, quota-limited attempt was terminated. Vends run as HKB-MasterAdmin, which has launch access to the Account Factory portfolio through hkb-org-factory-access (DQ-25). Each new account then gets its Config recorders stopped, alternate contacts, SCP-09 and HKB-ReadOnly. Control Tower's Account Factory also created a VPC in each vended account, both Regions. Nothing used them, and they were removed on 2026-11-09 with Account Factory set to create none (DQ-154, ADR-0053). |
| OUs | Security, SharedServices, Workloads (children Prod and SDLC), Sandbox, Suspended. All but Suspended are registered with Control Tower. |
| Landing zone | v4.0, ACTIVE, IN_SYNC (latest version). Home us-east-1, governed us-east-1 and us-west-2. CloudTrail and Config integrations on, security roles baseline on, access management and Backup off. Log retention 365 days, encrypted with the hkb-security-controltower-key KMS key. |
| Trusted access | account, cloudtrail, config, controltower, iam, sso, and StackSets. Centralized root access: both RootCredentialsManagement and RootSessions on. |
| Delegated administration | hkb-security is delegated administrator for Access Analyzer, CloudTrail and Config (Organizations), and GuardDuty and Security Hub are registered with it as organization admin in us-east-1 and us-west-2 (2026-10-04). Registration also made a GuardDuty detector and a Security Hub hub in both Regions of hkb-security; step 3.11 imported the detectors into hkb-security-services and put the hubs under its central configuration (DQ-90, DQ-94). Master is a member of both: its own detector is hkb-master-guardduty in each Region (DQ-84), enrolled by create-members (DQ-83) and given the DQ-155 plans by gd-enroll (H-13.8; the stack keeps its first list, and S7-03 accepts that drift, DQ-160). GuardDuty's malware scans need trusted access for malware-protection.guardduty.amazonaws.com and the AWSServiceRoleForAmazonGuardDutyMalwareProtection service-linked role here, both set by gd-enroll (#296), and Security Hub was turned on here before the root policy enrolled it (DQ-96). Details are in docs/HKB Security Account.md. hkb-shared-services is the delegated administrator for CloudFormation StackSets (registered 2026-10-04, ACTIVE; its one HKB StackSet so far is the pipeline's no-op proof hkb-pipeline-noop, with one instance in hkb-dev). The D55 Organizations resource policy is in place (hkb-org-delegation-policy, 2026-10-04) and was exercised end to end by the Stage 2 Dev proof the same day: a hkb-pipeline-* role in Shared Services created, attached, tagged, updated and deleted an SCP on hkb-dev through CloudFormation (the policy gained the three tag actions first). On 2026-10-08 the pipeline re-proved it with the CloudFormation service role hkb-pipeline-cfn-scp: a temporary stage created, updated and deleted an SCP on hkb-dev, and was then removed. |
| AWS Config | Recording in master and every member, both Regions, since 2026-11-06 (step 7.1). The members use Control Tower's recorders, which config-pause.sh starts and stops and CloudFormation here doesn't track. Master, where Control Tower records nothing, has hkb-master-recorder from hkb-master-config, delivering to the same bucket under the same key and prefix (DQ-104). |
| Inspector | EC2 and ECR scanning on, both Regions, enrolled by Security as a member (H-13.9, S7-12). Lambda scanning off on budget (DQ-155). Trusted access for inspector2.amazonaws.com and Security's delegation are set here; S7-12 reads the delegated admin from master, because Security's own request for it returns an error. |
| Macie | On in both Regions, with automated sensitive data discovery off (H-13.10, S7-13, DQ-155). Master turns Macie on itself first, because Security can't add it as a member otherwise; Security's delegation is registered here. HKB-ReadOnly reads Macie's setup through seven macie2 actions and never GetSensitiveDataOccurrences, which returns samples of what Macie found. |
| S3 data-events trail | The organization trail hkb-s3-data-events (stack hkb-master-data-events, H-13.11, S7-14) is master's, as every organization trail is (DQ-164). It logs S3 object reads and writes in every bucket of every account and Region, and no management events, with log file validation on and the Control Tower key. It delivers to its own bucket in Log Archive. MasterAdmin's deny on trail changes leaves this one trail out, and the trail itself changes only through a reviewed CloudFormation change set (DQ-167), so its recursive logging stays on (about $0.09 a month). CloudTrail.5 is risk-accepted on budget for it (DQ-165). About $1.40 a month in all. |
| Identity Center | Organization instance, alias hkb. Group hkb-admins (kbuhrmann is the only member) holds the permission sets managed by hkb-bootstrap-identity: HKB-ReadOnly (ViewOnlyAccess + SecurityAudit, plus a small inline policy for the reads the verifier needs, 8 h; assigned on master and every member account that exists), HKB-RootUnlock (sts:AssumeRoot limited to the audit, S3 unlock and SQS unlock root tasks, 1 h), HKB-DomainAdmin (Route 53 Domains plus the hosted zone calls registration needs, 1 h), HKB-Billing (the Billing job function, 4 h), HKB-MasterAdmin (AdministratorAccess with an inline guardrail, 1 h; applied 2026-10-05) and HKB-PipelineApprover (approve and release pipeline stages, 4 h, assigned on Shared Services only; applied 2026-10-05). Bootstrap-Admin (AdministratorAccess, 1 h) and its group bootstrap-admins were created by hand. The group was deleted on 2026-10-08, so the set has no assignment and Identity Center refuses its credentials. The set stays provisioned to master with its reserved role until Cleanup (k) deletes both (DQ-21): HKB-MasterAdmin is denied direct DeletePermissionSet. kbuhrmann is the only user. HKB-SecurityOps (SecurityAudit plus finding workflow and a log-deletion deny, 4 h, on Security and Log Archive; DQ-77) is assigned on Security and Log Archive (applied at 3.11, S3-09). HKB-SandboxAdmin (PowerUser within the sbx-* boundary, on Sandbox only) was built at step 5.2. HKB-Support (AWSSupportAccess only, 1 h) is assigned to hkb-admins in all seven accounts for support cases (H-13.6, DQ-157, S7-06). HKB-ProdOperator and HKB-ExternalAuditor belong to the follow-on project. |
| Master account hygiene | Root MFA on, no root access keys, no IAM users. S3 Block Public Access on at the account level. IAM and role access to Billing information is active (activated 2026-10-03 as root). Billing, operations and security alternate contacts are set on master and on every member account. Set by hand (master-settings.sh, H-13.4, 2026-11-09), since no StackSet reaches master: EBS default encryption, SSM document public sharing blocked (SSM.7) and Automation logs to CloudWatch (SSM.6) in both Regions, and the IAM password policy with hkb-baseline-account's values (14 characters, 24 remembered, symbols, numbers, upper and lower case, 90 days). The policy only binds IAM users with console passwords, and there are none: sign-in is through Identity Center (S7-04). VPC Block Public Access is block-bidirectional in both Regions, from the H-13.4 re-run on 2026-11-10 (DQ-159 A, S7-07); master has no VPC. |
| Stacks (us-east-1 unless noted) | hkb-org-structure, hkb-org-core-accounts, hkb-bootstrap-controltower-roles, hkb-security-controltower-key, hkb-org-landing-zone, hkb-org-ou-registration, hkb-org-ct-controls, hkb-org-scp, hkb-org-rcp, hkb-org-mgmt-policies, hkb-org-declarative, hkb-security-master-alerts, hkb-org-budgets, hkb-org-cost-anomaly, hkb-org-cost-categories (DQ-128), hkb-bootstrap-identity, hkb-org-account-shared-services, hkb-org-account-dev, hkb-org-account-prod, hkb-org-account-sandbox, hkb-bootstrap-master-org-cfn, hkb-org-params, hkb-org-factory-access, hkb-org-s3-policy, hkb-bootstrap-boundary (the two boundaries, step 3.4b) hkb-master-guardduty (also in us-west-2, DQ-84), hkb-master-config-role and hkb-master-config (also in us-west-2, DQ-104), hkb-master-scanner (also in us-west-2, Prowler's read-only role, H-6.12, DQ-130). All 29 complete (hkb-org-landing-zone shows UPDATE_ROLLBACK_COMPLETE from the 2026-10-04 attempt to disable Config; the landing zone itself is unchanged); Control Tower's own AWSControlTowerBP-BASELINE-CLOUDTRAIL-MASTER stack is also present. Every repo template is text-identical to its deployed stack (verifier INV-11, 2026-10-25). Drift detection ran on every hkb-* stack on 2026-11-06 (step 7.3, drift.sh), with no hand-made drift; verifier S7-03 reads the result (DQ-145 to DQ-147). hkb-bootstrap-master-deployer was deleted on 2026-10-08 (D65); hkb-org-delegation-policy and hkb-bootstrap-master-org-deployer on 2026-10-15 (DQ-24). Termination protection is on for every top-level hkb-* stack (H-13.3, 2026-11-09); StackSet instances and Control Tower's stacks can't take it and are accepted (DQ-156). |
| Alerts | SNS topic hkb-master-alerts (own CMK, one confirmed email subscription) fed by eight EventBridge rules in us-east-1: root console sign-in, sts:AssumeRoot, Organizations Attach/Detach/Update/DeletePolicy, state-changing Route 53 Domains calls, Identity Center permission set and assignment changes, Control Tower landing zone changes, HKB-MasterAdmin console sign-in and HKB-MasterAdmin direct write calls (the credentials-issued event never reaches EventBridge, so direct writes are alarmed instead). Reviewed change sets and root audit sessions will alert; that is expected. |
| Budgets | Organization budget hkb-org-monthly: $150 per month, emailed forecast alerts at 50, 80 and 100% and at the $200 ceiling, plus actual-spend alerts at 100% of $150 and at $200. |
| Cost anomaly detection | AWS's own Default-Services-Monitor (the one SERVICE monitor an account may have) with two daily email subscriptions: AWS's default (impact of $100 and 40%) and hkb-org-anomaly-email (impact of $5 or more), managed by hkb-org-cost-anomaly. |
| Pipeline | hkb-pipeline-main (CodePipeline V2) runs in hkb-shared-services, self-updating since 2026-10-07 and sourcing main through the CodeConnections connection hkb-github. Stages: Source, Validate (cfn-lint, cfn-guard, gitleaks, Access Analyzer ValidatePolicy on every template), SelfUpdate and StackSets; since step 3.14 the site stages run in a second pipeline, hkb-pipeline-site (DQ-82, ADR-0043), and nothing in master changed for it. Their manual approvals (as HKB-PipelineApprover) were removed for the build on 2026-10-09 and return in Cleanup (l) (DQ-23). The foundation stack hkb-pipeline-foundation (CMK, versioned artifact bucket, hkb-pipeline-events topic with approval and failure rules, the orchestrator, validate, self and StackSet roles) is applied by hand, so the pipeline cannot widen its own permissions. It reaches nothing in master (DQ-24, ADR-0037). The one master role that trusts another account is the read-only Prowler scanner, hkb-scanner, and it trusts only hkb-tool-prowler in Security (DQ-148, ADR-0048). hkb-master-org-deployer and hkb-master-org-deployer and hkb-pipeline-cfn-scp were deleted on 2026-10-15 with their key, bucket and role-policy references. hkb-master-deployer went the same way on 2026-10-08 (D65). Design: docs/runbooks/stage2-pipeline-design.md. |
| Not built yet | The Security Hub findings fixes (step 7.2): the review is published, H-13 is done, and GuardDuty's, Inspector's and Macie's parts of the paid-service package (DQ-155) and the S3 data-events trail are on (H-13.8 to H-13.11), and the template fixes and the rest of the package are next. HKB-SandboxAdmin (5.2) and the VPC tier in Sandbox, Dev and Prod (5.7) are built. |
| Cost | Usage before credits, organization-wide: $43.70 in October 2026 (master $19.61, including the $16 domain renewal) and $10.50 from 2026-11-01 to 11-05. One NAT instance in each of Sandbox, Dev and Prod (stopped outside weekday hours) with a kept Elastic IP each; no NAT gateways. INV-08 checks the month (DQ-133); model: docs/loop/COST-MODEL.md. |
Page information
- Owner
- Platform Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
HKB Master Account.md- Linked from
- Management