Ethickfox kb page with all notes
AWS fully managed database services provide continuous monitoring, self-healing storage, and automated scaling to help you focus on application development.

| Database type | Use cases | AWS service | Free Tier Offer Details | Product Pricing |
| Relational | Traditional applications, enterprise resource planning (ERP), customer relationship management (CRM), ecommerce | Amazon Aurora | No | Amazon Aurora Pricing |
| Relational | Traditional applications, enterprise resource planning (ERP), customer relationship management (CRM), ecommerce | Amazon RDS | 12 MONTHS FREE 750 hours per month of db.t2.micro database usage (applicable database engines); 20 GB of general purpose (SSD) database storage; 20 GB of storage for database backups and database snapshots | Amazon RDS Pricing |
| Relational | Traditional applications, enterprise resource planning (ERP), customer relationship management (CRM), ecommerce | Amazon Redshift | 2-MONTH FREE TRIAL 750 DC2.Large node hours per month | Amazon Redshift Pricing |
| Key-value | High-traffic web applications, ecommerce systems, gaming applications | Amazon DynamoDB | ALWAYS FREE 25 GB of storage; 25 units of write capacity; 25 units of read capacity (enough to handle up to 200 million requests per month) | Amazon DynamoDB Pricing |
| In-memory | Caching, session management, gaming leaderboards, geospatial applications | Amazon ElastiCache | 12 MONTHS FREE 750 hours of cache.t2micro node usage | Amazon ElastiCache Pricing |
| In-memory | Caching, session management, gaming leaderboards, geospatial applications | Amazon MemoryDB for Redis | 2-MONTH FREE TRIAL 750 t4g.small instance hours per month; 20 GB of data per month | Amazon MemoryDB Pricing |
| Document | Content management, catalogs, user profiles | Amazon DocumentDB (with MongoDB compatibility) | No | Amazon DocumentDB Pricing |
| Wide column | High-scale industrial apps for equipment maintenance, fleet management, and route optimization | Amazon Keyspaces | 3 MONTHS FREE 30 million on-demand write request units; 30 million on-demand read request units; 1 GB of storage (limit of one free tier per payer account) | Amazon Keyspaces Pricing |
| Graph | Fraud detection, social networking, recommendation engines | Amazon Neptune | No | Amazon Neptune Pricing |
| Time series | Internet of Things (IoT) applications, DevOps, industrial telemetry | Amazon Timestream | No | Amazon Timestream Pricing |
| Ledger | Systems of record, supply chain, registrations, banking transactions | Amazon Ledger Database Services (QLDB) | No | Amazon Ledger Database Services (QLDB)Pricing |

