How to Reduce your Cloud Spend? Five Steps Edition

Aaron Ginder
4 min readNov 1, 2023
https://marketoonist.com/wp-content/uploads/2013/04/130421.costcutting.jpg

Here are five steps to reduce your cloud costs… (not in order of priority).

1. Ephemeral machines everywhere

The true power of autoscaling. Modern architectures today have the ability to scale up and down. Take the master-slave architecture as an example, all corporate organisations I have worked use this for ETL orchestration and data processing. Apache Airflow, Hadoop, Spark can have a persistent master cluster. Why not tear them down only to spin them up as dictated by demand?

If the time to provision resources is too long, serverless architecture becomes key. The more you can use serverless or ephemeral, the better because you only pay for what you use.

2. Constructive code reviews

Often overlooked, yet critical to reducing long term cost inflation.

Key aspects of a merge request should:

  • Provide a friendly description of what the merge request does for context (i.e. no code mentioned in the description)
  • A checklist of what has happened, essentially an acceptance criteria & implementation plan
  • Detail what feature(s) or issue(s) the code changes resolve
  • Key changes to signpost where the reviewer should focus their attention

--

--

Aaron Ginder

An enthusiastic technologist looking to share my passion for cloud computing, programming and software engineering.