sre
When an Ansible run fails halfway: rolling back from a CI pipeline
Ansible has no undo button. When a scheduled-pipeline apply fails halfway, getting back to a known state means planning for it before the run: small batches that stop early, file backups and validation, block/rescue for per-host recovery, a revert that goes through the same pipeline, and knowing which changes a revert cannot take back.
Running Ansible from a scheduled CI pipeline instead of cron or AWX
Cron on a management box and AWX both work for running Ansible. A scheduled CI pipeline gives you review, logs, history and secrets handling with less to run. How to set one up: drift checks on a schedule, applies promoted dev, stg, prd with an approval gate, change windows, locking, pinned versions, and the trade-offs.
A practical Linux OS hardening checklist
A hardening baseline for a fleet of Linux hosts: fewer packages, key-only SSH, regular patching with planned reboots, tight sudo, firewalls, audit logs shipped off the host, sensible sysctls and mount options. Then where it collides with latency tuning, and how to enforce it with Ansible.
On-call dashboards that actually get used
A page should land you on a dashboard that answers is it broken, for whom, since when, what changed and where. How to get there with Prometheus, Grafana and Loki: one service view, drill-down, change annotations, correct percentiles, logs that share labels, and pruning what nobody opens.
Reserving capacity for low-latency trading hosts on AWS
What noisy neighbours actually are on EC2, what Dedicated Instances, Dedicated Hosts and bare metal guarantee, and how On-Demand Capacity Reservations, placement groups and instance choice keep a low-latency trading host launchable and predictable.
Making changes you can take back: safe releases for infrastructure
Most outages start with a change. How to make every change small, checked, staged, verified and reversible, so a bad one costs minutes instead of hours.
Writing a postmortem that actually changes something
A postmortem is only worth writing if something changes afterwards. How to keep it blameless, decide when one is needed, structure it, write action items that get done, run the review, and avoid the usual failure modes. Includes a copyable template.
Designing alerts that only fire when a human needs to act
A page should mean a person has to do something, now. How to get there: alert on symptoms, split pages from tickets and dashboards, use SLO burn rates, tune thresholds and durations, prune what nobody acts on, and link every alert to a runbook.
Writing a runbook you can use at 3am
A runbook is for the person who was asleep five minutes ago. How to structure one so it can be followed half-awake: alert link, impact check, access, copy-pasteable commands with expected output, verification, rollback and escalation.
Timeouts and retries without making outages worse
Timeouts and retries are meant to make systems more reliable. Set up badly, they turn a slow dependency into an outage. How to set timeout budgets, back off with jitter, cap retries, and keep the tail under control.
SRE when latency matters as much as uptime
In a trading-style environment, a slow system is a down system. How that changes SLOs, redundancy, change management, capacity, alerting, degradation and incident response.
From the data centre to cloud SRE: what changed in twenty years, and what didn't
Twenty years from racked servers to cloud infrastructure: the parts of the job that changed completely, and the fundamentals that never moved.