Amazon Relational Database Service (Amazon RDS) is a managed database service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides scalable computing capacity and manages various common database administration tasks such as hardware provisioning, database setup, patching, and backups.
With Amazon RDS, users can access the capabilities of a familiar relational database on the cloud, rather than with the typical maintenance overhead of managing a relational database on your own hardware or in a traditional data center setting.
What are the benefits of Amazon RDS?
- Automated Management Tasks: Amazon RDS automates routine database administration tasks. You just have to select a database engine (MySQL, PostgreSQL, Oracle, SQL Server, MariaDB, or Amazon Aurora), specify the instance size, and set up the initial configuration parameters like instance class, storage amount, and type. Amazon RDS frees engineers from database upkeep so they can spend more time on development.
- Scalability: Amazon RDS allows easy vertical scaling (adjusting CPU and RAM) and horizontal scaling (increasing storage capacity) through a few clicks in the AWS Management Console or via API calls. This can be crucial for handling varying application loads without downtime.
- Read Replicas: You can improve the performance of read-heavy database workloads by creating one or more read replicas of a source database. These replicas handle read traffic, thereby reducing the load on the primary database and enhancing overall application responsiveness.
- Availability and automated backups: For high availability, Amazon RDS allows you to run instances in multiple availability zones (Multi-AZ deployments), automatically replicating data to stand-by instances in different zones. Amazon RDS manages backups automatically and also allows users to initiate manual snapshots. You can also perform point-in-time recovery of your database to a specific second within your retention period, minimizing data loss during accidental deletes or database corruption.
- Flexible Pricing Options: as a cloud computing service Amazon RDS pricing is scalable and flexible. You can choose from on-demand pricing where you pay per hour for the compute and storage resources you use without any upfront commitments. For long-term needs, there are reserved instances where you commit to using Amazon RDS for a one or three-year term, which can offer significant discounts compared to on-demand rates. Additionally, AWS provides the option to pay for IOPS (input/output operations per second) for provisioned IOPS SSDs, giving you performance predictability for I/O-intensive applications.
- Integrated Security: Amazon RDS provides several security features such as 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
- Easy migration: AWS Database Migration Service can be used to facilitate smooth and secure migrations from your existing databases to RDS.
How does Amazon RDS work?
DB Instance:
An Amazon RDS DB instance (or Database instance) is an isolated cloud database environment, and the fundamental building block of Amazon RDS. It represents a virtual server in the AWS cloud, configured to run a specific database engine. Each DB instance operates isolated and independently, but can interact with other AWS services.
A DB instance class consists of both the DB instance type and the size. Each instance type offers different compute, memory, and storage capabilities.
DB Engine:
Storage Layer:
Control Plane:
Data Plane:
Networking:
What DB engines does Amazon RDS support?
RDS for Db2
RDS for MariaDB
RDS for SQL Server
RDS for MySQL
RDS for Oracle
RDS for PostgreSQL
RDS for Amazon Aurora
Amazon RDS Custom
How does Amazon RDS pricing work?
Amazon RDS Free Tier
With the Amazon RDS free tier, you can get the following each month for a year:
- Amazon RDS usage per month: 750 hours on select Single-AZ Instance databases. Usage is aggregated across instance types if using more than one instance. (Available engines: MySQL, MariaDB, PostgreSQL, or SQL Server – SQL Server Express Edition only.)
- General Purpose SSD (gp2) storage per month: 20 GB
- Storage for automated database backups per month: 20 GB
Main factors that determine Amazon RDS pricing
Here are the most important factors determining how much Amazon RDS will cost you:
- Instance Runtime: Charges accrue based on the duration your database instance is active, from initialization to termination.
- Database Specifications: The cost is influenced by the specifications of the database, such as the engine type, instance size, and memory capacity.
- Pricing Model: Amazon RDS offers On-Demand instances where you pay per hour without long-term commitments, and Reserved Instances where you make an upfront payment for a reduced hourly rate over a one or three-year period.
- Instance Count: Costs scale with the number of database instances you deploy to manage workload demands.
- Provisioned Storage and Backup: You’re provided with backup storage up to 100% of your provisioned volume at no extra cost for active instances. Excess backup storage incurs additional fees.
- Extra Backup Storage: Charges apply for any backup storage that exceeds your provisioned database storage.
- Long Term Retention: Charged per vCPU per month for each database instance that has this feature enabled, with costs varying based on the instance type and region.
- API Usage: The first million API requests monthly are included free under the Performance Insights dashboard, with additional requests charged per thousand.
- Deployment Configuration: Deploying instances across multiple Availability Zones for higher availability and durability leads to variations in storage and I/O costs.
- Data Transfer Fees: While inbound data transfer is free, outbound transfer fees are based on the amount of data and its destination.
Other factors like network traffic management, additional feature integrations, and regional price variations also contribute to the cost of your Amazon RDS bill.
Amazon RDS pricing by Database engine
Another key pricing factor to consider is the database you’re using.
Amazon Aurora, MariaDB, MySQL and PostgreSQL share similar pricing structures.
Pricing includes On-Demand Instances charged hourly without long-term commitments, and Reserved Instances for up to 3 years offering significant savings. Aurora Serverless provides flexible scaling and billing based on actual usage.
Costs include storage billed per GB-month, I/Os per million requests, and extra charges for features like Global Database, Snapshot Export, and Backtrack.
IMB DB2, Oracle and Microsoft SQL Server have higher pricing due to licensing fees, potentially costing nearly twice as much as open-source options. Oracle offers a self-licensing option that can reduce costs to those comparable to open-source databases.
Storage and data transfer fees remain consistent across these and the open-source databases.
Understand and optimize Amazon RDS with nOps
Business Contexts transforms millions of rows of contextless data into the who, what, when and why of cloud spend — making it easy to get 100% visibility of your cloud costs and usage so your bills are never a surprise or mystery.
- Allocate 100% of your AWS costs, including EKS. Kubernetes costs are often a black box — no longer with nOps. Understand and allocate your unified AWS spend in one platform.
- Automated resource tagging. You don’t need to have all your resources tagged to allocate costs. Create dynamic rules by region, tags, operation, accounts, and usage types to allocate costs back to custom cost centers.
- 40+ views & filters. Map hourly costs by any relevant engineering concept (deployment, service, namespace, label, pod, container…) or finance concept (cost unit, purchase type, line item, cost allocation tag…).
- Custom reports & dashboards for the whole team. Monthly reporting and reconciliation can take hours; with nOps only minutes. Tailor dashboards and Slack/email reports to your needs, whether you’re a CFO or VP of Engineering.
The best part? nOps is an all-in-one solution for all of your cloud optimization needs: automated commitment management, rightsizing, resource scheduling, workload management, Spot usage, storage optimization, and more.
Join our customers using nOps to understand your cloud costs and leverage automation with complete confidence by booking a demo today!