DEV Community

Cover image for How to reduce your AWS bill up to 60%
Romaric P.
Romaric P.

Posted on • Originally published at qovery.com

How to reduce your AWS bill up to 60%

Let’s face it. 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.

Qovery is a state-of-the-art Continuous Deployment (CD) platform for AWS. Qovery is exactly 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).

Click here << to learn more.

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 shutdown 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 shutdown 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 shutdown outside of your working hours.
  • Finally, you can take advantage of the Cloud with dynamic resource provisioning :)

Downsides:

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

Click here << to learn more.

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, a 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 !!!

--

What’s next? Read how to install Qovery and reduce your AWS cost up to 60%.

Discussion (0)