AWS RDS and Elasticsearch cost optimization: $1.03M saved annually

Engineers who now work at Big Bad Byte helped an anonymous telecommunications provider lower its AWS bill during an earlier engagement, before Big Bad Byte existed. Work on Oracle RDS and Elasticsearch accounted for $1.03 million in reported annual savings. That figure is part of, not additional to, the more than $2 million in annual savings reported across the wider engagement.

Challenge: database costs without a performance regression

The environment included nine Amazon RDS databases and an Elasticsearch cluster with more capacity than the observed workload required. Reducing spend was not as simple as choosing smaller instances: the applications still needed to handle their busiest periods, and search and database behavior had to be tested before removing capacity.

  • Separate storage and I/O cost from database compute cost
  • Understand the actual peak and off-peak workload rather than sizing for a single average
  • Correct Elasticsearch shard layout before deciding how many data nodes were necessary

Database cost optimization: RDS and Elasticsearch

The team worked from usage and cost data, then validated proposed changes under load. The key was to treat storage throughput, CPU capacity and search-cluster topology as related engineering decisions, each with its own performance and recovery trade-offs.

Oracle RDS: storage and demand-aware capacity

  • Examined database usage, costs and required IOPS before changing the storage tier.
  • Migrated the relevant RDS storage from io1 to gp3 while maintaining the IOPS needed by this specific configuration.
  • Used workload performance testing to assess instance sizes, including peak versus quieter periods, rather than assuming more vCPUs always helped.
  • Adjusted instance capacity around demand. This does not imply that changing an RDS instance class is interruption-free.

Reported annual RDS saving: $560,000

Elasticsearch: sharding before node reduction

  • Reviewed utilization and how data and requests were distributed across shards.
  • Corrected the shard layout and tested alternative instance configurations against the workload.
  • Validated the smaller cluster through load testing before reducing the data-node fleet by 33%.
  • Kept the result workload-specific. A third fewer nodes is not a recommendation for an unrelated Elasticsearch cluster.

Reported annual Elasticsearch saving: $470,000

How we judged whether a cheaper configuration was viable

A storage-price comparison by itself would not have been sufficient. The team checked the target configurations against the application's real load before committing to lower capacity. On the RDS side, the relevant question was whether the selected gp3 setup supplied the required I/O performance for the database. That should not be generalized into a claim that gp3 IOPS are always included without extra charges; the baseline and provisioned limits depend on the database engine and volume configuration.

Why a smaller Elasticsearch cluster can work

Shards determine where data and query work run. Poor shard distribution can waste heap and search capacity, but simply reducing the number of data nodes without fixing the workload can make a cluster less resilient. In this engagement, shard configuration and instance choice were evaluated first, followed by tests on a reduced fleet. The underlying shard counts, latency measurements and hosting model were not recorded in the public case material, so we do not invent them.

What we would check next on RDS and Elasticsearch

This is a general review checklist for other database platforms, not a claim that the earlier client used every option. It covers the decisions that generic cost guides often skip while preserving the same evidence-first sequence: capacity and efficiency first, pricing commitments second.

Before changing database capacity

  • Review query efficiency and I/O behavior before downsizing. Low CPU alone does not prove that a smaller instance will be fast enough after a query problem is fixed.
  • Right-size compute and storage before buying a discount. Remove idle replicas and non-production capacity that no longer needs to run continuously.
  • Test gp3 IOPS and throughput against the actual database engine and workload rather than assuming every baseline configuration is free or sufficient.
  • Evaluate Graviton first on a non-production instance or read replica, including extension compatibility and a full traffic cycle.
  • Map data transfer between application and database paths. NAT processing and cross-zone traffic can matter as much as the instance class.

Before choosing a pricing model

  • Compare Reserved Instances with flexible Database Savings Plans only after the required footprint is stable enough to justify a commitment.
  • Evaluate Aurora I/O-Optimized only when observed I/O charges justify the higher compute and storage prices. It is not a default saving.
  • Connect the decision to a useful unit such as cost per transaction, customer or completed build, not only to the total monthly invoice.
  • Set budget and anomaly alerts, then revisit commitments when the workload or instance mix changes.
  • Keep the performance baseline and rollback path explicit so a pricing change cannot silently become a reliability regression.

Outcome: $1.03M a year, included in the wider $2M+ result

$560,000/year in Oracle RDS savings plus $470,000/year in Elasticsearch savings equals $1,030,000 in annual savings from these two workstreams. Other improvements in the same earlier engagement brought total reported annual AWS savings above $2 million. The $1.03 million is included in that larger figure; it must not be added to it.

This was work performed by engineers during their earlier employment, not a Big Bad Byte client contract. Today our team applies the same evidence-first approach to cloud cost optimization and performance engineering.

For technical context, see Amazon RDS storage types and Elastic's guidance on shard sizing. These explain the mechanisms, not independent verification of this client's savings.

Tell us about your setup

Describe what you run and what isn’t working: the cloud bill, response times, releases or recurring incidents. We reply within one business day with a suggested first step, usually a short call or an audit.

Prefer email? Write to info@bigbadbyte.com. Prefer to talk? Schedule a call.