Amazon RDS
Cloud service · AWS · Updated

Amazon RDS

In short

Amazon RDS (Relational Database Service) is a managed service provided by Amazon Web Services (AWS) that makes it easier to set up, operate, and scale a relational database in the cloud by handling routine database tasks such as provisioning, patching, backup, recovery, and scaling.

Cloud Services Hub →

Free Amazon RDS tools

9 key features of Amazon RDS

Amazon RDS is a fully-managed database service offering scalability, high availability, security, and support for multiple database engines, with automated backups and monitoring, aimed at easing database management for developers.

01
Managed Database Service

Amazon RDS is a managed database service that automates time-consuming administration tasks such as hardware provisioning, database setup, patching, and backups, enabling users to focus on their applications rather than database management.

02
Support for Multiple Database Engines

Amazon RDS supports a variety of database engines, including Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle Database, and SQL Server, providing flexibility and options to suit different application requirements.

03
Scalability

With Amazon RDS, you can easily scale your database's compute resources or storage capacity with just a few mouse-clicks or an API call, often with no downtime required for many types of adjustments.

04
High Availability and Disaster Recovery

Amazon RDS provides high availability and failover support for DB instances using Multi-Availability Zone deployment and offers various disaster recovery solutions to ensure data durability and reliability.

05
Security

Amazon RDS features built-in security capabilities, including network isolation using Amazon VPC, encryption at rest using keys you create and control through AWS Key Management Service (KMS), and encryption in transit using SSL.

06
Automated Backups

RDS automatically performs a daily system snapshot of your data and stores transaction logs, enabling point-in-time recovery for your database instances.

07
Monitoring and Metrics

Using Amazon CloudWatch, RDS provides detailed metrics and logs for monitoring the performance and health of your databases, which helps in identifying and resolving issues rapidly.

08
Seamless Integration

RDS is designed to integrate seamlessly with other AWS services like Amazon EC2, Amazon S3, and AWS Lambda, allowing you to build feature-rich applications that are highly scalable and secure.

09
Native Db2 Backup Restoration

RDS for Db2 supports restoring offline or online Linux (LE) database backups from self-managed Db2 databases.

Where Amazon RDS is used

Amazon RDS supports a variety of use cases including managed web application databases, complex multi-tiered application database support, simplified migration from on-premises to cloud, business continuity and disaster recovery, agile development processes, and microservices backend provisioning.

  1. 01
    Managed Database for Web Applications

    Amazon RDS provides a scalable, reliable, and managed database service that is ideal for running relational databases for web applications. It automates time-consuming administration tasks such as hardware provisioning, database setup, patching, and backups. This allows web developers to focus on application logic rather than database management.

  2. 02
    Multi-Tiered Application Database

    For applications with complex architectures, such as multi-tiered applications, Amazon RDS serves as a highly available and isolated database tier. It offers various database instance types and supports read replicas to handle the load and ensure consistent performance.

  3. 03
    Migration of On-premises Databases to the Cloud

    Organizations looking to migrate their existing on-premises databases to the cloud can use Amazon RDS for a simplified migration process. The AWS Database Migration Service (DMS) can be used along with RDS to securely and efficiently move databases to AWS, helping to reduce overhead and hardware costs.

  4. 04
    Business Continuity and Disaster Recovery

    Amazon RDS enhances business continuity and disaster recovery efforts with its built-in replication, automated backups, and database snapshots features. It ensures data durability and allows businesses to quickly recover from unforeseen events affecting database availability.

  5. 05
    DevOps and Agile Development

    Developers practicing DevOps and Agile methodologies can benefit from Amazon RDS through its ability to quickly provision database instances for development and testing. It also enables easy scaling of database resources to meet fluctuating demands during different stages of application development.

  6. 06
    Microservices Backend

    For microservices architectures, Amazon RDS can serve as a backend that supports a range of database engines well-suited for microservices components. This use case allows each microservice to have its isolated database instance for better performance and scalability.

How Amazon RDS is priced

Amazon RDS pricing models include On-Demand Instances, Reserved Instances, Database Storage and I/Os, Provisioned IOPS, Backup Storage, and Data Transfer costs.

On-Demand Instances

DB instance usage is billed in one-second increments with a 10-minute minimum following a billable status change, such as creating, starting, or modifying the DB instance class.

Reserved Instances

Provides a discounted hourly rate and an optional upfront payment, giving you the option to reserve a database instance for a one or three-year term. The pricing varies based on the instance type, region, database engine, and payment option.

