latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

account root / Workloads OU / Prod OU

Prod

Prod serves this site on hirekylebuhrmann.com. Only the pipeline changes it, and a build reaches Prod only after it has deployed to Sandbox and Dev.

The site's S3 bucket is never public. CloudFront serves it over HTTPS, with HSTS and a content security policy that allows only the site's own files.

Site and network

Each has its own page, with its configuration as deployed.

Components

Prod account diagramThe Prod account in the AWS Cloud. Global services: Route 53, CloudFront, AWS Budgets and the pipeline's IAM roles. In us-east-1: the site origin (S3 bucket, KMS key, ACM certificate), the spend cutoff Lambda, the security baseline (CloudTrail, GuardDuty, EventBridge rules) and a VPC across two Availability Zones with a NAT instance. Shared Services, Security, Log Archive and Management sit outside the account.AWS CloudProd · hkb-prodroot / Workloads OU / Prod OUGlobal servicesus-east-1 · home RegionSite originSpend cutoffSecurity baselineVPC · 10.30.0.0/16Availability Zone AAvailability Zone BPublic subnet10.30.0.0/24Public subnet10.30.1.0/24Private subnet10.30.2.0/24Private subnet10.30.3.0/24Also in this account, not drawnShared ServicesSecurityLog ArchiveManagementVisitorany browserRoute 53public hosted zoneCloudFrontHTTPS, HSTS, CSPAWS Budgets$5 CloudFront capIAM rolesdeploy roles for the pipelineKMS keyencrypts the bucketS3 bucketprivate, versionedACM certificateTLS for CloudFrontLambdaturns the site offCloudTrailorg trailGuardDutythreat detectionEventBridge rulesforward eventsInternet gatewayNAT instancet4g.micro, outbound onlyNo hostsNo workloads yetNo workloads yetCloudFront Function, headers policyCutoff SNS topic, KMS key, ruleIAM Identity Center (read-only)Permission boundariesParameter Store /hkb/ catalogAccount-settings LambdaSecurity Hub and ConfigElastic IP, VPC flow logsImage Builder, Scheduler, Patch Managerus-west-2: event forwarders, EBS default encryptionCodePipelinesite + StackSetsEvent busalerts by emailS3 bucketorg trailOrganizationsSCPsLegend1Request or run orderRequest / dataDeploy (assumes a role)Event / logSpend cutoffAttached / governsBlueOpens its pageDNS1alias2via OAC34over $5Enabled = falseassume roleStackSetssecurity eventstrailinternetSCPs
Prod account diagramOpen full sizeClose

The numbers trace one page request: DNS, then CloudFront, which reads the private bucket through origin access control and decrypts with the site key. Over $5 of CloudFront spend in a month, the cutoff Lambda turns the distribution off. Open the diagram for the network tier and the accounts Prod works with.

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, 16 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)8 h sessions
  • HKB-SupportOpen and manage AWS Support cases, nothing else1 h sessions

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.boundary hkb-pipeline-boundary
  • hkb-events-forwarderEventBridge forwarder. Puts the security events these rules match onto the central bus in Security, and nothing else.boundary hkb-pipeline-boundary
  • 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.boundary hkb-pipeline-boundary
  • 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.boundary hkb-pipeline-boundary
  • 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.boundary hkb-pipeline-boundary
  • 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.boundary hkb-network-boundary
  • 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.boundary hkb-network-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.boundary hkb-scanner-boundary
  • hkb-site-cutoffExecution role of the hkb-site-cutoff function. Disables the site distribution, nothing else.boundary hkb-pipeline-boundary
  • hkb-site-trafficService role of the hkb-site-traffic job. Reads the site's access logs and metrics, writes the traffic page's data file.boundary hkb-workload-boundary
  • hkb-site-traffic-scheduleEventBridge Scheduler role. Starts the hkb-site-traffic job, nothing else.boundary hkb-pipeline-boundary
  • hkb-net-image-buildImage Builder build and test instances for the NAT AMI. Systems Manager and Image Builder only.boundary hkb-workload-boundary
  • hkb-net-image-lifecycleImage Builder lifecycle policy for the NAT AMI. Deletes images beyond the newest two.boundary hkb-workload-boundary
  • hkb-net-natNAT instance. Session Manager and Patch Manager only.boundary hkb-workload-boundary
  • hkb-net-nat-schedulerEventBridge Scheduler. Starts and stops the NAT instance on the weekday window.boundary hkb-workload-boundary
  • hkb-net-flow-logsVPC Flow Logs delivery to /hkb/network/flow-logs only.boundary hkb-workload-boundary

Control test coverage

Cost

$8.25 in 2026-11 to date. Org-wide cost.

As-built record: the account's scope and current state, as kept in the repository.

Sources: D42, DQ-157, DQ-79, DQ-110, DQ-130, D19

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 Prod Account.md
Linked from
Architecture, Management, Log Archive, Shared Services, As-built record, GuardDuty and 37 more