Amazon Relational Database Service (Amazon RDS) is a service that makes it easier to set up, operate, and scale a relational databases (SQL) in the AWS Cloud. It provides cost-efficient, resizable capacity for an industry-standard relational database and manages common database administration tasks.
Amazon RDS takes over many of the difficult and tedious management tasks of a relational database:
It is a data warehouse product which forms part of the larger cloud-computing platform Amazon Web Services.1(https://en.wikipedia.org/wiki/Amazon_Redshift\#cite_note-1) It is built on top of technology from the massive parallel processing (MPP) data warehouse company ParAccel (later acquired by Actian),2(https://en.wikipedia.org/wiki/Amazon_Redshift#cite_note-2) to handle large scale data sets and database migrations.3(https://en.wikipedia.org/wiki/Amazon_Redshift#cite_note-3) Redshift differs from Amazon's other hosted database offering, Amazon RDS, in its ability to handle analytic workloads on big data data sets stored by a column-oriented DBMS principle. Redshift allows up to 16 petabytes of data on a cluster4(https://en.wikipedia.org/wiki/Amazon_Redshift#cite_note-4) compared to Amazon RDS Aurora's maximum size of 128 terabytes.5(https://en.wikipedia.org/wiki/Amazon_Redshift#cite_note-5)
In memory Database. Supports Redis or Memcached as engine. Amazon ElastiCache for Redis is a manged version of Redis – in-memory data store used mainly for caching. It can be placed in front of a database, like DynamoDB or RDS, to speed reads operations. Two common caching strategies are lazy loading and write-through.

Weakly consistent
with an unbounded inconsistency window.
Redis allows writes and strongly consistent reads on the primary node of each shard and eventually consistent reads from read replicas. These consistency properties are not guaranteed if a primary node fails, as writes can become lost during a failover and thus violate the consistency model. Automatic detection of and recovery from cache node failures. In scenarios where the primary node fails ElastCache for Redis will automatically promote an existing read replica to the primary role. Redis replication system is asynchronous: all updates to primary nodes are replicated after being committed. In the event of a failure of a primary, acknowledged updates can be lost.
Use cases / Considerations
Building low-latency data stores. Amazon ElastiCache stores non-durable datasets in the memory and further supports real-time applications with microsecond latency and thus, helps in building low-latency data stores which help many clients.
Eases backend database load. Amazon ElastiCache provides caching of users' data which further reduces the pressure on the user's backend database and further enables the higher application scalability. This helps in reducing the operational burden and thus eases the backend database load.
Accelerated performance of the application. Amazon ElastiCache accesses the data with a microsecond latency and with high throughput which further results in lightning-fast application performance. Thus it provides the accelerated performance of the application.
Caching. Amazon ElastiCache provides caching which accelerates the application and the database performance or further as a primary data store for use cases that don't require durability like the session stores, streaming gaming leaderboards and analytics.
In-memory data store. Amazon Elasticahe provides an in-memory key-value store(or Datastore) which further provides ultrafast and inexpensive access to the copies of data. Further, most data stores have areas of data that are frequently accessed but are seldom updated. So, querying a database is always slower and more expensive than locating a key in the key-value pair cache.
MemoryDB for Redis aims to replace both cache and database in one component – provides microsecond read latency and data durability.

Strong consistency on the primary node, eventual consistency reads on replica nodes.
The consistency model of MemoryDB is similar to ElastiCache for Redis. However, in MemoryDB, data is not lost across failovers, allowing clients to read their writes from primaries regardless of node failures. Only data that is successfully persisted in the multi-AZ transaction log is visible. Replica nodes are still eventually consistent.
MemoryDB supports lossless failover.
When a failure occurs on a primary node, MemoryDB will automatically failover and promote one of the replicas to serve as the new primary and direct write traffic to it. Additionally, MemoryDB utilizes a distributed transactional log to ensure the data on replicas is kept up-to-date, even in the event of a primary node failure. Failover typically happens in under 10 seconds for unplanned outages and typically under 200 milliseconds for planned outages. MemoryDB stores your entire data set in memory and uses a distributed multi-AZ transactional log to provide data durability.
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability.
In DynamoDB, tables, items, and attributes are the core components that you work with. A table is a collection of items, and each item is a collection of attributes.
DynamoDB supports eventually consistent and strongly consistent reads. For more information on that, see Read Consistency.
DynamoDB comes in two Read/Write capacity modes, which should be chosen depending on application load and your budget.
For working with data, you can access Amazon DynamoDB using the AWS Management Console, the AWS Command Line Interface (AWS CLI), or the DynamoDB API.
If your application requires really fast reads (real-time bidding, social gaming, and trading applications) DynamoDB Accelerator (DAX) is a good choice, as it will cache query data from DynamoDB and your application will get the needed data much faster.
As DynamoDB has two Read/Write capacity modes, it’s important to understand, whether to use On-Demand or Provisioned mode.
Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6, 4.0, and 5.0 API by emulating the responses that a MongoDB client expects from a MongoDB server, allowing you to use your existing MongoDB drivers and tools with Amazon DocumentDB. Updating your application is as easy as changing the database endpoint to a new Amazon DocumentDB cluster.
Amazon Neptune is a fast, scalable graph database service. Neptune efficiently stores and navigates highly connected data.
Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra–compatible database service. With Amazon Keyspaces (for Apache Cassandra), you can run your Cassandra workloads on AWS using the same Cassandra application code and developer tools that you use today.

Amazon QLDB is a fully managed ledger database that provides a transparent, immutable and cryptographically verifiable transaction log owned by a central trusted authority. Amazon QLDB tracks each and every application data change and maintains a complete and verifiable history of changes over time.