account
Dev
Dev is a copy of Prod, built by the same templates, so a change that works in Dev predicts Prod. It runs on CloudFront's own domain and is the second stop for every site change. Only the pipeline changes it.
Site and network
Each has its own page, with its configuration as deployed.
- Site distributionCloudFront and the private bucket: TLS, origin access control, response headers.
- VPCTwo AZs, public and private subnets, one /16 per account, flow logs.
- NAT instanceA Graviton instance in place of a NAT gateway, on a weekday schedule, Session Manager only.
- NAT imageThe NAT's AMI from Image Builder: Amazon Linux 2023, DISA STIG Medium, rebuilt weekly.
Components
The numbers trace one page request: CloudFront on its own domain reads the private bucket through origin access control and decrypts with the site key. The pipeline's three roles deploy the stack and upload the files after Sandbox succeeds and before Prod.
Preventive controls
9 SCPs and RCPs apply, inherited through the OU path.
- SCP-01Deny leaving the org, closing accounts and changing account contact or billing settingsPASS
- SCP-03Protect the security baseline: no stopping or deleting CloudTrail, Config, GuardDuty, Security Hub or Access Analyzer;
hkb-baseline-*roles and stacks changed only by the StackSets execution role; IMDSv2 required at launch, with no switching back afterwardsPASS - SCP-04No long-lived credentials: no IAM users, access keys or console passwordsPASS
- SCP-05Data protection: account-level S3 Block Public Access can't be weakened; KMS keys are deleted only by the pipeline and AWS-managed deployment rolesPASS
- SCP-06AI allowlist: Bedrock only in the Workloads and Sandbox OUs, approved models only, no provisioned throughput or customizationPASS
- SCP-07Cost guardrails: EC2 and NAT only in Workloads and Sandbox, instance-type allowlist, no OpenSearch Serverless, reserved purchases or Marketplace subscriptionsPASS
- SCP-09Deny all root-user actions except task-scoped root sessionsPASS
- RCP-01Data perimeter: S3, KMS, Secrets Manager and STS deny principals outside the org; AWS service principals exemptPASS
- RCP-02Deny non-TLS requests to S3, KMS and Secrets ManagerPASS
Principals
0 IAM users. 2 Identity Center permission sets, 13 IAM roles, parsed from the templates. Org-wide view: access matrix.
Permission sets
HKB-ReadOnlyDaily visibility (ViewOnlyAccess and SecurityAudit, plus the reads the verifier and change-set reviews need)HKB-SupportOpen and manage AWS Support cases, nothing else
IAM roles
hkb-baseline-account-settingsExecution role of the hkb-baseline-account-settings function. Sets EBS default encryption, the IAM password policy, two Systems Manager settings and VPC Block Public Access, nothing else.hkb-events-forwarderEventBridge forwarder. Puts the security events these rules match onto the central bus in Security, and nothing else.hkb-pipeline-siteSite deploy action role. Makes change sets on the hkb-site and hkb-dns stacks and passes hkb-pipeline-cfn-site. Content goes through hkb-pipeline-site-sync.hkb-pipeline-site-syncSite content role (step 4.4, DQ-59). Reads the hkb-site stack outputs, syncs the built site to the site bucket and clears the CloudFront cache. No CloudFormation changes, no IAM.hkb-pipeline-cfn-siteCloudFormation service role for the hkb-site and hkb-dns stacks. Site bucket, its KMS key, CloudFront, the hosted zone and the certificate; no IAM.hkb-pipeline-networkNetwork deploy action role. Makes change sets on the hkb-vpc, hkb-image and hkb-network stacks and passes hkb-pipeline-cfn-network. Changes nothing itself.hkb-pipeline-cfn-networkCloudFormation service role for the hkb-vpc, hkb-image and hkb-network stacks. VPC, NAT instance, Elastic IP, Image Builder, schedules, Patch Manager; roles only as hkb-net-* under hkb-workload-boundary.hkb-scannerProwler's read-only scanner role. Taken on only by hkb-tool-prowler in Security; reads the account and imports failed findings to Security Hub.hkb-net-image-buildImage Builder build and test instances for the NAT AMI. Systems Manager and Image Builder only.hkb-net-image-lifecycleImage Builder lifecycle policy for the NAT AMI. Deletes images beyond the newest two.hkb-net-natNAT instance. Session Manager and Patch Manager only.hkb-net-nat-schedulerEventBridge Scheduler. Starts and stops the NAT instance on the weekday window.hkb-net-flow-logsVPC Flow Logs delivery to /hkb/network/flow-logs only.
Control test coverage
Cost
$7.06 in 2026-11 to date. Org-wide cost.
Page information
- Owner
- Platform Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
site/content/accounts.md,HKB Dev Account.md- Linked from
- Architecture, Management, Shared Services, As-built record, GuardDuty, Security Hub CSPM and 26 more