概念 · 基于 CLF-C02
Backup and retention policies
Keep as many backups as your recovery and compliance rules need, and no more.
本课尚未翻译,暂以英文显示。
你在云从业者中已学过
- AWS Backup centralizes backups.
- Snapshots and point-in-time recovery protect databases.
- Retention balances protection against cost.
RDS automated
- Kept for
- Up to 35 days
- Cost note
- Free up to database size
Manual snapshot
- Kept for
- Until you delete it
- Cost note
- Bills every month
DynamoDB PITR
- Kept for
- 1 to 35 days
- Cost note
- Billed on table size
DynamoDB on-demand
- Kept for
- Until you delete it
- Cost note
- Billed on size
| Backup type | Kept for | Cost note |
|---|---|---|
| RDS automated | Up to 35 days | Free up to database size |
| Manual snapshot | Until you delete it | Bills every month |
| DynamoDB PITR | 1 to 35 days | Billed on table size |
| DynamoDB on-demand | Until you delete it | Billed on size |
是什么
RDS and Aurora automated backups keep daily snapshots and logs for a retention period of up to 35 days. This lets you restore to any second in the window (point-in-time recovery). Backup storage up to the size of your database is free, and you pay beyond it. Longer retention and more frequent snapshots store more data. Manual snapshots stay until you delete them, even after you delete the database, and they keep billing, so clean them up.
DynamoDB point-in-time recovery restores to any second in a window of 1 to 35 days, and bills on table size. DynamoDB on-demand backups stay until you delete them and bill by size.
是什么
AWS Backup applies one plan across services. A lifecycle rule moves backups to cold storage after a number of days, and deletes them at the end of retention. Cold storage must be kept at least 90 days. It is cheaper, but only some services support it: Amazon EBS, Amazon EFS, Amazon DynamoDB, Amazon Timestream and VMware. For DynamoDB you must first turn on advanced features for DynamoDB backups in AWS Backup settings. Base retention on your recovery point objective and on legal rules, not on habit.
要记住
- RDS automated backups: up to 35 days, with point-in-time recovery. Free up to database size.
- Manual snapshots stay until deleted and keep billing. Delete old ones.
- DynamoDB point-in-time recovery: 1 to 35 days. On-demand backups last until deleted.
- AWS Backup lifecycle: move to cold storage, then delete. Cold storage needs 90 days at least.
要记住
- Not every service supports cold storage. EBS, EFS and DynamoDB do. DynamoDB needs advanced features turned on.
- Retention follows recovery point objective and legal rules. More frequent snapshots store more data.
考试中
- “Restore RDS to 10 minutes ago” points to automated backups with point-in-time recovery.
- “Keep DynamoDB backups for years at the lowest cost” points to AWS Backup with a cold storage lifecycle, with advanced features on for DynamoDB.
- “Old manual snapshots keep adding cost” points to deleting snapshots, or a Backup lifecycle rule.
别和这些弄混
AWS BackupCross-Region and cross-account copies, Vault Lock, point-in-time recovery, and when to use backup instead of replication.
Amazon Relational Database Service (Amazon RDS)Managed MySQL, PostgreSQL, MariaDB, Oracle, SQL Server and Db2: choose the engine, the instance class and the storage type.
Amazon DynamoDBServerless key-value and document database. Design the key well and choose the capacity mode.
本任务内容 · 4.3
- DynamoDB cost design
- RDS and Aurora cost design
- Reserved capacity for databases
- Backup and retention policies
- Cost-effective database types
Organizations
Backup
- Caching strategies
- Choosing a database by access pattern
RDS
- Read replicas
RDS Proxy
Aurora
Aurora Serverless
DynamoDB
ElastiCache
DMS
- SCT
Redshift
- Cost allocation tags
Cost Explorer
Budgets
Cost and Usage Reports
- Multi-account billing