Database Storage and I/Os

Database storage charges are based on provisioned capacity per GB-month, prorated when provisioned capacity changes. Per-request I/O charges apply only to Amazon RDS magnetic storage and Amazon Aurora.

Provisioned IOPS

If your application requires a consistent and high I/O rate, you can provision additional input/output operations per second (IOPS). The pricing of provisioned IOPS is separate from the storage cost and is based on the amount of IOPS provisioned.

Backup Storage

Free backup storage is pooled across an account's total provisioned database storage within each AWS Region. Only backup storage exceeding that account-and-Region allowance is charged.

Data Transfer

Data transfer IN to Amazon RDS is usually free, but data transfer OUT from Amazon RDS to the internet may incur charges depending on the amount of data and the region.

Database Savings Plans

Eligible RDS usage can receive discounted pricing in exchange for a commitment to a specific amount of usage, measured in dollars per hour, over a one-year term.

RDS Extended Support

RDS Extended Support allows continued use of MySQL and PostgreSQL major versions after community end-of-life, with critical security and bug fixes for up to three additional years. It is charged per vCPU-hour for provisioned Aurora, RDS for MySQL, and RDS for PostgreSQL instances, or per consumed ACU-hour for Aurora Serverless v2; pricing also depends on the calendar date.

Public IPv4 Addresses

Standard public IPv4 address charges apply to public IPv4 addresses associated with resources launched in an Amazon VPC.

Free Tier

For AWS Free Tier signups after July 15, 2025, either the Free Plan or Paid Plan provides $100 in credits, with up to an additional $100 for activating foundational AWS services. Free Tier credits are valid for up to 12 months.

Services Amazon RDS works with

Amazon EC2Amazon EC2

Amazon RDS integrates with Amazon EC2 to enable applications hosted on EC2 instances to easily access and interact with managed relational databases.

Amazon VPCAmazon VPC

Amazon RDS seamlessly integrates with Amazon Virtual Private Cloud (VPC) to provide secure and isolated networking environments for databases.

Amazon AthenaAmazon Athena

RDS databases can be queried through Athena federated query connectors for supported engines, including MySQL and PostgreSQL. This lets you join operational database records with data in Amazon S3 without first copying all the records into a data lake.

Amazon AuroraAmazon Aurora

Aurora is managed within Amazon RDS, using RDS APIs and resources for database clusters, instances, snapshots, and related configuration. It provides MySQL-compatible and PostgreSQL-compatible database engines.

Amazon Aurora ServerlessAmazon Aurora Serverless

RDS supports Aurora Serverless database clusters, which automatically adjust database compute capacity to workload demand. These clusters use RDS management features for configuration, backups, and monitoring.

Amazon Bedrock

RDS Aurora PostgreSQL databases can serve as vector stores for Amazon Bedrock Knowledge Bases. Bedrock stores embeddings and associated content in the database and retrieves relevant information for generative AI responses.

Amazon CloudWatchAmazon CloudWatch

RDS publishes database metrics to CloudWatch and can export supported database logs to CloudWatch Logs. Enhanced Monitoring also sends operating-system metrics to CloudWatch Logs, while alarms can notify operators about conditions such as low storage or high CPU utilization.

Amazon Data FirehoseAmazon Data Firehose

Supported RDS MySQL and PostgreSQL databases can provide change data to Data Firehose database-source streams. Firehose captures database changes and delivers them to Apache Iceberg tables in Amazon S3 for analytics.

Amazon DevOps GuruAmazon DevOps Guru

Supported RDS databases can be analyzed by DevOps Guru for anomalous behavior and performance problems. DevOps Guru for RDS uses database performance information to identify issues such as resource bottlenecks and provide investigation recommendations.

Amazon Elastic Block Store (Amazon EBS)Amazon Elastic Block Store (Amazon EBS)

RDS DB instances use EBS-backed storage, with supported storage options including General Purpose SSD and Provisioned IOPS SSD. RDS manages the database volumes while exposing storage capacity, IOPS, and throughput settings for supported configurations.

Alternatives to Amazon RDS in other clouds

Azure

Azure Database for MySQL

Amazon RDS and Azure Database for MySQL both run managed MySQL databases with automated patching and backups. Amazon RDS also supports other database engines and offers MySQL Multi-AZ clusters with readable standbys, while Azure Flexible Server runs only MySQL and uses its high-availability standby for failover only.

