Level 6 · Cloud Computing, DevOps and Cybersecurity · Course 6.1 Linux and Servers
Module 65: Server Management
Goal: look after a real server safely: connect with SSH keys, keep software updated, run your app as a managed service with systemd, read system logs, and keep an eye on its health.
You'll need: your Linux lab, and optionally a small cloud VPS (only once you've practised in the lab).
Lessons
- 1SSH and keys15–25 minutes✓
- 2Packages and updates15–25 minutes✓
- 3Running your app with systemd15–25 minutes✓
- 4Logs15–25 minutes✓
- 5Monitoring a server15–25 minutes✓
🛠️Module practice: Project A, part 3, a managed server
In your lab (or a VPS, after practising):
- Key-only SSH, no root login, fail2ban installed.
- Automatic security updates on; minimal software installed.
- Your API running under systemd as a limited user, restarting on failure, with secrets in a
600env file. - Logs read with journalctl, journald size limited.
- Basic monitoring and an external uptime check. Notes in
lab-notes.md.
✅Module check
Explain in a few sentences, in your own words:
How do you run and look after an application on a Linux server safely?
Show a good answer
A good answer mentions: connect with SSH keys only (passphrase-protected private key, no password or root login, fail2ban); keep the system updated with automatic security updates and minimal software from trusted sources; run the app under systemd as a limited user with secrets in a protected env file, starting on boot and restarting on failure; read logs with journalctl and rotate them; and monitor CPU, memory, disk, the app's health and uptime from outside, alerting only on what needs action.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
