{"id":1692,"date":"2019-08-13T15:32:42","date_gmt":"2019-08-13T03:32:42","guid":{"rendered":"http:\/\/www.helenanderson.co.nz\/?p=1692"},"modified":"2020-07-03T00:15:46","modified_gmt":"2020-07-02T12:15:46","slug":"vpc-london-underground","status":"publish","type":"post","link":"https:\/\/helenanderson.co.nz\/vpc-london-underground\/","title":{"rendered":"Why a VPC is like the London Underground"},"content":{"rendered":"\n

Networking is hard.<\/p>\n\n\n\n

If you have not come from a traditional IT background, the VPC part of the AWS Certification training is tricky. There is talk of CIDR blocks, subnets and spaghetti mess diagrams.<\/p>\n\n\n\n

Sort of like the London Underground. Which got me thinking. When I moved to London, the Underground system seemed really overwhelming. But it didn’t take too long to figure out. By the end of my four years, I could tell you which door to get on the train so you could avoid the crowds and get out quickly at the other end.<\/p>\n\n\n\n

Turns out there are a lot of similarities between the two. If I could figure out The Tube map with all its zones, stations, platforms and jargon, surely I could figure out VPCs.<\/p>\n\n\n\n


\n\n\n\n
<\/figure><\/div>\n\n\n\n
\n\n\n\n

Introduction<\/a>
VPC<\/strong> – London Underground Network<\/a>
Availability Zone<\/strong> – Fare Zone<\/a>
Subnet<\/strong> – Station<\/a>
Route Table<\/strong> – Timetable<\/a>
Network Access Control Lists<\/strong> – Signals<\/a>
VPC Peering<\/strong> – Travelling on other services<\/a><\/p><\/blockquote>\n\n\n\n


\n\n\n\n

<\/a><\/p>\n\n\n\n

Introduction<\/h2>\n\n\n\n

Here is the example network diagram from the AWS documentation<\/a>. This post hopes to break down all the components in this diagram and draw some parallels from the London Underground network.<\/p>\n\n\n\n

<\/figure><\/div>\n\n\n\n
\n\n\n\n

<\/a><\/p>\n\n\n\n

VPC<\/strong> – London Underground network<\/h2>\n\n\n\n

To put it simply, a VPC<\/a> is a network within your AWS account that holds your AWS services.<\/p>\n\n\n\n

Think of it as your own data centre. You decide how big it needs to be by assigning a range of IP addresses. This is called a CIDR block<\/a>(Classless Inter-Domain Routing) and it allows us to track and restrict the sort of traffic and users<\/a> access our instances.<\/p>\n\n\n\n

Key things to know:<\/p>\n\n\n\n