Amazon Relational Database Service (Amazon RDS) for MySQL is a fully managed, open source, relational database that makes it easier to set up, operate, and scale MySQL databases in the cloud. Amazon RDS for MySQL provides you with the flexibility to customize your databases for your needs, including:

New AWS customers can get started with RDS for MySQL for free as part of the AWS Free Tier. The RDS for MySQL Free Tier includes 750 hours on a selection of Single-AZ instance databases, 20 GB of General Purpose SSD (gp2) storage, and 20 GB of storage for automated database backups each month for one year.

AWS Pricing Calculator

AWS Pricing Calculator for RDS for MySQL

Calculate your RDS for MySQL and architecture cost in a single estimate based on Region, instance type, deployment option, and more. Create your custom estimate now »

Highly available deployment options

With Amazon RDS Multi-AZ deployments, you can create highly available, durable RDS for MySQL databases and deploy them across up to three Availability Zones (AZs).

Multi-AZ deployment (one standby)


Running your DB instance as a Multi-AZ deployment provides high availability and advanced data durability. When you create a Multi-AZ deployment, RDS for MySQL provisions and maintains a standby instance in a different AZ.

In the event of an unplanned or scheduled outage, this allows your instance to automatically failover.

Learn more about Multi-AZ deployments.

Multi-AZ deployment (two readable standbys)


Multi-AZ provides you enhanced availability and data durability.

When you run your database as a Multi-AZ deployment with two readable standby instances, RDS for MySQL provisions and maintains identical DB instances in three different AZs.

RDS for MySQL will perform an automatic failover to one of the standby DB instances in the event of a planned or unplanned outage that affects the primary DB instance. The two standby DB instances serve read-only workloads.

Learn more about Multi-AZ deployments with readable standby instances.

On-Demand DB Instances costs

On-Demand database (DB) Instances let you pay for compute capacity by the hour your DB instance runs. On-Demand DB Instances have no long-term commitments, freeing you from the complexities and costs of planning, purchasing, and maintaining hardware as well as transforming what are commonly large fixed costs into much smaller variable costs.

  • Single-AZ deployments, Multi-AZ deployments (one standby instance), and Multi-AZ deployments (two readable standby instances) are priced per DB instance-hour consumed. They are priced from the time a DB instance is launched to when it is stopped or deleted.
  • Partial DB instance hours are billed in one-second increments with a 10-minute minimum charge after a billable status change, like creating, starting, or modifying a DB instance class.

T4g and T3 CPU Credits

Amazon RDS for MySQL T4g and T3 DB instances run in Unlimited mode, which means that you will be charged if your average CPU utilization over a rolling 24-hour period exceeds the baseline of the instance. CPU Credits are charged at $0.075 per vCPU-Hour. The CPU Credit pricing is the same for all T4g and T3 instance sizes across all regions and is not covered by Reserved Instances.

Reserved Instances costs

Amazon RDS Reserved Instances (RI) give you the option to reserve a DB instance for a one- or three-year term, which represents a substantial discount compared to the On-Demand Instance pricing for the DB instance. With Amazon RDS, you have three RI payment options—No Upfront, Partial Upfront, or All Upfront—which enable you to balance the amount you pay upfront with your effective hourly price.

Amazon RDS Reserved Instances provide size flexibility for the MySQL database engine. With size flexibility, your RI’s discounted rate will automatically apply to usage of any size in the same instance family (M5, T3, R5, etc.). Size flexibility can also be applied to the instance deployment option.

How it works: Size-flexible reserved DB instances

For example, to buy a Reserved Instance for Multi-AZ DB Cluster, you can buy equivalent of one m6gd.large:

  • 3 m6gd.large Single-AZ Reserved Instances or
  • 1 m6gd.large Multi-AZ Reserved Instances and 1 m6gd.large Single-AZ Reserved Instance

For more information, please see size-flexible reserved DB instances.

Note that storage and I/O costs are not covered by Reserved Instance prices. To learn more about features, payment options, and rules, please visit our Reserved Instances page.

