DVA-C02

Introduction to Amazon RDS and Amazon Aurora

Managed relational databases, including the cloud-native Amazon Aurora.

  • 2 lessons
  • Module quiz

Many applications store data that is naturally relational: customers, orders and products linked to each other and queried with SQL, joins and transactions. Running a relational database yourself involves installing it, patching it, taking backups, replicating it for availability and replacing failed hardware.

Amazon Relational Database Service (Amazon RDS) runs relational databases as a managed service, with engines including MySQL, PostgreSQL, MariaDB, Oracle, SQL Server and Db2. AWS handles the database software, backups, patching and hardware, while the developer designs the schema and queries and chooses the instance size. Amazon Aurora is AWS's own relational engine, compatible with MySQL and PostgreSQL, whose distributed storage layer is faster and more available than a standard RDS instance. Both are charged per instance-hour, or per Aurora capacity unit for Aurora Serverless, plus storage and I/O.

Where RDS and Aurora fit

For developers, the exam focuses less on database administration and more on how applications use relational databases correctly. Two distinctions recur: Multi-AZ deployments improve availability, while read replicas spread read traffic. And connecting from Lambda raises particular problems, because many concurrent function invocations can open more connections than a database allows, and credentials must never be stored in code.

How this module is organised

Choosing Amazon RDS, Aurora or DynamoDB for Application Data explains when a relational database is the right choice, the difference between RDS and Aurora, and the features for availability and read scaling. Connecting Applications to Relational Databases Efficiently and Securely explains how applications, especially Lambda functions, connect efficiently through RDS Proxy or the Data API, which endpoints they should use, and how credentials are protected.

  1. Choosing Amazon RDS, Aurora or DynamoDB for Application Data Lesson 1
  2. Connecting Applications to Relational Databases Efficiently and Securely Lesson 2
  3. Practise and review
  4. Test your knowledge 6 questions