Skip to content

← Week 8 | Overview | Week 10 →

Week 9 - Provision and harden a VPS

Phase 3: Run a real server (Weeks 9-12)

  • Done

Goal: Get a clean internet-facing server you fully control.

Exercises:

  • Rent a small Ubuntu LTS VPS (for example at Hetzner) or use a VM on your own hypervisor.
  • Create a non-root admin user, SSH key login, disable password and root login.
  • Configure ufw (allow 22, 80, 443 only), fail2ban and unattended-upgrades.
  • Check logins with last, lastb and /var/log/auth.log.

Deliverable: A hardening checklist you could hand to a colleague, with every command listed.

My notes: week-09-notes.md


← Week 8 | Overview | Week 10 →