22: Databases in AWS Flashcards
Database Types: RDBMS
SQL / OLTP, Aurora - great for joins
Database Types: NoSQL
no joins, no SQL - DynamoDB (~JSON), Elasticache (key / value pair), Neptune (graph), DocumentDB (MongoDB), Keyspaces (Apache Cassandra)
Database Types: Object Store
S3 (big objects), Glacier (backups / archives)
Database Types: Data Warehouse
SQL Analytics / BI: Redshift (OLAP), Athena, Elastic MapReduce (EMR)
Database Types: Search
OpenSearch (JSON) - free text, unstructured searches
Database Types: Graphs
Neptune - displays relationships between data
Database Types: Ledger
Amazon Quantum Ledger Database
Database Types: Time Series
Amazon Timestream
RDS Summary: Engine Type
Managed PostgreSQL / MySQL / Oracle / SQL Server / MariaDB / Custom
RDS Summary: What to Provision
Instance size, EBS Volume Type, and size.
RDS Summary: Capabilities
Autoscaling for storage, support for read replicas and Multi-AZ
RDS Summary: Security
Done through IAM, Security Groups, KMS, SSL in Transit
RDS Summary: Backup
Automated backup with point-in-time restore for 35 days, or Manual DB Snapshot for longer-term recovery
RDS Summary: Maintenance
Managed and Scheduled maintenance with downtime
RDS Summary: Authentication
Support for IAM authentication, integration with Secrets Manager
RDS Summary: Customize
RDS Custom for access to, and customize underlying instance (Oracle & SQL Server)
RDS Summary: Use Case
Store relational datasets (RDBMS / OLTP), perform SQL queries and transactions
Aurora Summary: API
Compatible API for PostreSQL / MySQL, separation of storage and compute
Aurora Summary: Storage
Stored in 6 replicas, across 3 AZ, highly available, self-healing, auto-scaling
Aurora Summary: Compute
Cluster of DB instance across multiple AZ, auto-scale of read replicas
Aurora Summary: Cluster
Custom endpoints for writer and reader DB instances
Aurora Summary: Security
Done through IAM, Security Groups, KMS, SSL in Transit
Aurora Summary: Backup
Aurora backs up your cluster volume automatically and retains restore data for the length of the backup retention period
Aurora Summary: Serverless
for unpredictable / intermittent workloads, no capacity planning
Aurora Summary: Multi-Master
for continuous writes failover (high write availability)
Aurora Summary: Aurora Global
up to 16 DB read instances in each region, <1 sec. storage replication
Aurora Summary: Machine Learning
perform ML using SageMaker & Comprehend on Aurora
Aurora Summary: Database cloning
new cluster from existing one, faster than restoring a snapshot
Aurora Summary: Use Case
same as RDS (Store relational datasets (RDBMS / OLTP), perform SQL queries and transactions), but with less maintenance, more flexibility, more performance, and more features.
ElastiCache Summary: Type
Managed Redis / Memcached (similar offering as RDS, but for caches)
ElastiCache Summary: Storage
In-memory data store, sub ms latency
ElastiCache Summary: Provisioning
Must provision an EC2 instance type
ElastiCache Summary: Clustering
Support for clustering (Redis), and Multi AZ, Read Replicas (sharding)
ElastiCache Summary: Security
IAM, Security Groups, KMS, Redis Auth
ElastiCache Summary: Backup
Backup, Snapshot, Point-in-time restore
ElastiCache Summary: Maintenance
Managed and Scheduled Maintenance