Easily build complex reports
Monitoring and efficiency metrics
Custom cost allocation tags
Network cost visibility
Organizational cost hierarchies
Budgeting and budget alerts
Discover active resources
Consumption-based insights
Alerts for unexpected charges
Automated AWS cost savings
Discover cost savings
Unified view of AWS discounts
COGS and business metrics
Model savings plans
Collaborate on cost initiatives
Create and manage your teams
Automate cloud infrastructure
Cloud cost issue tracking
Detect cost spikes
by Emily Dunenfeld
Contents
Amazon Aurora and PlanetScale are MySQL database services, sometimes called “Database as a Service,” that elevate performance beyond the capabilities of plain MySQL. This also results in cost savings, a pivotal factor in selecting a database solution. However, as you’ll soon be able to see, the pricing for PlanetScale and Aurora can be difficult to compare since it comprises several distinct factors. That’s where the scenarios become particularly useful.
In two out of three scenarios, we found 18% and 132% savings using PlanetScale, and in one scenario, Aurora delivered 22% savings (read scenarios).
Aurora is a relational database service that is compatible with MySQL and PostgreSQL. For this comparison, we will focus only on Aurora MySQL. Performance tests done by Amazon through SysBench show significantly higher throughput with Aurora than with MySQL’s default configurations.
Some key features include high performance, auto-scaling, automated database clustering and replication, and high durability. Aurora offers various options for configuration that we’ll discuss more in the pricing section. Serverless is one popular configuration because of its ability to automatically start up, shut down, and scale capacity upward or downward.
PlanetScale is a MySQL-compatible database with reliable replication and high availability. PlanetScale leverages Vitess, an open-source database clustering system initially developed by YouTube to combat MySQL scalability challenges. Vitess is used by some of the industry leaders but can be complex to implement, which is where PlanetScale comes in.
PlanetScale is known for its advanced MySQL features, such as horizontal sharding, non-blocking schema changes, and high scalability. Scalability is tested and proven in this benchmark, where one million queries per second were successfully executed.
As there often is with Amazon pricing, there are several factors to consider. The following configuration choices impact the way you are billed.
Aurora clusters come in two flavors. Aurora Standard is ideal for “typical data access patterns and low to moderate I/O usage.” Aurora I/O-Optimized is recommended for, you guessed it, I/O-intensive applications. With this option, you can save up to 40% if your I/O spend is more than 25% of your total Aurora database spend.
Choose between Aurora Serverless, Aurora On-Demand, and Aurora Reserved Instances. Aurora Serverless is the pay-as-you-go option where you pay only for the capacity used. You are billed per second for Aurora Capacity Units (ACUs), where each ACU corresponds to approximately 2 GB of memory, along with corresponding CPU and networking resources, mirroring the configuration used in Aurora provisioned instances. A key serverless feature is the ability to scale up and down, and you can do so by setting the minimum and maximum number of ACUs to scale between.
Previously, with Aurora Serverless you had the option to further configure with the choice between Aurora Serverless v2 and Aurora Serverless v1. However, Amazon announced they are no longer supporting v1 as of December 31, 2024.
Aurora Serverless Version 2 Cost (US East)
With Aurora On-Demand, select an instance type and pay per database instance-hour.
Aurora On-Demand Cost (US East)
Aurora Reserved Instances are recommended for “steady-state database workloads,” and these one-year or three-year commitments provide huge savings.
Aurora Storage and I/O Cost (US East)
PlanetScale’s pricing structure is designed for simplicity and predictability. There are four plans:
PlanetScale Scaler and Scaler Pro Cost (US East)
Every production branch in the Scaler Pro plan corresponds to a database cluster. Clusters include two read replicas.
PlanetScale Scaler Pro Cost (US East)
Commonly used features that may incur additional costs are as follows:
A district manages an online education system that houses crucial student information, including grades and records. The amount of storage and CPU needed is small; although is accessed and updated frequently, particularly during the end of the semester when grades are released. They’ll need 0.5 vCPUs, 4 GB RAM, 3 GB of storage, and 10 GB of backup storage.
We need to choose which Aurora configuration to compare with PlanetScale Scaler Pro PS-40. Aurora Serverless is an ideal choice over On-Demand in this scenario because of its ability to scale up and down and since On-Demand instances have a minimum size of 2 CPUs and 2 GB RAM.
Even more configuration decisions need to be made for Aurora Serverless—the choice between Standard and I/O Optimized instances. While I/O Optimized instances may be suitable for lower-traffic months, the potential for increased costs during traffic surges, such as when numerous students check their grades simultaneously, may lead to higher costs. In this case, high numbers of I/O operations lead to an estimate of $136 a month.
Seeking predictability in pricing, the education system opts for I/O Optimized instances at a steady cost of $117 per month (see calculations). In comparison, PlanetScale offers a flat rate of $99, encompassing I/O, storage, and backup storage, for 18% savings using PlanetScale.
A distribution center handles extensive amounts of data volumes, encompassing inventory, shipments, and retailer information. Data is accessed and updated frequently for actions such as checking stock availability and processing orders. They’re looking for a solution that scales effectively due to the dynamic nature of inventory data and supports the high transaction volumes.
To compare potential solutions, consider Aurora On-Demand I/O Optimized with the db.r7g.xlarge instance type and PlanetScale Scaler Pro PS-320. Both configurations feature 4 CPUs and 32 GB RAM. The distribution center stores 8 GB of data and an additional 20 GB of backup data.
Using AWS pricing calculator, we can estimate the monthly cost for Aurora to be $571. In contrast, PlanetScale pricing offers a fixed-rate pricing model at $699, encompassing I/O, storage, and backup storage, meaning Aurora delivers 22% savings.
The same distribution center grows and expands its reach to global operations. They now need to coordinate inventory, shipments, and data across multiple regions, introducing complexities related to accessibility and response times.
Often, businesses leverage read replicas to enhance performance and reduce latency. As we mentioned earlier, this is the recommended approach of AWS for high-availability scenarios. Aurora applies instance charges to both primary instances and replicas. In contrast, with PlanetScale, two read replicas are included in the pricing model.
Building off the previous scenario, the primary instance for Aurora is still $571. With read replicas, you are charged for the instance. As we saw in Scenario 2, Aurora is priced at $525 per instance, making the total cost $1621 when adding two read replicas. The PlanetScale cost remains the same, at $699, resulting in 132% savings using PlanetScale.
Aurora and PlanetScale both greatly elevate beyond the capabilities of MySQL, with high durability and scalability. Aurora stands out with its versatility and extensive customization options, allowing users to tailor configurations to diverse use cases. This flexibility, however, comes with a complexity in pricing structures that may require careful consideration.
PlanetScale excels in simplicity and predictability in pricing, making it an ideal choice for users who don’t want to navigate intricate configurations or incur unexpected costs. The inclusion of read replicas in PlanetScale’s pricing model adds value, particularly in high-availability scenarios, resulting in substantial cost savings.
MongoDB Atlas is the cost-effective choice for production workloads where high-availability is a requirement.
Grafana is a strong competitor to the monitoring and observability features of Datadog for a fraction of the price.
AWS is implementing a policy update that will no longer allow Reserved Instances and Savings Plans to be shared across end customers.