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 / SDLC OU

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.

Components

Dev account diagramThe Dev account in the AWS Cloud. Global services: CloudFront on its default domain with noindex, and the pipeline's deploy roles. In us-east-1: the site origin (S3 bucket, KMS key), the security baseline, and a VPC across two Availability Zones with a NAT instance that runs on weekdays. Only the pipeline changes it. Shared Services, Security, Log Archive and Management sit outside the account.AWS CloudDev · hkb-devroot / Workloads OU / SDLC OUGlobal servicesus-east-1 · home RegionSite originNAT schedule and patchingSecurity baselineVPC · 10.20.0.0/16Availability Zone AAvailability Zone BPublic subnet10.20.0.0/24Public subnet10.20.1.0/24Private subnet10.20.2.0/24Private subnet10.20.3.0/24Also in this account, not drawnShared ServicesSecurityLog ArchiveManagementTesterDev URL, not sharedCloudFrontdefault domain, noindexHKB-ReadOnlythe only sign-inDeploy roles, assumed by the site pipelinehkb-pipeline-sitedeploy actionhkb-pipeline-cfn-siteCloudFormationhkb-pipeline-site-syncuploads filesKMS keyalias/hkb-siteS3 bucketprivate, versionedSchedulerweekdays 07:00-19:00Patch Managerscans the NATCloudTrailorg trailGuardDutythreat detectionEventBridge rulesforward eventsInternet gatewayNAT instancet4g.micro, outbound onlyNo hostsNo workloads yetNo workloads yetCloudFront Function, headers policyPermission boundariesParameter Store /hkb/ catalogAccount-settings LambdaSecurity Hub and ConfigElastic IP, VPC flow logsImage Builderus-west-2: event forwarders, EBS default encryptionCodePipelinesite + StackSetsEvent busalerts by emailS3 bucketorg trailOrganizationsSCPsLegend1Request or run orderRequest / dataDeploy (assumes a role)Event / logAttached / governsBlueOpens its pageHTTPS1via OAC23assume rolefilesStackSetssecurity eventstrailstarts, stopsSCPs
Dev account diagramOpen full sizeClose

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)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-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

$7.06 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 Dev Account.md
Linked from
Architecture, Management, Shared Services, As-built record, GuardDuty, Security Hub CSPM and 26 more