Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 03 · DevOps · Regions, networks and doors · about 16 min to read

Play it as a journeyTutor comes with a plan

Security Groups vs Network ACLs

Security - SG vs NACL
Security, SG vs NACL · Open board

Two firewalls on one private network, one guarding a single machine and one guarding a whole slice of the network, built from opposite ideas about what a firewall should remember.

Before you start. You need to know that a TCP connection opens with a SYN and gets an answering SYN-ACK back,TCP vs UDP, and the 3-way handshake covered that handshake. Data crosses a network in small numbered chunks called packets, each carrying a from-address and a to-address. You need “port” to mean nothing more than which door on that address a packet is headed for, the way One address, a thousand doors put it. Nothing else is assumed.

Lesson 28 of 70 in DevOps

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 1988: the worm that made networks want a wall
  • The tax a stateless wall charges everyone
  • 1994: a wall that remembers
  • Same VPC, opposite decades
  • The hang that isn’t a refusal
  • When the older design still wins

Terms it explains: packets, stateless, ephemeral port, stateful, connection-tracking table, VPC, subnets, security group, instance, network ACL, first match wins, subnet, default, custom, silent drop → hang, client's ephemeral source port, inbound, no deny verb, identity, not involved.

Lab

Your packet passed both gates on the way in. Does the answer get back out?

Open The reply nobody wrote a rule for, then untick rules on either sheet and read the hops under The packet.

Open The two gates

Review DevOps