You may designate database instances as a Reserved Instance by calling to the Purchasing API or selecting the Reserved Instance option in the AWS console. When you designate a database instance as a Reserved Instance, you must designate a Region, instance type, and quantity for the applicable Reserved Instances. The Reserved Instances may only be used in the designated Region.

AWS may terminate the Reserved Instance pricing program at any time. In addition to being subject to Reserved Instance pricing, Reserved Instances are subject to all data transfer and other fees applicable under the AWS Customer Agreement or other agreement with AWS governing your use of AWS services.

    • Single-AZ Deployment
    • Multi-AZ Deployment (one standby)
    • To learn more about Multi-AZ, please refer to highly available deployment options section.

    • Multi-AZ Deployment (two readable standbys)
    • To learn more about Multi-AZ, please refer to highly available deployment options section.

      To purchase equivalent of reserved DB instances for a Multi-AZ DB cluster, you can do one of the following:

      • Reserve three Single-AZ DB instances that are the same size as the instances in the cluster.
      • Reserve one Multi-AZ DB instance and one Single-AZ DB instances that are the same size as the DB instances in the cluster.

      As an example, to buy an equivalent of one m6gd.large Reserved Instance for Multi-AZ DB Cluster, you can buy

      • 3 m6gd.large Single-AZ Reserved Instances or
      • 1 m6gd.large Multi-AZ Reserved Instances and 1 m6gd.large Single-AZ Reserved Instance

Calculation of RI monthly fees

*This is the average monthly payment over the course of the Reserved Instance term. For each month, the actual monthly payment will either equal the actual number of hours in that month multiplied by the hourly usage rate or the number of seconds used in that month multiplied by the hourly usage rate, divided by 3600. The formula you use will depend on the RDS for MySQL instance type you run.

The hourly usage rate is equivalent to the total average monthly payments over the term of the Reserved Instance divided by the total number of hours (based on a 365-day year) over the term of the Reserved Instance.

Calculation of RI effective hourly rate

**Effective hourly pricing helps you calculate the amount of money a Reserved Instance will save you over On-Demand pricing.

When you purchase a Reserved Instance, you are billed for every hour during the entire Reserved Instance term you select, regardless of whether the instance is running. The effective hourly price shows the amortized hourly instance cost. This takes the total cost of the Reserved Instance over the entire term, including any upfront payment, and spreads it out over each hour of the Reserved Instance term.

Database storage costs

Dedicated Log Volume costs

A Dedicated Log Volume is an additional storage volume specifically for database redo logs and binlogs that is separate from the volume containing the database tables, making transaction write logging more efficient and consistent. A Dedicated Log Volume is ideal for databases with large allocated storage, high I/O per second (IOPS) requirements, or latency sensitive workloads.

Dedicated Log Volumes are priced the same as a data volume with 1,000 GiB and 3,000 IOPS and by storage type. Dedicated Log Volumes are only supported in Provisioned IOPS storage. For example, in US East (N. Virginia), an io1 Dedicated Log Volume attached to a Single-AZ instance in RDS for MySQL would cost $0.125 x 1,000 GiB plus $0.10 x 3,000 IOPS, or $425/month. If you were to run an io1 Dedicated Volume in the same AWS Region attached to Multi-AZ with one standby, it would cost you $0.25 x 1,000 GiB plus $0.20 x 3,000 IOPS, or $850/month.

To learn more about data volume pricing, see the Provisioned IOPS SSD storage costs section above.
 

Backup storage costs

Snapshot export costs

The Amazon RDS snapshot export provides an automated method to export data within an RDS for MySQL snapshot to Amazon S3 in Parquet format. The Parquet format is up to 2x faster to unload and consumes up to 6x less storage in Amazon S3 compared to text formats. You can analyze the exported data using AWS services such as Amazon Athena, Amazon EMR, and Amazon SageMaker.

Region

Snapshot export pricing example

Suppose you have a 100GB snapshot and you use filtering to select a 10GB table from this snapshot to export to Amazon S3. To export this data, you would pay 100GB * $0.013 per GB of snapshot size. Subsequent exports of data from the same snapshot are not incremental.

