SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Cloud Technology and Services

AWS Database Services for CLF-C02: RDS, Aurora, DynamoDB, ElastiCache, DMS

16 min readCLF-C02 · Cloud Technology and ServicesUpdated

AWS database services are the managed databases AWS runs for you — relational (Amazon RDS and Amazon Aurora), NoSQL (Amazon DynamoDB), in-memory (Amazon ElastiCache and Amazon MemoryDB) and graph (Amazon Neptune) — together with the tools that move existing databases onto them, AWS Database Migration Service (AWS DMS) and the AWS Schema Conversion Tool (AWS SCT). CLF-C02 Task 3.4 asks you to recognize each of these from a description of the data and the workload, and to explain when running a database yourself on Amazon EC2 is the better choice than letting AWS manage it. This lesson covers the self-managed versus managed trade-off, how RDS Multi-AZ differs from read replicas and from Aurora's storage, each service's data model and typical workloads, an RDS versus DynamoDB head-to-head, and how DMS, SCT and DMS Schema Conversion divide up a migration — and how they differ from AWS Application Migration Service and AWS DataSync.

What you’ll learn

  • Decide when to run a database on EC2 (self-managed) versus using an AWS managed database service, and who patches and backs up in each case
  • Identify Amazon RDS and its engines (MySQL, PostgreSQL, MariaDB, SQL Server, Oracle, IBM Db2), and distinguish Multi-AZ deployments from read replicas
  • Describe what makes Amazon Aurora different: MySQL/PostgreSQL compatibility, higher performance, six copies of data across three Availability Zones, and Aurora Serverless
  • Identify Amazon DynamoDB as a serverless NoSQL key-value and document database and match it to key-based, massive-scale workloads
  • Identify the memory-based services — Amazon ElastiCache (Valkey, Redis OSS, Memcached) as a cache and Amazon MemoryDB as a durable primary database — and tell caching apart from CloudFront and read replicas
  • Pair AWS DMS with AWS SCT or DMS Schema Conversion for homogeneous and heterogeneous migrations, and distinguish DMS from AWS Application Migration Service and AWS DataSync

The 8 parts · about 13 min of reading

  1. Databases on EC2 vs AWS managed databasesStart hereA database on EC2 gives any engine and OS access but you patch, back up and fail over; a managed service hands those chores to AWS.2 min
  2. Amazon RDSRDS runs six relational engines and handles patching and backups; Multi-AZ gives automatic failover, read replicas offload reads.2 min
  3. Amazon AuroraAurora is MySQL- and PostgreSQL-compatible, faster than both, keeps six copies across three AZs, and offers a Serverless option.2 min
  4. Amazon DynamoDBDynamoDB is serverless NoSQL with key-value and document items, a flexible schema and single-digit millisecond latency at any scale.1 min
  5. RDS vs DynamoDBRDS means tables, SQL joins and instances you size; DynamoDB means key lookups, scale-out and no instances, so read the data shape.1 min
  6. Memory-based databasesElastiCache is an in-memory cache in front of a database, MemoryDB a durable in-memory primary store, and Neptune a graph database.2 min
  7. Database migrationDMS copies data with the source live via full load and CDC; when engines differ, SCT or DMS Schema Conversion converts the schema first.2 min
  8. Choosing the right databaseClassify the data shape, check the operational ask, then scan for a migration angle to pick among RDS, Aurora, DynamoDB and the rest.1 min

Mind map

EC2: any engine, OS access, youoperateManaged: AWS patches, backs up, HASchema and queries stay with you1✓EC2 vs managedSix relational engines incl. Db2Multi-AZ: sync standby, auto failoverRead replicas: async, read scalingClassic Multi-AZ standby servesnothing2✓Amazon RDSMySQL and PostgreSQL compatibleSix copies across three AZs, alwaysServerless scales capacity with loadOther engines need plain RDS3✓Amazon AuroraServerless NoSQL, no instancesKey-value and document itemsSingle-digit ms latency at any scaleNot for joins, not a cache4✓Amazon DynamoDBTables and SQL vs key lookupsScale up vs scale outInstances vs serverlessRead the data shape first5✓RDS vs DynamoDBElastiCache: cache in front of a DBReplicas and CloudFront are not cachesMemoryDB: durable primary storeNeptune: graph, multi-hop queries6✓In-memory and graphDMS: full load plus CDC, source liveSame engine: DMS aloneDifferent engines: SCT, then DMSMGN rehosts servers; DataSync files7✓DMS and SCTClassify the data firstThen the operational askThen any migration angle8✓Choosing a databaseAWS databaseservices
Mind map

AWS Database Services for CLF-C02: RDS, Aurora, DynamoDB, ElastiCache, DMS

