Shipping ItLesson 40 of 74

Module 5 · Staying alive: the bad day and the day after

The short list that actually matters

In this lesson

  • 10 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 2 of 10 in this chapter

This chapter’s goalRun the first thirty minutes of a real outage from a written runbook, and leave behind a postmortem and a handover that change what happens next time.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Nobody is attacking you personally

That is the useful frame. Almost nothing that happens to a small site is targeted. It is automated, indiscriminate, and looking for a short list of known-easy things. Which means a short list of defences covers most of the risk, and the exotic material you read about is not where your effort belongs yet.

The machine

If you run your own virtual machine:

  • SSH keys only. PasswordAuthentication no, PermitRootLogin no. Then look at the logs a week after launch: journalctl -u ssh | grep -c "Failed password" on a fresh public box regularly runs to thousands per day. That is the ambient rate, arriving at every address on the internet.
  • A firewall with three ports open: 22, 80, 443. Everything else closed by default.
  • Your database must not have a public IP. “It has a password” is not a plan. Shodan and similar services index open Postgres, Redis and MongoDB instances continuously, and unauthenticated Redis in particular has been mass-exploited for years. Bind to a private network, or to localhost, and reach it through the application or an SSH tunnel.
  • Automatic security updates. unattended-upgrades on Debian or Ubuntu. It is one package and it closes the window on the kernel and OpenSSL issues you will otherwise never patch.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Agents and Automation exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘The short list that actually matters’, in Shipping It. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/cloud-and-shipping/the-security-you-actually-need (Accessed: 29 November 2026).