Additional charges apply for encrypting or decrypting data with AWS Key Management Service (KMS). Find more about these charges on the KMS pricing page. Charges also apply for storing exported data in Amazon S3 and for PUT requests made against your S3 bucket. Find more about these charges on the S3 pricing page.

Zero-ETL integration costs (Preview)

The Amazon RDS for MySQL zero-ETL integration with Amazon Redshift (Preview) provides access to analytics and machine learning (ML) capabilities on petabytes of transactional data. With the RDS for MySQL zero-ETL integration with Amazon Redshift, you are able to remove the need to build and manage complex data pipelines that perform extract, transform, and load (ETL) operations.

You pay for RDS for MySQL and Amazon Redshift resources used to create and process the change data created as part of a zero-ETL integration. These resources include Amazon RDS snapshot export costs to seed and resynchronize your Amazon Redshift data warehouses, change data capture (CDC) data transfer costs for ongoing replication of data changes from source to target, regular RDS I/O and storage used to process change data, and regular Amazon Redshift storage and compute costs for the replicated data.

  • For each RDS for MySQL zero-ETL integration with Amazon Redshift, ongoing processing of data changes is priced per GB of change data capture (CDC) data transferred.

    Region

Zero-ETL integration costs (Preview) pricing example

You have an RDS for MySQL 8.0.28 database and an Amazon Redshift data warehouse running in the US East (N. Virginia) Region. This RDS for MySQL DB instance currently uses 50 GB of General Purpose SSD (gp3) storage capacity that includes provisioned baseline IOPS, has automated backups enabled, and has MySQL binary logging turned on.

When you create a zero-ETL integration with Amazon Redshift for your RDS for MySQL DB instance, a snapshot of the data (50 GB) is created and exported to seed an Amazon Redshift data warehouse. The next day, you change the primary key of a table in your RDS for MySQL DB instance, which results in a resynchronization of the snapshot export to Amazon Redshift. Over the course of 30 days, the database processes 5 GB of data changes.

In this example, the cost to use RDS for MySQL zero-ETL integration with Amazon Redshift in US East (N. Virginia) in the 30 days is 50 GB x ($0.10/GB) initial export plus 50 GB x ($0.10/GB) resynchronization costs plus 5 GB x ($2.00/GB) CDC data transfer, for a total of $20.00. In addition to these costs for the zero-ETL integration, you are responsible for charges from the normal use of Amazon RDS and Amazon Redshift to process the replicated data, such as I/O, storage, and compute costs.

Amazon RDS Extended Support costs

Amazon RDS Extended Support allows you to continue use MySQL major versions after the community end-of-life. During this time, AWS provides fixes for critical security issues and bugs through patch releases, giving you more time, up to three years, to upgrade to a new major version to help you meet your business requirements.

For provisioned instances on RDS for MySQL, RDS Extended Support is priced per vCPU per hour. RDS Extended Support pricing is also dependent on the AWS Region and calendar date. Refer to the Amazon RDS documentation for calendar details.

  • The RDS Extended Support price you are charged depends on the MySQL version, AWS Region, and the number of calendar years since standard support expired for that version. To learn more about when year 1 and 2 or year 3 pricing begins for a specific MySQL major version, go to the Amazon RDS for MySQL documentation.

    Region Year 1 and Year 2 Pricing
    (per vCPU-hour)
    Year 3 Pricing
    (per vCPU-hour)
    US West (Oregon) $0.100 $0.200
    US West (N. California) $0.112 $0.224
    US West (Los Angeles) $0.120 $0.240
    US East (Ohio) $0.100 $0.200
    US East (N. Virginia) $0.100 $0.200
    South America (Sao Paulo) $0.210 $0.419
    Middle East (UAE) $0.123 $0.246
    Middle East (Bahrain) $0.123 $0.246
    Israel (Tel Aviv) $0.118 $0.235
    Europe (Zurich) $0.134 $0.269
    Europe (Stockholm) $0.103 $0.206
    Europe (Spain) $0.112 $0.224
    Europe (Paris) $0.118 $0.235
    Europe (Milan) $0.118 $0.235
    Europe (London) $0.118 $0.235
    Europe (Ireland) $0.112 $0.224
    Europe (Frankfurt) $0.122 $0.244
    Canada (Central) $0.108 $0.216
    AWS GovCloud (US-West) $0.120 $0.240
    AWS GovCloud (US-East) $0.120 $0.240
    Asia Pacific (Tokyo) $0.120 $0.240
    Asia Pacific (Sydney) $0.120 $0.240
    Asia Pacific (Singapore) $0.120 $0.240
    Asia Pacific (Seoul) $0.120 $0.240
    Asia Pacific (Osaka) $0.120 $0.240
    Asia Pacific (Mumbai) $0.114 $0.228
    Asia Pacific (Melbourne) $0.120 $0.240
    Asia Pacific (Jakarta) $0.120 $0.240
    Asia Pacific (Hyderabad) $0.114 $0.228
    Asia Pacific (Hong Kong) $0.132 $0.264
    Africa (Cape Town) $0.133 $0.266

    Partial hours are billed in one-second increments with a 10-minute minimum charge following a billable status change such as creating, starting, or modifying.

