Multi-tier VPC architecture
A three-tier network across two availability zones, with no SSH anywhere.
Northbeam's network, built by hand in the console to understand every piece before automating it.
VPCSubnetsSecurity groupsNACLVPC endpointsSSM
Read the write-upBuild a segmented network by hand, in the console, with no Terraform, so that every piece is understood before it gets scripted away. No SSH anywhere: no key pairs and no open port 22.
Architecture
What I built
- 1A 10.0.0.0/16 VPC split into six subnets across three tiers and two availability zones in eu-north-1.
- 2An internet gateway for the public tier, and a NAT gateway so the app tier can reach out without being reachable.
- 3Security groups chained by group reference, so nothing is trusted just for being on the right subnet.
- 4A NACL built deliberately to demonstrate that it does not remember connections the way a security group does.
- 5An S3 gateway endpoint so the data tier never touches the internet, plus SSM interface endpoints to keep it manageable.
- 6An endpoint policy on top, so a mistake in IAM would still not open every bucket in the account.
What broke and how I fixed it
- A connection that hangs means there is no route. The packet has nowhere to go and is dropped quietly.
- An instant refusal is often a good sign: the security group allowed the request and the operating system on the other end answered.
- A request that goes through while the reply never returns is almost always a NACL. They are stateless, so the reply needs its own rule.