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 Prod10.30.0.0/16, with the next /16 kept for us-west-2. The same template builds it in Sandbox and Dev.
Flow
Both private subnets reach the internet only through the NAT instance in public subnet A.
Configuration
| Setting | Value |
|---|---|
| CIDR | Sandbox 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 |
| Subnets | Public 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 table | Default route to the internet gateway |
| Private route table | One for both private subnets. Its default route to the NAT instance is added by the NAT stack |
| Image builds | Public subnet B, with the hkb-net-image-build security group: no inbound, HTTPS and HTTP out. See NAT image |
| Flow logs | All traffic, 10-minute aggregation, to /hkb/network/flow-logs, kept 30 days. Delivered by hkb-net-flow-logs |
| Parameters | The VPC, subnet, route table and security group IDs are published under /hkb/network/ in SSM, which the NAT and image stacks read |
| Deployed by | The 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
- Prod