What to Automate
Automation lets a FinOps practice scale beyond what people can do by hand. This lesson explains which cost management tasks are good candidates for automation, which need human judgment, and how to introduce automation safely.
Learning outcomes
After completing this lesson, you will be able to:
- Identify cost management tasks that suit automation.
- Distinguish tasks that need human judgment.
- Compare inform, recommend and act levels of automation.
- Describe a safe process for introducing automation.
Why automate
A large organization may have hundreds of accounts, thousands of engineers and millions of resources. Checking tags, stopping idle environments or chasing owners by hand does not scale, and manual processes run late and inconsistently. Automation applies the same rule every time, at any scale and at any hour, and frees FinOps practitioners and engineers for work that needs judgment.
Automation also supports the Operate phase of the FinOps lifecycle: once an optimization is made, automation keeps it in place, for example by ensuring that new development environments are scheduled from the start rather than being found and fixed later.
Good candidates
Tasks are good candidates for automation when they are repetitive, rule-based, frequent or high-volume, and when the right action is clear. The following list gives common examples.
- Tag enforcement and reporting: blocking or reporting resources without required tags.
- Scheduling: starting and stopping non-production resources according to tags.
- Orphan clean-up: deleting unattached volumes, old snapshots and unused addresses after a grace period.
- Alerts: sending budget and anomaly alerts to the owning team.
- Reporting: distributing daily or weekly cost reports and dashboards.
- Commitment monitoring: tracking utilization, coverage and upcoming expiries.
- Ticket creation: turning recommendations into backlog items for the owning team.
Automate fully or keep judgment?
Tasks that need judgment
Other tasks involve trade-offs that a rule cannot capture: rightsizing a production database, changing an architecture, buying a three-year commitment, or deciding whether an expensive workload is worth its cost. For these, automation should recommend and provide evidence, and a person should decide. Over time, some decisions can move toward automation within limits, for example automatically applying rightsizing recommendations to development environments while keeping production changes manual.
The following comparison summarizes three levels of automation.
The following diagram matches three example tasks to a level of automation.

Introducing automation safely
Automation that deletes or stops resources can cause outages if it is wrong, and a single incident can destroy trust in the FinOps practice. The following steps describe a safe introduction.
-
Agree the rule
Define the rule with the affected teams, including exceptions.
-
Run in dry-run mode
Report what the automation would do, without doing it, and review the results.
-
Notify before acting
Tell owners what will happen and when, with a way to opt out.
-
Act with a safety net
Stop before deleting, or snapshot before deleting, and keep a grace period.
-
Measure and review
Record what the automation did and the savings, and review exceptions and errors.
Ownership and cost of automation
Every automation needs an owner who maintains it as provider APIs, tags and policies change. Automation also has its own cost: compute for scripts and functions, API requests (some cost APIs charge per request), logging and engineering time. These are usually small compared with the savings, but they should be known, especially for automations that run very frequently.
Owning automation
Choosing the level
A FinOps team wants to automate three things: (a) stopping development instances overnight, (b) downsizing production instances below 10% CPU, and (c) deleting unattached volumes older than 30 days. What level of automation fits each?
(a) Act: the rule is clear, the risk is low and stopped instances can be restarted; provide an override tag. (b) Recommend: production rightsizing needs memory data, peak analysis and testing, so automation should create tickets with evidence. (c) Act with a safety net: notify owners, snapshot each volume and delete after a grace period, respecting exception tags such as legal holds.
An automation that lost trust
A new script stopped every instance tagged env=dev at 19:00. It stopped a shared build server tagged dev that overnight builds depended on, and the release was delayed. What should have been done?
The script should have run in dry-run mode first, listing the instances it would stop, and owners should have been notified with a way to opt out using an exception tag such as schedule=always-on. Agreeing the rule with the teams beforehand would have revealed the overnight build dependency. Restoring trust now requires fixing the rule, adding the exception mechanism and communicating the change.
Why should a new clean-up automation run in dry-run mode first?
Show answer
A dry run shows what the automation would change without changing it, so owners can spot resources that should be excluded before anything is stopped or deleted.
Exam Tips
Remember for the exam
- Automate repetitive, rule-based, high-volume tasks with clear right answers.
- For judgment calls, automate the recommendation and let a person decide.
- Introduce automation with agreement, dry runs, notifications, safety nets and measurement.
- Every automation needs an owner and has its own small cost.