RDS Extended Support pricing example

If you are running a DB instance on RDS for MySQL 5.7, this version reaches end of standard support on February 29, 2024. If you are deployed in US East (Ohio), you will be charged $0.100 per vCPU-hr between March 1, 2024 to February 28, 2026. Starting March 1, 2026, you will be charged $0.200 per vCPU-hr.

Data transfer costs

The pricing below is based on data transferred “in” and “out” of Amazon RDS.

Visit the main Amazon RDS pricing page for additional transfer fees and terms.

FAQs

How long will the AWS Free Tier for RDS for MySQL be available to me?

AWS Free Tier access is available for 12 months for new AWS accounts. To learn more, please see the AWS Free Tier FAQs.

How am I billed when my RDS for MySQL instance-hour usage exceeds the AWS Free Tier benefit?

When instance hours exceed what the Amazon RDS Free Tier provides, you are billed at standard RDS for MySQL prices.

How do you calculate monthly cost for RDS for MySQL?

RDS for MySQL monthly costs are based on location and the following factors:

  • DB instance hours – This is based on the RDS for MySQL DB instance type (e.g. db.t2.micro, db.m4.large) consumed. You will be billed based on partial DB instance hours following a billable status change, such as creating, starting, or modifying your RDS for MySQL DB instance type. Amazon RDS for MySQL supports per-second billing in which partial DB instance hours consumed are billed in one-second increments with a 10-minute minimum. 
  • Storage (per GB per month) – Storage is the storage capacity provisioned to your RDS for MySQL DB instance. Your bill will be pro-rated if you scale your provisioned storage capacity within the month.
  • Provisioned IOPS per month – Provisioned IOPS rate, regardless of IOPS consumed (for Amazon RDS Provisioned IOPS SSD storage only).
  • Backup storage – This includes any customer-initiated database snapshot storage and automated database backups. When you take additional database snapshots, it increases the backup storage. Additionally, when you increase your backup retention period, the backup storage consumed by your RDS for MySQL database increases.
  • Data transfer – Internet data transfer in and out of your RDS for MySQL DB instance.
  • I/O requests per month - This is the total number of storage I/O requests (for Amazon RDS magnetic storage and Amazon Aurora only).

Calculate what your RDS for MySQL monthly costs would be with the AWS Pricing Calculator.

When does billing of my RDS for MySQL DB instances begin and end?

RDS for MySQL DB instance billing begins once the DB instance is available. It is then billed for each hour it runs in an available state. RDS for MySQL billing continues until you terminate the DB instance, either in the event of an instance failure or upon deletion.

Consumed partial DB instance hours are billed in one-second increments with a 10-minute minimum charge (following a billable status change, such as creating, starting, or modifying the DB instance type).

How do I stop RDS for MySQL billing?

You must delete all your RDS for MySQL DB instances and snapshots to stop all RDS for MySQL related account charges. If you stop an RDS for MySQL DB instance, you stop billing for additional instance hours, but you will still incur storage costs.

How will I be billed for a stopped RDS for MySQL DB instance?

