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

Starred pages

Pages

Page directory · Labels · [ hides this

StackSets

The baselines every member account carries are service-managed StackSets, created from Shared Services as the StackSets delegated administrator and deployed by the platform pipeline's StackSets stage. 10 are defined.

Across the organization

StackSets across the organizationShared Services, the StackSets delegated administrator, deploys service-managed StackSets to the OUs each one targets. The baselines auto-deploy, so a new account in a targeted OU receives them. Every member account takes account, events, iam, scanner. Log Archive also takes catalog. Security also takes catalog. Prod also takes catalog, network, site-cutoff, site-traffic. Dev also takes catalog, network, noop. Sandbox also takes catalog, detection-test, network. The management account takes none: StackSets cannot reach it.AWS CloudAWS Organizations · organization rootManagementthe organization's control planeSecurity OULog ArchiveSecuritySharedServices OUShared ServicesWorkloads OUProd OUProdSDLC OUDevSandbox OUSandboxSuspendedDelegated administrator · Shared ServicesNo stack setsStackSets can't reach it5 stack sets5 stack sets4 stack sets8 stack sets7 stack sets7 stack setsemptyEvery member account takesaccount, events, iam, scanner+ catalog+ catalogthe common set+ catalog, networksite-cutoff, site-traffic+ catalog, networknoop+ catalog, detection-testnetworkPlatform pipelineStackSets stageStackSets10 setsService-managed; the baselines auto-deploy: a new account in a targeted OUreceives its stack sets, and leaving the OU removes them.Both Regions: events, scanner; the rest us-east-1 only.LegendDeploy (assumes a role)Attached / governsBlueOpens its pageStackSets deploy by OUas hkb-pipeline-stacksets
StackSets across the organizationOpen full sizeClose

Shared Services deploys each StackSet to the OUs it targets. 4 reach every member account; the rest go only where their resources belong.

Common settings

Every StackSet here uses SERVICE_MANAGED permissions, called as DELEGATED_ADMIN from Shared Services; managed execution on, so operations queue instead of failing on each other. Each instance template lives in baseline/; pipeline/scripts/build_stacksets.py wraps it into the StackSet template the pipeline deploys, and CI fails when the two differ.

StackSets

StackSetWhat it deploysTargetsRegionsAuto-deploy
hkb-baseline-accountAccount settings in every member account.Every member OUus-east-1on
hkb-baseline-catalogThe Parameter Store catalog.Security OU, SDLC OU, Prod OU, Sandbox OUus-east-1on
hkb-baseline-detection-testThe monthly GuardDuty detection test in hkb-sandbox.Sandbox OUus-east-1on
hkb-baseline-eventsSecurity event forwarding in every member account and both governed Regions.Every member OUus-east-1, us-west-2on
hkb-baseline-iamThe permissions boundaries hkb-pipeline-boundary and hkb-workload-boundary in every member account, and the site deploy roles hkb-pipeline-site, hkb-pipeline-cfn-site and hkb-pipeline-site-sync in Sandbox, Dev and Prod, and the Security deploy roles hkb-pipeline-security and hkb-pipeline-cfn-security, and the tools deploy roles hkb-pipeline-tools and hkb-pipeline-cfn-tools in Security.Every member OUus-east-1on
hkb-baseline-networkThe VPC tier's deploy roles hkb-pipeline-network and hkb-pipeline-cfn-network under hkb-network-boundary, in Sandbox, Dev and Prod.SDLC OU, Prod OU, Sandbox OUus-east-1on
hkb-baseline-scannerProwler's read-only scanner role hkb-scanner under hkb-scanner-boundary in every member account, taken on only by hkb-tool-prowler in Security, and Security Hub accepting Prowler's findings in both governed Regions.Every member OUus-east-1, us-west-2on
hkb-baseline-site-cutoffThe site cost cutoff in hkb-prod.Prod OUus-east-1on
hkb-baseline-site-trafficThe daily traffic job in hkb-prod.Prod OUus-east-1on
hkb-pipeline-noopNo-op service-managed StackSet proving the pipeline StackSets path.SDLC OUus-east-1off

With auto-deploy on, a StackSet reaches a new account as soon as it joins a target OU, and its stacks are removed when the account leaves. The management account takes none of them: StackSets can't reach it, so its own stacks are reviewed change sets run by hand.

Sources

  • Templates and scripts: pipeline/hkb-stacksets-*.yaml, baseline/, pipeline/scripts/build_stacksets.py

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
pipeline
Linked from
Shared Services, hkb-pipeline-main, Traffic job, Cost cutoff, Detection test