What a DevOps engineer actually does
In this task you'll see the whole DevOps toolchain on one page.
DevOps is a way of working where the people who build software and the people who run it share the job of getting changes to customers quickly and safely. The engineer's work is mostly building the paths changes travel along: version control, automated builds and tests, infrastructure as code, deployments that can be undone, and monitoring that tells you when something's wrong.
A useful test of any team: how often can you release, how long does a change take to reach production, how often does a release cause a problem, and how quickly do you recover? Those four numbers (the DORA metrics) improve together when the paths are automated.
Example. At Fernhill Cloud, a developer opens a pull request; the pipeline builds a container, runs tests and a security scan, Terraform plans the infrastructure change, a reviewer approves, and the same pipeline deploys to staging, then to production behind a 10% canary. Nobody logs on to a server.
Before you start
You need: Nothing. Time: 10 minutes.
Where to look
- Code (Git)
- Pipeline (build and test)
- Registry (images)
- Infrastructure as code
- Release (canary, slots)
- Monitoring
Steps
- Read the four DORA metrics above and think of a team you know: which is weakest?It tells you which part of the path to automate first.
- Look at the roadmap on this guide's home page: each station is one link in the path.You'll build every link in the tasks and labs.
- Open the Labs tab and read Robin Ashby's note: the tickets follow the same order.
Commands
# The tools you'll use, all already in Azure Cloud Shell
git --version
az version --query '"azure-cli"'
kubectl version --client
helm version --short
terraform version
Watch out for
- Cost
- Free.
- Security
- Speed without safety isn't DevOps: every fast path also needs reviews, scans and a way back.
- Common mistakes
- Treating DevOps as a job title or a tool to buy. It's practices first; tools follow.
Clean up
Nothing to clean up.
Words to know
- Pipeline
- An automated sequence of steps (build, test, deploy) that runs when code changes.
- Infrastructure as code
- Servers, networks and settings described in files and created by tools, not by clicking.
- DORA metrics
- Deployment frequency, lead time for changes, change failure rate and time to restore.
Tick off each step and track your progress in the guide.
Open this task in DevOps, Hands On