Agile, Cloud, DevOps, and Git
How Agile, the cloud, DevOps, and Git each tie into automation, and how they work together.
How it all connects
Automation doesn't stand alone. Agile decides which automation to build and delivers it in small pieces; the cloud makes everything programmable; DevOps provides the culture and pipelines that run it; and Git holds the automation code as the single source of truth. Together, they're how modern database work gets done.
Agile: plan and deliver automation in increments
Automation projects are software projects, and they go better when run the Agile way, as in Agile and DevOps Together:
- Toil goes on the backlog. Each manual task worth automating becomes a story, prioritized against other work, so automation gets real time instead of "when things are quiet".
- Deliver something useful each sprint. Automate the precheck first, then the patch, then the rollback, rather than spending six months on a perfect system nobody can use yet.
- Get feedback early. Sprint reviews show the automation to the people who'll rely on it, while it's still easy to change.
- Improve continuously. Retrospectives and incidents reveal the next thing to automate.
Cloud: everything is programmable
On-premises, automation often stopped at the edge of the hardware: someone still had to rack a server, allocate storage, or open a firewall port. In the cloud, every resource, from a network to a database to a backup policy, is created and changed through an API. That removes the last manual steps, so whole environments can be built from code in minutes.
The cloud also makes automation a necessity. Resources are easy to create, so without automation, environments sprawl, settings drift, and costs grow. Automated provisioning, tagging, scheduling, and clean-up keep them under control, as covered in the Cloud Cost Optimization lesson.
DevOps: the culture and the pipelines
DevOps, from What Is DevOps, puts automation at its center, the A in CALMS. It contributes two things:
- The culture
- Shared ownership means DBAs, developers, and operations build automation together, so a database server isn't half automated by one team and finished by hand by another.
- The pipelines
- CI/CD pipelines are where automation runs: they test it, ask for approvals, apply it to each environment in turn, and keep a log of every run.
Git: the source of truth
All automation code, such as Terraform files, Ansible playbooks, migration scripts, and pipeline definitions, lives in Git, as you learned in Git for DBAs. That gives automation the same benefits as any other code:
- Every change to the automation is reviewed in a pull request before it runs.
- The history shows exactly what the automation did at any point in time.
- Merging to
maincan trigger the automation itself, which leads to GitOps, covered later in this module.
Key takeaways
- Agile turns toil into backlog stories and delivers automation in small, useful increments.
- The cloud makes every resource an API, so whole environments can be automated, and needs automation to stay under control.
- DevOps provides the shared ownership and the pipelines that test, approve, and run automation.
- Git is the source of truth for automation code, with review, history, and triggers.