Automation in DevOps: beyond CI/CD
Where automation pays off after the pipeline: infrastructure, operations, security, and AI with a person in charge.
CI/CD automates building, testing and releasing. Mature teams automate much more: creating environments (infrastructure as code), keeping them right (GitOps, drift checks, policy as code), running them (alerts that open tickets, runbooks that fix known problems, scheduled clean-ups) and securing them (scanning, dependency updates, secret blocking).
The aim is fewer manual steps, not fewer people: engineers spend their time on design and hard problems instead of repeating the same fix. Every automation is code, reviewed, versioned and owned by someone.
Cost. Mostly free: GitHub Actions on public repositories, and small Azure costs for alerts, Logic Apps and Automation.
Use it when
- the same manual job keeps appearing in tickets or on-call notes.
- mistakes come from people doing a repetitive step by hand.
- something must happen at 3 a.m. and nobody should have to wake up for it.
How it works
- Event-driven
- Something happens (a push, an alert, a comment) and automation responds: CI, alert-to-issue, ChatOps.
- Scheduled
- Runs on a timer: nightly tests, housekeeping, cost reports, drift checks.
- Self-service
- People request something and automation does it within guard rails: environments from templates, access packages.
- Self-healing
- Automation fixes a known problem and calls a person if the fix fails.
Options
- GitHub Actions
- Automation around code and repositories.
- Azure Automation and Logic Apps
- Automation around Azure resources and alerts.
- Kubernetes operators and KEDA
- Automation inside the cluster.
Example. SS Kaiser's platform team listed every manual job from a month of tickets. The top three (restarting a stuck worker, deleting merged branches, creating test environments) now run as a runbook, a scheduled workflow and a Deployment Environments template, saving about 10 hours a week.
Don't confuse it with
- CI/CD
- One kind of automation: the path from commit to production.
- Scripts on a laptop
- Automation nobody else can see, review or run: move them into a repository.
Words to know
- Toil
- Manual, repetitive operational work.
- Self-service
- People get what they need through automation, without a ticket.
Where to look
- Ticket history
- On-call notes
- Repositories
Practise it
- Choose what to automate firstHow-to, Look only
- Schedule housekeeping with GitHub ActionsHow-to, Free
- Turn alerts into tickets automaticallyHow-to, Free
- Fix known problems with runbooksHow-to, Free tier
Read it in the guide, next to the tasks and labs.
Open in DevOps, Hands On