Compare fact by fact
Amazon RDSAzure Database for MySQL
Database enginesMySQL, PostgreSQL, SQL Server, othersMySQL Community Edition only
MySQL standby readsReadable in Multi-AZ DB clustersFailover only
Azure Database for PostgreSQL

Amazon RDS and Azure Database for PostgreSQL both offer managed PostgreSQL with automated patching and backups. Amazon RDS also supports other database engines and places high-availability standbys in a different zone, while Azure focuses on PostgreSQL and offers same-zone or cross-zone standby placement where supported.

Compare fact by fact
Amazon RDSAzure Database for PostgreSQL
Database enginesPostgreSQL and other enginesPostgreSQL only
Failover standby placementDifferent availability zoneSame zone or different zone
Azure SQL Managed Instance

Amazon RDS and Azure SQL Managed Instance both manage database maintenance and automated backups, with point-in-time recovery. Amazon RDS supports several database engines, including SQL Server, and offers Multi-AZ deployments for zonal failover; Azure SQL Managed Instance focuses on SQL Server, with built-in local redundancy and zone redundancy in supported configurations.

Compare fact by fact
Amazon RDSAzure SQL Managed Instance
Database enginesSQL Server, MySQL, PostgreSQL, othersSQL Server
High availabilityMulti-AZ standby for zonal failoverBuilt-in local HA; optional zonal HA

What is Amazon RDS

3 min read

Amazon Relational Database Service (Amazon RDS) is a managed database service offered by Amazon Web Services (AWS) designed to simplify the setup, operation, and scaling of a relational database in the cloud. It provides resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching, and backups. This service seeks to free users from the routine database administration tasks, allowing them to focus on application development and business insights. 

The Amazon RDS API is asynchronous, so applications may need polling or callbacks to determine when a command has been applied. Depending on the operation, changes can take effect immediately, on the next instance reboot, or during the maintenance window.

Amazon RDS supports a variety of database engines, catering to the diverse needs and preferences of developers and businesses. Users can choose from several widely-used database engines including Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle Database, and SQL Server. Each of these options comes with their set of features, performance characteristics, and pricing, giving users the flexibility to select the one that best fits their application's requirements. 

Amazon RDS Custom provides a managed deployment option for applications that require customization of the underlying operating system and database environment.

Amazon RDS on AWS Outposts lets you deploy fully managed database instances in on-premises environments.

One of the key benefits of Amazon RDS is its scalability. Users can start with a modestly sized database instance and scale up to larger and more powerful instances as their needs grow, with just a few clicks or an API call. It's also possible to scale the database storage and compute resources with minimal downtime, which is crucial for maintaining a seamless user experience. 

RDS API requests are throttled per AWS account and Region using a token bucket with a default capacity of 300 requests and a refill rate of 12 requests per second across all RDS API actions. Accounts with approved increases have higher limits.

Amazon Aurora Serverless v2 offers an alternative to provisioned Aurora instances, automatically adjusting database capacity to match application demand.

Additionally, RDS supports read replicas which enhance the read scalability and performance for read-heavy database workloads. Another hallmark of RDS is its durability and reliability. Amazon RDS is designed to be highly available and has features such as automated backups, database snapshots, and multi-AZ (Availability Zone) deployments which enhance data protection and allow the database to be resilient against failures. 

In the case of multi-AZ deployments, the service automatically replicates the data to a standby instance in a different AZ, which provides failover support in the event of an infrastructure failure. Amazon RDS security is also a key focus, with AWS providing numerous controls to help safeguard your databases. These include network isolation using Amazon VPC, encryption at rest using keys you create and control through AWS Key Management Service (KMS), and encryption in transit using SSL. 

AWS Identity and Access Management (IAM) also lets you define users and permissions to control access to Amazon RDS resources.

For RDS for MySQL and RDS for PostgreSQL, Multi-AZ DB clusters provide another deployment option: one writer and two readable standby instances across three Availability Zones, combining failover support with read capacity.

Additionally, Amazon RDS is fully compliant with many industry standards, thus making it an appropriate choice for applications that require strict data regulations. The service offers automated software patching, allowing you to ensure your database is running with the latest patches for improved security and performance. 