You are charged for provisioned storage (including Provisioned IOPS) and backup storage (including manual snapshots and automated backups within your specified retention window) while your RDS for MySQL database instance is stopped, but not for RDS for MySQL DB instance hours.

How can I reduce my RDS for MySQL costs?

One way to reduce your RDS for MySQL costs is to right-size your RDS for MySQL databases for your needs. Thanks to fully managed features such as auto-scaling, you do not need to over-provision for high availability.

You can also purchase Reserved Instances. Reserved Instances allow you to reserve a RDS for MySQL DB instance for a one- or three- year term at a significant discount compared to On-Demand Instance pricing.

Does RDS for MySQL prices include taxes?

Our RDS for MySQL prices are exclusive of applicable duties and taxes, including VAT and applicable sales tax, unless otherwise noted. If you are a customer with a Japanese billing address, the use of AWS services is subject to Japanese Consumption Tax.

How do I purchase and create Reserved instances for RDS for MySQL?

You can purchase Reserved Instances either in the Amazon RDS API or the AWS Command Line Interface where it lists the reservations available for purchase. You can also make this purchase in the Reserved Instance section of the AWS Management Console for Amazon RDS.

When you have purchased a Reserved Instance, you can use Reserved Instances the same way you’d use an On-Demand DB Instance. Launch your RDS for MySQL DB instance using the same Region and instance type for which you made the reservation. As long as your reservation is active, RDS for MySQL applies the reduced hourly rate for which you are eligible to the new DB instance.

How many Reserved Instances can I purchase?

You can purchase up to 40 Reserved Instances. Please complete the Amazon RDS DB Instance request form if you wish to run more than 40 DB instances.

How do the Reserved Instance payment options impact my RDS for MySQL bill?

The operations for creating, modifying, and deleting RDS for MySQL DB instances do not distinguish between On-Demand Instances and Reserved Instances. When computing your bill, our system automatically applies your reservation(s) such that all eligible RDS for MySQL DB instances are charged at the lower hourly reserved DB instance rate.

  • When you use the All-Upfront payment option to purchase a RI, you pay for the entire term of the RI in one upfront payment.
  • If you choose the No Upfront option, you are able to choose to pay nothing upfront. The entire value of the No Upfront RI is spread across every hour within the term. Regardless of usage, you will be billed for every hour in the term.
  • The Partial Upfront payment option is a hybrid of the No Upfront and All Upfront options. You make a small payment upfront. Regardless of usage, you are also billed a low hourly rate for every hour in the term.

Can I modify my Reserved Instance terms after purchasing?

No, after purchasing your Reserved Instance, modifications of RI terms cannot be made in RDS for MySQL. You cannot change DB Engine, DB Edition, Region, Deployment Type, Instance Class, and term length after purchasing your RIs; see more details on the Reserved Instance page.

Can I use Amazon RDS Extended Support with any minor version?

No, you must be on the latest engine minor to receive RDS Extended Support on your database.

How can I estimate my RDS Extended Support charges?

You can estimate your Extended Support charges using the AWS Pricing Calculator. Amazon RDS Extended Support charges depend on three factors: 1. number of vCPUs running on the instance, 2. AWS Region, and 3. number of years past end of standard support. To estimate your charges, determine the number of vCPUs on your instance and the appropriate calendar year pricing for your engine version. If your version is within the year 1 or year 2 pricing, you will be charged #vCPUs x year 1 and 2 pricing per hour of usage for your chosen Region. If your version is on year 3 pricing, you will be charged #vCPUs x year 3 pricing per hour of usage for your chosen Region.

For example, if you are running a RDS for MySQL 5.7 db.r5.large instance in US East (N. Virginia) on April 30 2024, which is within the first year of RDS Extended Support, you will be charged $0.200 per hour, or 2 vCPUs x $0.100 per vCPU-hr. 

When does Amazon RDS start charging for RDS Extended Support?

You will begin to receive charges for Amazon RDS Extended Support the day after the MySQL major version end of standard support date. This will be in addition to the instance, storage, backup, and/or data transfer charges incurred for the life of the instance.

