- Serverless, provisioned capacity, auto scaling, on demand capacity (Nov 2018)
- Can replace ElastiCache as a key/value store (storing session data for example)
- Highly Available, Multi AZ by default, Read and Writes are decoupled, DAX for read cache
- Reads can be eventually consistent or strongly consistent
- Security, authentication and authorization is done through IAM
- DynamoDB Streams to integrate with AWS Lambda
- Backup / Restore feature, Global Table feature
- Monitoring through CloudWatch
- Can only query on primary key, sort key, or indexes
※ Use Case : Serverless applications development (small documents 100s KB), distributed serverless cache, doesn't - have SQL query language available, has transactions capability from Nov 2018
[ DynamoDB for Solutions Architect ]
Operations : no operations needed, auto scaling capability, serverless
Security : full security through IAM policies, KMS encryption, SSL in flight
Reliability : Multi AZ, Backups
Performance : single digit millisecond performance, DAX for caching reads, performance doesn't degrade if your application scales
Cost : Pay per provisioned capacity and storage usage (no need to guess in advance any capacity - can use auto scaling)
[ Databases in AWS : RDS(Relational Database Service) ]
1. Managed PostgreSQL / MySQL / Oracle / SQL Server
2. Must provision an EC2 instance & EBS Volume type and size
3. Support for Read Replicas and Multi AZ
4. Security through IAM, Security Groups, KMS, SSL in transit
5. Backup / Snapshop / Point in time restore feature
6. Managed and Scheduled maintenance
7. Monitoring through CloudWatch
8. Use case : Store relational datasets (RDBMS/OLTP), perform SQL queries, transactional I/U/D
※ OLTP : On-line Transactional Processing
[ RDS for Solutions Architect ]
1. Operations : small downtime when failover happens, when maintenance happens, scaling in read replicas/ec2 instance/restore EBS implies manual intervention, application changes
2. Security : AWS responsible for OS security, we are responsible for setting up KMS, security groups, IAM policies, authorizing users in DB, using SSL
3. Reliability : Multi AZ feature, failover in case of failures
4. Performance : depends on EC2 instance type, EBS volume type, ability to add Read Replicas. Storage auto-scaling & manual scaling of instances
5. Cost : Pay per hour based on provisioned EC2 and EBS