Supplement · AWS
Data, storage, database và consistency
Bắt đầu từ access pattern, consistency, durability, recovery và throughput; không chọn database theo danh sách feature.
Storage
- S3 là object storage regional với strong read-after-write consistency; versioning, Object Lock, lifecycle và replication giải các threat khác nhau.
- EBS là block storage gắn theo AZ; snapshot là incremental backup. EFS là shared file system regional; throughput mode và small-file metadata có thể là bottleneck.
- Backup phải có isolation, retention, restore test và dependency order; “snapshot exists” chưa chứng minh recoverability.
Database
RDS Multi-AZ nhắm availability, read replica nhắm read scaling/DR tùy engine. Aurora tách compute/storage và có replica/failover semantics riêng. DynamoDB partition key quyết định distribution; hot partition không được chữa chỉ bằng tăng table capacity. Eventual consistency yêu cầu UX/reconciliation rõ. ElastiCache giảm latency/load nhưng cần invalidation, TTL, stampede và fail-open/closed policy.
Data contract: RPO/RTO, consistency per operation, encryption/key owner, retention/deletion, peak throughput, restore rehearsal và schema compatibility.