For example, RDS for MySQL 5.7 standard support ends on February 29, 2024. If you run a RDS for MySQL 5.7 instance on or after March 1, 2024 you will be charged for RDS Extended Support on that instance.

When do I stop receiving charges for RDS Extended Support?

Upgrading your instance to a newer engine version that’s available in standard support will prevent your instance from being charged RDS Extended Support pricing. RDS Extended Support charges automatically stop when you shut down or delete an instance that is running a major engine version beyond its end of standard support date.

Do I have to pay for RDS Extended Support on my DB snapshots?

No, you will not be charged RDS Extended Support pricing on DB snapshots. However, when you restore a DB snapshot to a new DB instance after end of standard support, you will be charged RDS Extended Support pricing for that instance.

For example, if you restore a DB snapshot to a new DB instance on MySQL 5.7 after February 29, 2024, the instance will be charged the RDS Extended Support pricing until you upgrade it to MySQL version 8.0 or newer or delete the instance.

Will I be charged for Amazon RDS Read Replicas when using RDS Extended Support?

Yes, you will be charged for any Amazon RDS Read Replicas when using RDS Extended Support if they are running a major version that is past its end of standard support date.

Will I be charged for Multi-AZ when using RDS Extended Support?

Yes, you will be charged for all instances in a Multi-AZ deployment when using RDS Extended Support if your primary is running on a major version that is past its end of standard support date. If you are running on Multi-AZ with one standby, you will be charged for RDS Extended Support on both your primary and standby instances. If you are running on Multi-AZ with two readable standbys, you will be charged for RDS Extended Support on both your primary and your two readable standby instances.

There are two different RDS Extended Support prices listed for each engine version. How do I know which of those I’m being charged?

The RDS Extended Support price you are charged depends on the AWS Region, engine version, and the number of calendar years since standard support expired for that version. You will be charged year 1 and year 2 pricing in your chosen Region per vCPU-hr for the first two years after the end of standard support. For year 3, you will be charged year 3 pricing for your chosen Region per vCPU-hr starting on the first day of the third year.

For example, RDS for MySQL 5.7 reaches end of standard support on February 29, 2024. If you are deployed in US East (Ohio), you will be charged $0.100 per vCPU-hr between March 1, 2024 to February 28, 2026. Starting March 1, 2026, you will be charged $0.200 per vCPU-hr.

How can I avoid being charged for RDS Extended Support?

We recommend upgrading your instance as early as possible to a major engine version that is within its standard support term. This will help avoid incurring RDS Extended Support charges.

Can I use Amazon RDS Blue/Green Deployments to migrate from a RDS Extended Support version to a standard support version?

Yes, you can use Amazon RDS Blue/Green Deployments to migrate your instances using RDS Extended Support, so long as Blue/Green Deployments supports your instance’s engine, Region, and major version type. Blue/Green Deployments is available for the Aurora MySQL-Compatible, RDS for MySQL, and RDS for MariaDB engines. For information on available versions, see the Blue/Green Deployments documentation.

Do Reserved Instance discounts apply to RDS Extended Support?

No, RDS Extended Support charges are independent of instance charges. Therefore, Reserved Instance discounts are not applicable to RDS Extended Support charges.

Will I get charged for RDS Extended Support even if I move from RDS for MySQL 5.7 to Aurora MySQL 2 (based on MySQL 5.7)?

If you migrate from RDS for MySQL 5.7 to Aurora MySQL 2 before February 29, 2024, you will not be charged for RDS Extended Support. If you migrate after February 29, 2024 and before October 31, 2024, you will be charged for RDS for MySQL 5.7 RDS Extended Support for the number of hours you were running MySQL 5.7 on Amazon RDS.

If you migrate after October 31, 2024 or use Aurora MySQL-Compatible 2 after October 31, 2024, you will also be charged for RDS Extended Support on your Aurora database. For additional details, please refer to the Amazon Aurora documentation.

If I create a new instance on a major version engine after it reaches end of standard support, will I be charged for RDS Extended Support?

Yes, if you create an instance or restore a DB snapshot to an instance running on a version that has reached its end of standard support date, you will be charged for RDS Extended Support pricing in addition to the instance, storage, backup, and data transfer charges.