Schedule and Wrap Cron Jobs Safely (Bash Ops)
Wrap Bash scripts for cron with locks, PATH, logs, timeouts, and exit codes — so night jobs stay boring.
Wrap Bash scripts for cron with locks, PATH, logs, timeouts, and exit codes — so night jobs stay boring.
What ops must know about APIs: TLS, authn/z, secrets, rate limits, inventory — defensive and high-level.
High-level OWASP API Top 10 for operators: exposure, auth misconfig, inventory, and monitoring — no attack steps.
Design and monitor API healthchecks with timeouts, dependency honesty, and alerts that wake the right human.
Browser screaming certificate expired? Renew Let’s Encrypt or replace the cert, reload the proxy, and set monitoring so this never ambushes you again.
Process vanished? Kernel OOM killer likely shot it. Read dmesg/journal, score victims, and fix memory pressure without cargo-cult swap.
Skip hello-world fluff. Build a real Ansible role that hardens SSH baselines, installs packages, and ships configs you can reuse across servers.
Use Docker Compose like an operator: pin images, map ports carefully, handle logs, restarts, and backups — without turning every app into a mesh demo.
fail2ban bans bad actors in logs; cloud security groups block ports at the edge. Use both on purpose — here’s what each actually stops.
Can’t connect to MySQL/MariaDB? Connection refused means nothing accepted the TCP handshake. Check listen address, socket, service, and firewall in order.