[Action Required] AWS Backup: Introducing new tag values
https://29022131.atlassian.net/wiki/spaces/ENG/blog/2022/08/12/2551579642/Action+Required+AWS+Backup+Introducing+new+tag+values
Overview
Over the past month we have been monitoring AWS Backup costs and make these adjustment to optimize costs
For RDS, DynamoDB and EBS:
We have lowered the default retention period to 7 days for the following tags to optimize costs(this has been in effect since 8 July 2022)
We are also now introducing new tag values for resources that requires 30 days retention,
please re-tag the resources with these tags if you need 30 days retention:
Full list of resources that are supported by the tag above are listed here https://ap-southeast-1.console.aws.amazon.com/backup/home?region=ap-southeast-1#/settings
For RDS only:
For RDS that requires Point in time restore (PITR), please use the following tags:
For MongoDB EBS only:
Lastly, for MongoDB EBS volumes that require hourly backups with 1 day retention and daily backup with 30 days retention, please use this tag:
- Hourly1DDaily7D
- Hourly1DDaily30D
Note:
- You need to tag all EBS volume in the MongoDB cluster, normally production MongoDB cluster have 3 EBSs.
- Also, please do restore testing on the new snapshots and make sure that it is working as intended. Once you have confirmed it is working, You can disable lambda volume backup entirely to optimize on cost.
- For more cost optimization please lower RDS automatic snapshot retention to 1 day and a Daily snapshot
Updated SOP:
Full details can be found in
[SOP] Backing Up Resources with AWS Backup | Automatic-Backup-with-a-Tag
Who is this announcement for?
For all Backend Engineers in Product Teams
What are the action items for each teams?
- Please re-evaluate and tag your RDS, DynamoDB and EBS Volumes (for MongoDB) using the tag values above.
- For MongoDB please tag all of your EBS data volume, there should normally be 3 of them in a production environment.
- Disable Lambda volume backup for MongoDB once you have done restore testing using AWS Backup.
- For RDS please lower the automatic snapshot retention to 1 day
Why is this needed?
Cost optimization
Timeline
Aug 12, 2022: The tags are rolled out
Questions/Concerns?
Please contact the Cloud Infra team through #site-infra-channel and through Jira Service Desk [3].
Appendix
Vincent, on behalf of the Cloud Infra Team