IntermediateAbout 15 min

    VPC & Subnets

    Read the full article on Substack

    7 min read.

    Animate traffic flowing through an Internet Gateway into Public and Private subnets within a Virtual Private Cloud.

    Think of it this way: A VPC is like an office building. The Internet Gateway is the front door. The Public Subnet is the reception area where anyone can walk in. The Private Subnet is the back office where only employees who passed reception can enter.

    VPC 10.0.0.0/16Public subnet 10.0.1.0/24Private subnet 10.0.2.0/24InternetInternet gatewayWeb server10.0.1.10Web server 2Database10.0.2.20Replica

    Press Play to send one web request through the VPC.

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    Public or private subnet?

    Sort

    Sort each resource or rule into the subnet it belongs to.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Public subnet

    Drop items here

    Private subnet

    Drop items here
    6 pieces left to place

    Quiz

    21 questions
    Question 1 of 21
    Score: 0

    What allows resources within a Public Subnet to communicate with the outside internet?

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going