top of page

Comparing AWS RDS Aurora Serverless v2 and Regular RDS Aurora

Over the past 12 months, we've seen a dozen of our clients make the move to RDS serverless. With the increasing demand for flexibility and cost-efficiency in cloud database management, many organizations are exploring AWS's diverse database solutions. One of the most prominent offerings is Amazon Relational Database Service (RDS) Aurora. Aurora is a cloud-based relational database engine that combines the speed and reliability of high-end commercial databases with the simplicity and cost-effectiveness of open-source alternatives. It's designed to deliver high performance and availability at a fraction of the cost of traditional databases. This shift has prompted us to complete a detailed comparison of AWS discount instruments, particularly for those managing workloads on Amazon Aurora.


Regular RDS Aurora

Regular RDS Aurora is known for its high throughput and low latency, making it an excellent choice for applications that require consistent performance. It automatically replicates six copies of your data across three Availability Zones and continuously backs up your data to Amazon S3. This ensures data durability and high availability, which are critical for enterprise applications.


RDS Aurora Serverless

RDS Aurora Serverless is a version of Aurora that automatically starts up, shuts down, and scales capacity up or down based on your application's needs. This is particularly beneficial for applications with variable or unpredictable workloads, as it eliminates the need to manage database capacity manually.


Key Features of RDS Aurora Serverless:


  • Automatic Scaling: It adjusts the database capacity automatically based on the workload.

  • Cost Efficiency: You only pay for the database resources you consume, making it a cost-effective solution for variable workloads.

  • Ease of Use: It simplifies database management by removing the need to provision and manage database instances.


Both versions of RDS Aurora provide a robust, scalable, and cost-effective solution for cloud-based database needs, with the serverless version offering additional flexibility for dynamic workloads. For more insights on performance comparison, check out the Performance Comparison section.


Performance Comparison


Performance Metrics Used for Comparison

In our analysis, we focused on several key performance metrics to evaluate AWS RDS Aurora Serverless v2 against the regular RDS Aurora. These metrics include:


  • Request Handling Capacity: The ability of each database setup to handle a large volume of requests without significant degradation in performance.

  • Scaling Capabilities: How each setup scales in response to increased demand and how quickly it can scale up or down.

  • Response Time: The time taken to respond to requests under varying loads.


Testing Setup

To ensure a fair comparison, we conducted our tests using a simple REST API. The API was subjected to a large amount of traffic under two different scenarios:


  1. Scenario 1: The API was connected to a regular RDS Aurora instance.

  2. Scenario 2: The API was connected to an RDS Aurora Serverless v2 instance.


This setup allowed us to directly compare the performance of both configurations under identical conditions.


For generating traffic, we utilised a traffic simulation tool capable of sending a high volume of requests to the API. This tool helped us simulate real-world usage patterns and stress test both database setups effectively.


Results of the Performance Tests

The results from our performance tests were quite revealing:

  • Request Handling: The RDS Aurora Serverless v2 was able to handle almost twice as many requests compared to the regular RDS Aurora. This demonstrates its superior ability to manage high traffic loads efficiently.

  • Scaling Capabilities: One of the most impressive aspects of the RDS Aurora Serverless v2 was its ability to scale down almost instantly after the demand decreased. This automatic and rapid scaling is crucial for applications with variable workloads.

  • Response Time: The response times were consistently lower with the serverless version, indicating faster processing and better resource utilisation.

These results clearly highlight the advantages of using RDS Aurora Serverless v2, especially in environments where traffic patterns are unpredictable and demand can vary significantly.


When considering the cost analysis of AWS RDS Aurora, it's essential to understand the pricing models of both the regular RDS Aurora and the RDS Aurora Serverless. Each has its own pricing structure that caters to different usage scenarios.


Pricing Model Overview


  • Instance-based Pricing: Regular RDS Aurora is priced based on the instance type and size you choose. This includes the number of vCPUs, memory, and other instance characteristics.

  • Storage Costs: You pay for the storage you provision, which includes backup storage and I/O requests.

  • Additional Costs: Data transfer and additional features like multi-AZ deployments can incur extra charges.


  • Capacity Units: Aurora Serverless charges are based on Aurora Capacity Units (ACUs), which scale automatically based on your application's needs.

  • Pay-per-Use: You are billed for the ACUs consumed and the storage used, making it a flexible option for variable workloads.


Cost Comparison Based on Usage Scenarios


Scenario 1: Predictable WorkloadsIf your workload is steady and predictable, using regular RDS Aurora may be more cost-effective. You can optimise the instance type and size to match your needs, ensuring you aren’t paying for unused capacity. Additionally, for even greater savings, you can purchase RDS reserved instances (RIs), which can reduce costs by up to 69% compared to On-Demand rates. Note that reserved instances are not available for Aurora Serverless.


Scenario 2: Variable or Unpredictable WorkloadsFor applications with fluctuating demand, Aurora Serverless might be a more economical option. It automatically scales up and down based on usage, ensuring you only pay for what you consume, making it ideal for unpredictable workloads.


Implications of Over-Provisioning vs. Paying for Actual Usage


Over-Provisioning Resources:

  • With regular RDS Aurora, there is a risk of over-provisioning, which means paying for more capacity than you actually use. This can lead to unnecessary costs, especially if your workload varies significantly.


Paying for Actual Usage:

  • Aurora Serverless eliminates the need for over-provisioning by automatically adjusting capacity based on demand. This ensures cost efficiency, particularly for startups or businesses with irregular traffic patterns.

In conclusion, the choice between regular RDS Aurora and Aurora Serverless depends largely on your workload characteristics and cost management preferences. By understanding these pricing models and their implications, you can make an informed decision that aligns with your business goals and budget constraints. For further insights and comparisons, refer to the Performance Comparison and Conclusion and Recommendations sections.


In conclusion, the comparison between AWS RDS Aurora Serverless v2 and regular RDS Aurora reveals significant insights into their performance and cost efficiency.


Key Findings

  • Performance: RDS Aurora Serverless v2 demonstrated remarkable scalability, handling nearly twice as many requests as the regular RDS Aurora. This is primarily due to its ability to scale down almost instantly, which is a critical factor for applications with variable workloads.


  • Cost Efficiency: While the regular RDS Aurora requires payment for over-provisioned resources, RDS Aurora Serverless v2 charges based on actual usage.


Recommendations

  • Use RDS Aurora Serverless v2: For applications with unpredictable workloads that do not consistently utilise full resources, RDS Aurora Serverless v2 is highly recommended. Its automatic scaling and cost-effective pricing model make it an ideal choice for dynamic environments.


  • Consider Regular RDS Aurora: In scenarios where resource utilisation can be accurately predicted and remains constant, traditional RDS Aurora might be more cost-effective due to its fixed pricing structure.


When choosing between RDS Aurora Serverless v2 and regular RDS Aurora, it is essential to consider your specific use case. Evaluate your application's workload patterns and resource utilisation to make an informed decision. Both options offer unique advantages that can be leveraged to optimise performance and cost.

We hope this analysis aids in your decision-making process.

Comments


Subscribe for updates

Keep up to date on the newest cloud cost optimisation tips.

Thanks for submitting!

Gradient Background   _edited.png
morfless collaborates on how to calculate ops, continuous integration tools, amazon s2 pricing, aws cloud server pricing
bottom of page