Architecture
An AWS account is an isolated environment with its own resources and permissions. HKB splits its work across seven accounts, and each one has a single job. One runs the organization, one keeps the logs, one watches for threats and one runs the deployments. The other three run the workloads, this website included.
The seven accounts sit in one AWS Organizations organization, governed by a Control Tower landing zone. Because each account has one job, a mistake or a compromise in one stays there.
The map below shows where each account sits. The buttons above it add one layer at a time: deployments, policies, logs, and threat alerts. Click any account to see what is inside it.
Accounts
| Account | Organizational unit | Job |
|---|---|---|
| Management | root | Governs the organization: guardrail policies, account vending, the domain registration. Nothing else runs here. |
| Log Archive | Security | Holds the organization's CloudTrail logs, away from the accounts that produce them. |
| Security | Security | Delegated administrator for the security services, so they aren't run from the management account. |
| Shared Services | SharedServices | Runs the deployment pipelines (platform, site and security tools) and owns the organization-wide StackSets. |
| Prod | Workloads / Prod | Serves this site on hirekylebuhrmann.com. Only the pipeline changes it. |
| Dev | Workloads / SDLC | A copy of Prod built by the same templates, so a change that works in Dev predicts Prod. Only the pipeline changes it. |
| Sandbox | Sandbox | The only account where people make changes by hand, with its own guardrails and a $30 budget. |
An empty Suspended OU carries a deny-all policy. Moving an account into it quarantines that account in one step.
Deployment path
Every change starts as a commit and a pull request. Merging to main starts the pipelines whose part of the repository it touches. There are three, all AWS CodePipeline in Shared Services:
- The platform pipeline validates every template, updates itself, and rolls organization-wide baselines out to every member account through StackSets, plus the Security account's stacks.
- The site pipeline builds this site and promotes it to Sandbox, then Dev, then Prod. A failure in one environment stops the promotion.
- The tools pipeline deploys each security tool in
tools/as its own stack in the Security account.
Both validate first: cfn-lint, the HKB CloudFormation Guard rules and their tests, IAM Access Analyzer policy validation, and a secrets scan with gitleaks. Any failure stops the run. The AWS Guard Rules Registry security pillar runs as well, as advice.
The management account is the exception. No pipeline can deploy into it. Its stacks change only through reviewed CloudFormation change sets, run by hand under an admin role that alerts on every use.
Identity and access
There are no IAM users in any account, and in the member accounts a service control policy prevents anyone creating one. People sign in through IAM Identity Center, with short sessions and one permission set per task. Member-account root users have no credentials, and a policy denies root actions in every member account. Automation follows the same rule: one role per function, scoped to its own stacks. The access map shows every person and role, account by account, generated from the templates.
Preventive and detective controls
- Service control policies on the root and on each OU: no leaving the organization, no disabling security services or logging, no long-lived credentials, no weakening S3 Block Public Access, instance-type limits, and an allowlist for AI services. Control Tower's Region deny control limits regional services to two Regions, us-east-1 and us-west-2.
- Resource control policies on the root: S3, KMS, Secrets Manager and STS deny anyone outside the organization, and S3, KMS and Secrets Manager deny requests without TLS.
- An account baseline deployed to every member account: account-level S3 Block Public Access, EBS encryption by default, and an IAM password policy.
- An organization-wide external-access analyzer in both Regions, which reports any resource shared outside the organization.
- Alerts in the management account for root sign-in, policy changes, domain changes and use of the admin role.
- Budgets on the organization and on Sandbox.
Controls lists each one with its policy text and the check that proves it.
Site hosting
The site is static HTML generated from this repository, with no framework and no third-party requests. It's served by CloudFront from an S3 bucket that has Block Public Access, KMS encryption, versioning and a TLS-only policy, and that CloudFront reaches only through an origin access control. Every response carries HSTS, a content security policy that allows only this site's own files, and anti-framing headers.
Page information
- Owner
- Platform Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
site/content/architecture.md,site/aws_diagram.py- Linked from
- ISO 27001 Statement of Applicability, As-built record, Management, As-built record, Log Archive, As-built record and 38 more