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

Starred pages

Pages

Page directory · Labels · [ hides this

VPC

The workload VPC, one per account in Sandbox, Dev and Prod, built by the same template. Two Availability Zones, each with a public and a private subnet, and one NAT instance for the private side.

In Dev10.20.0.0/16, with the next /16 kept for us-west-2. The same template builds it in Sandbox and Prod.

Flow

Workload VPC layoutThe same VPC in each workload account (Sandbox, Dev and Prod): Sandbox 10.10.0.0/16, Dev 10.20.0.0/16, Prod 10.30.0.0/16. It spans two Availability Zones in us-east-1, each with a public subnet and a private subnet. The public route table sends 0.0.0.0/0 to the internet gateway. One private route table, for both private subnets, sends 0.0.0.0/0 to the NAT instance in public subnet A. Public subnet B hosts the Image Builder build instance. VPC Flow Logs record all traffic to CloudWatch Logs, and the IDs are published to SSM Parameter Store for the NAT and image stacks.AWS CloudEach workload accountone VPC each, in Sandbox, Dev and Produs-east-1VPC · 10.x.0.0/16x: Sandbox 10, Dev 20, Prod 30Availability Zone AAvailability Zone BPublic subnet A10.x.0.0/24Public subnet B10.x.1.0/24Private subnet A10.x.2.0/24Private subnet B10.x.3.0/24Route tablesFlow logs and parametersInternet gatewayNAT instancet4g.microImage buildswhile one runsNo workloads yetNo workloads yetPublic: 0.0.0.0/0 to the internet gatewayPrivate, one for both subnets: 0.0.0.0/0 to the NAT instance, added by the NAT stackhkb-net-flow-logsdelivers flow logs/hkb/network/IDs for other stacksAll traffic, 10-minute, to /hkb/network/flow-logs, 30 daysLegendRequest / dataEvent / logBlueOpens its pageinternetflow logs
Workload VPC layoutOpen full sizeClose

Both private subnets reach the internet only through the NAT instance in public subnet A.

Configuration

SettingValue
CIDRSandbox 10.10.0.0/16, Dev 10.20.0.0/16, Prod 10.30.0.0/16. The next /16 up in each is kept for us-west-2
SubnetsPublic A 10.x.0.0/24 and B 10.x.1.0/24, private A 10.x.2.0/24 and B 10.x.3.0/24, where x is the account's octet. No subnet assigns public IPs at launch
Public route tableDefault route to the internet gateway
Private route tableOne for both private subnets. Its default route to the NAT instance is added by the NAT stack
Image buildsPublic subnet B, with the hkb-net-image-build security group: no inbound, HTTPS and HTTP out. See NAT image
Flow logsAll traffic, 10-minute aggregation, to /hkb/network/flow-logs, kept 30 days. Delivered by hkb-net-flow-logs
ParametersThe VPC, subnet, route table and security group IDs are published under /hkb/network/ in SSM, which the NAT and image stacks read
Deployed byThe platform pipeline's network stages, as hkb-pipeline-cfn-network

Sources

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
network/hkb-vpc.yaml
Linked from
Dev