EC2: any engine, OS access, youoperateManaged: AWS patches, backs up, HASchema and queries stay with you1✓EC2 vs managedSix relational engines incl. Db2Multi-AZ: sync standby, auto failoverRead replicas: async, read scalingClassic Multi-AZ standby servesnothing2✓Amazon RDSMySQL and PostgreSQL compatibleSix copies across three AZs, alwaysServerless scales capacity with loadOther engines need plain RDS3✓Amazon AuroraServerless NoSQL, no instancesKey-value and document itemsSingle-digit ms latency at any scaleNot for joins, not a cache4✓Amazon DynamoDBTables and SQL vs key lookupsScale up vs scale outInstances vs serverlessRead the data shape first5✓RDS vs DynamoDBElastiCache: cache in front of a DBReplicas and CloudFront are not cachesMemoryDB: durable primary storeNeptune: graph, multi-hop queries6✓In-memory and graphDMS: full load plus CDC, source liveSame engine: DMS aloneDifferent engines: SCT, then DMSMGN rehosts servers; DataSync files7✓DMS and SCTClassify the data firstThen the operational askThen any migration angle8✓Choosing a databaseAWS databaseservices

How the exam tests this

CLF-C02 tests this topic through matching: a scenario describes the data shape or requirement — structured tables with SQL joins and transactions, key-value items at massive scale with millisecond latency, microsecond reads of repeated query results, a durable in-memory primary store, or highly connected data — and you identify relational (RDS/Aurora), NoSQL (DynamoDB), in-memory (ElastiCache or MemoryDB) or graph (Neptune). Expect items on the EC2 versus managed trade-off (who patches and backs up), the RDS engine list, Multi-AZ versus read replicas, Aurora's six-copy storage and Aurora Serverless, and caching versus read replicas or CloudFront. Migration items hinge on DMS moving data with the source live, SCT or DMS Schema Conversion converting schemas when the engine changes, and telling DMS apart from Application Migration Service and DataSync.

Key takeaways

  1. Database on EC2 = full control (any engine/version, OS access) but the customer patches, backs up and fails it over; managed services shift that work to AWS — but never the schema, queries or data decisions.
  2. Amazon RDS = managed relational service for MySQL, PostgreSQL, MariaDB, SQL Server, Oracle and IBM Db2 — relational engines only.
  3. RDS Multi-AZ = synchronous standby in another AZ, serves no traffic, automatic failover; read replicas = asynchronous read-only copies that scale reads, promoted manually.
  4. Amazon Aurora = MySQL/PostgreSQL-compatible engine with higher performance and six copies of data across three AZs (two per AZ), even with one DB instance; Aurora Serverless scales capacity automatically.
  5. Amazon DynamoDB = serverless NoSQL key-value/document database with a flexible schema and single-digit millisecond latency at any scale; joins and multi-table transactions point to relational instead.
  6. Amazon ElastiCache (Valkey, Redis OSS, Memcached) caches results in memory in front of a database; read replicas re-run queries and CloudFront caches content for end users. MemoryDB = durable in-memory primary database; Neptune = graph database.
  7. AWS DMS moves the data with the source live (full load + CDC); AWS SCT or DMS Schema Conversion converts schema and code between different engines.
  8. Same-engine migration = DMS alone; cross-engine = schema conversion, then DMS. Application Migration Service rehosts whole servers to EC2 and DataSync moves files — neither migrates a database into RDS or Aurora.
0/8
Ready to start

Part 1: Databases on EC2 vs AWS managed databases

A database on EC2 gives any engine and OS access but you patch, back up and fail over; a managed service hands those chores to AWS.

2 min read · 8 parts, about 13 min in allStart lesson

Frequently asked questions

What is the difference between RDS and DynamoDB?

Amazon RDS is a managed relational database service: data lives in structured tables with a fixed schema, and you query it with SQL, including joins and transactions. It runs MySQL, PostgreSQL, MariaDB, SQL Server, Oracle and IBM Db2 on instances you size. Amazon DynamoDB is a serverless NoSQL database: items are stored as key-value pairs or documents with a flexible schema, there are no instances to manage, and it delivers single-digit millisecond latency at any scale. Choose RDS for structured, relational data and existing SQL applications; choose DynamoDB for massive-scale, key-based workloads like session data, gaming state, and IoT.

What is Amazon Aurora and how is it different from RDS?

Amazon Aurora is a relational database engine that AWS built for the cloud, offered within the RDS family. It is compatible with MySQL and PostgreSQL, so applications written for those engines usually work unchanged, but AWS redesigned the storage layer: every Aurora cluster keeps six copies of its data across three Availability Zones (two per AZ), even with a single DB instance, and Aurora delivers several times the throughput of standard MySQL or PostgreSQL. Standard RDS with Multi-AZ instead keeps two copies — a primary and one standby in another AZ. Aurora Serverless adds automatic capacity scaling for variable workloads. Standard RDS fits when you need engines Aurora does not support — SQL Server, Oracle, MariaDB or Db2 — or a straightforward managed relational database.

What is the difference between RDS Multi-AZ and read replicas?

An Amazon RDS Multi-AZ DB instance deployment is for high availability: RDS keeps a synchronously replicated standby in another Availability Zone, the standby serves no traffic, and RDS fails over to it automatically if the primary or its AZ fails. Read replicas are for read scaling: RDS copies data asynchronously to read-only replicas (in the same Region or another one) that serve queries such as reports, taking load off the primary. A read replica does not take over automatically — promoting it to a standalone database is a manual step. A workload that needs both automatic failover and read offloading uses both features.

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?