Amazon RDS also provides detailed monitoring and metrics for your database instances through Amazon CloudWatch, giving you deep insight into performance and health. In summary, Amazon RDS offers a potent combination of simplicity, scalability, and robustness for managing relational databases in the cloud, significantly reducing the administrative burden and freeing developers to focus on innovation and application optimization. Its broad database engine compatibility ensures that enterprises and developers can operate their preferred databases without needing to invest in hardware and perform routine maintenance, all while benefiting from the elasticity and power of cloud computing.

Concepts related to Amazon RDS

Amazon RDS exam questions

Real practice exam questions on Amazon RDS, with the correct answer and its explanation. Answer them with every option in the exam simulator.

AIB-C01

A procurement company wants AI to discover groups of suppliers with similar purchasing patterns. Its supplier and payment records have consistently defined fields, including supplier ID, country, payment amount, and payment date, but no assigned supplier-group categories. The company needs a managed relational database to maintain these records and their relationships. A sponsor believes the missing categories mean the data is unstructured and requires document extraction before analysis. Which recommendation best meets the requirements and corrects this misunderstanding?

Show answerCORRECT ANSWER

Use Amazon RDS to maintain the related records. Treat them as structured but unlabeled for supplier grouping, and prepare supplier-level attributes for analysis without requiring document extraction.

Amazon RDS supports managed relational databases for records with defined fields and relationships. These records are structured regardless of whether supplier-group labels exist. Discovering groups can use unlabeled attributes; preparation could include aggregating payment records by supplier rather than extracting information from documents.

MLA-C02

A company is deploying a recommendation application on Amazon RDS for PostgreSQL with the pgvector extension. The application will continuously ingest millions of 768-dimensional item embeddings. The embedding model requires ranking by maximum inner product, and vector magnitudes vary, so cosine similarity does not produce equivalent rankings.

The deployment pipeline must create the table and a usable approximate nearest neighbor index before any embeddings are available. The index must support subsequent inserts without requiring representative training data or a later index rebuild to establish trained clusters. Production queries must use an index-supported nearest-neighbor ordering rather than exhaustive distance calculations.

Which configuration meets these requirements?

Show answerCORRECT ANSWER

Create an HNSW index with vector_ip_ops before ingestion. Retrieve recommendations by ordering the negative-inner-product operator (<#>) in ascending order with LIMIT.

HNSW does not require a training phase and can be created on an empty table, with subsequent inserts incorporated into the index. The vector_ip_ops operator class supports inner-product searches. Because <#> returns the negative inner product, ascending ordering retrieves the largest inner products first and supports the indexed nearest-neighbor query pattern.

SAP-C03

A company runs Amazon RDS for PostgreSQL databases in one AWS Region. Its production databases currently use four Single-AZ db.r6g.xlarge DB instances continuously. In 3 months, the company will consolidate these databases onto two Single-AZ db.r6g.2xlarge DB instances. A separate batch database requires one Single-AZ db.r6g.2xlarge DB instance for exactly 6 hours each day and is deleted after processing completes.

Performance testing has validated these configurations. The production capacity requirement and batch schedule will remain unchanged for the next 12 months. The company must retain the engine, instance family, Region, and processing schedule.

For a purchasing analysis, the company receives the following prices, which scale proportionally with instance size:

• On-Demand: $0.20 per db.r6g.large-equivalent hour.
• One-year, No Upfront Reserved DB Instances: $0.14 per db.r6g.large-equivalent hour, charged throughout the reservation term.
• One db.r6g.xlarge represents two db.r6g.large equivalents, and one db.r6g.2xlarge represents four db.r6g.large equivalents.

No existing commitments apply. All non-instance charges are identical across the purchasing strategies.

Which purchasing strategy will provide the LOWEST total DB instance cost over the next 12 months?

Show answerCORRECT ANSWER

Purchase eight one-year db.r6g.large Reserved DB Instances for PostgreSQL in the current Region. Use On-Demand pricing for the batch database usage beyond that coverage.

The production databases continuously consume eight large equivalents, both before consolidation (4 × 2) and afterward (2 × 4). RDS for PostgreSQL reservation size flexibility allows these reservations to cover either configuration within the same family and Region. The batch database needs four additional large equivalents for only 6 hours daily, so reserving that capacity would cost more than using On-Demand pricing. The illustrative daily total is (8 × $0.14 × 24) + (4 × $0.20 × 6) = $31.68, the lowest of the proposed strategies.

Practice Amazon RDS in a full exam

Questions on Amazon RDS in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn Amazon RDS in lessons

37 short lessons on Amazon RDS in 10 certification courses.

and 31 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.