Topic 3 of 12

Networking for DevOps

Learn how traffic finds a service, crosses networks and gets past firewalls, then use one repeatable method to find where a connection breaks.

After this topic you can: You can explain how a request travels from a client to a service, and you can walk the layers with dig, ss, curl and openssl to find where it fails.

8 lessons · 70 min · 0 of 8 done

Best read after: Linux and the shell

Draft. This lesson is written and waiting for a person to run every command and review it. It is safe to learn from, but check the official documentation for anything you depend on.

Lessons, in order

  1. 1IP addresses, CIDR and subnetsCoreRead an address like 10.0.1.0/24, work out how many hosts it holds, and tell private ranges from public ones before you plan a network.8 min
  2. 2Ports, TCP and UDPCoreLearn what a port is, how a process listens on one, why binding to 127.0.0.1 differs from 0.0.0.0, and how to see it all with ss.8 min
  3. 3DNS: how names become addressesCoreFollow a lookup from your app to the authoritative server, read records with dig, and tell NXDOMAIN, stale caches and local overrides apart.9 min
  4. 4HTTP, HTTPS and TLS certificatesCoreRead an HTTP request and response, learn what status codes mean, and see how TLS and certificates protect traffic and where they stop.10 min
  5. 5NAT and routing: how traffic leavesCoreSee how a router picks the next hop, why private machines can reach the internet but not the reverse, and where a NAT gateway fits in a cloud network.8 min
  6. 6Firewalls and security groupsCoreUnderstand allow rules, default deny and stateful return traffic, and tell a firewall timeout from a refused connection to find who blocks you.8 min
  7. 7Load balancers and reverse proxiesAdvancedLearn how a proxy sits in front of servers to share requests, check health and route by path, then run one locally with nginx and see round robin.9 min
  8. 8Debugging network problems layer by layerCoreUse a fixed order, name then route then port then TLS then HTTP, with dig, ping, nc, openssl and curl to find exactly where a connection breaks.10 min

Keep these open while you learn

Next topic

Python and scripting for opsLearn when to reach for Bash or Python, and write small ops scripts that read files, parse config, call APIs and run commands without surprises.

Search

Search cheat sheets and projects