How to reduce your AWS Cost — Part 4

Prabhath Suminda Pathirana
3 min readApr 7, 2024
Photo by Alicia Christin Gerald on Unsplash

This is the fourth part of this article series which comes a long time after the last one (You can find the other articles in my medium space). The reason for that is there was no plan to write a 4th one. But recently I realized there are some more areas that are not covered in the previous articles resulting in this one.

Reserved instances

If you are using any type of EC2-like instances (EC2, RDS instances, ECS EC2, etc.)for your workloads and these workloads are expected to run long time you need to seriously think of purchasing some reserved instances. The idea is that you will purchase a contract with a much lower price compared to the on-demand price committing to run the same workload for one or more years.

Think of a situation like this. You have an auto-scaled workload which needs a baseline of 2 M7a instances. It might scale up to 5–6 instances depending on the load. So you can purchase 2 reserved instances of M7a since it will be utilized regardless of the load. The rest of the instances can be on-demand. https://aws.amazon.com/ec2/pricing/reserved-instances/

Savings plans

This is one of the areas which people are less aware of. Reserved instances can be only utilized if you are dealing with instances. What if you are using a serverless stack like Lambda or Fargate…

--

--

Prabhath Suminda Pathirana

Software Architect, AWS Certified Solutions Architect (Professional)