How to reduce your AWS bill up to 60%

Let’s face it. Once you have consumed your free credit, AWS costs an arm and a leg. This is the price to pay for high-quality services. But how can you reduce your costs without sacrificing quality? This post will show you how to reduce your bill by up to 60% by combining four built-in features in Qovery.
Romaric Philogène

Romaric Philogène

February 20, 2021 · 3 min read
How to reduce your AWS bill up to 60% - Qovery
Written byRomaric Philogène

Romaric Philogène

CEO and co-founder of Qovery. Romaric has 10+ years of experience in R&D. From the Ad-Tech to the financial industry, he has deep expertise in highly-reliable and performant systems.

See all articles
BusinessAWS

Qovery is a state-of-the-art Continuous Deployment (CD) platform for AWS. Qovery is strictly the CD you would build for your company. But available in minutes instead of months. 

There are three categories of costs on AWS. The “data transfer”, the “compute”, and the “storage” costs. Qovery heavily optimizes “compute” and “storage” costs. Data transfer is application-dependent.

Here are the four strategies to reduce your AWS bill.

Ephemeral environments

Cost reduction: up to 90% on your development environments

Ephemeral environments are also sometimes called “Dynamic environments”, “Temporary environments”, “on-demand environments”, or “short-lived environments”.

The idea is that instead of environments “hanging around” waiting for someone to use them, Qovery is responsible for spawning and destroying the environments they will run against.

Qovery ephemeral environments are convenient for feature development, PR validation, and bug fixing. By nature, they can drastically reduce the cost of your AWS bill. For example: with Qovery ephemeral environments, you can automatically destroy a development environment if not used for 30 minutes. 

Switching on ephemeral environments in Qovery is as simple as one click. 

Advantages:

  • Save up to 90% on your development environment costs.
  • Only used environments are running.

Downsides:

  • Not applicable to your production environment.
  • It can take some time to start an environment (cold start).

Start and stop schedules

Cost reduction: up to 77% (5 hours per day from Monday to Friday) on your development environments

Similar to ephemeral environments, the idea is to shut down your unused environments. For instance, employees are usually working between 9 am to 5 pm, Monday to Friday. Qovery provides everything you need to automatically shut down your development environments when running out of working hours and starting up them when in. 

With Qovery, your development environment runs only 40 hours instead of 168 hours in one week, which helps you to save 77% of your costs. 

Advantages:

  • Development environments are shut down outside of your working hours.
  • Finally, you can take advantage of the Cloud with dynamic resource provisioning :)

Downsides:

  • Not applicable to your production environment.
  • It can take some time to start an environment (cold start).

Application auto-scaling

Cost reduction: up to 5% on your production and development environments

Auto-scaling enables you to upsize/downsize the resources of your application automatically. 

Auto-scaling also allows lower cost, reliable performance by seamlessly increasing and decreasing new instances as demand spikes and drops. As such, autoscaling provides consistency despite the dynamic and, at times, unpredictable demand for applications.

Qovery manages horizontal scaling for applications and vertical scaling for databases.

Auto-scaling means that at least one or n instances are running depending on the workload to manage. Qovery manages out-of-the-box auto-scaling. You can expect up to 5% cost reduction. 

Advantages:

  • Lower the cost for applications with unpredictable workloads. 
  • Work on production and development environments.

Downsides:

  • Small cost reduction

Infrastructure auto-scaling

Cost reduction: up to 100% on your development environments

Infrastructure auto-scaling is similar to application auto-scaling but at the infrastructure level. Qovery on AWS relies on EKS and can destroy a development cluster if not used. 

Advantages:

  • Development clusters are destroyed when not used.
  • Higher cost reduction than “Start and stop schedules”.

Downsides:

  • Init the development cluster can take up to 30 minutes !!!

Deploy your apps in production on AWS in minutes

Qovery combines the power of Kubernetes, the reliability of AWS, and the simplicity of Heroku to deploy your apps on AWS.

Deploy my apps
Deploy your apps in production on AWS in minutes
BusinessAWS