β Repository β π Compliance Engine β π CloudAware β π AWS β π RDS
π‘οΈ AWS RDS Snapshot is 90 days old or moreπ’
- Contextual name: π‘οΈ Snapshot is 90 days old or moreπ’
- ID:
/ce/ca/aws/rds/snapshot-old
- Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY
- Policy Categories:
COST
Logicβ
- π§ prod.logic.yamlπ’
Descriptionβ
Descriptionβ
This policy identifies Amazon RDS Snapshots that are 90 days old or more.
Rationaleβ
Retaining database snapshots beyond their useful lifecycle can lead to unnecessary storage costs, particularly in environments with frequent backups. Regularly reviewing and removing outdated snapshots that are no longer required for business or compliance purposes supports both cost optimization and effective data lifecycle management.
Impactβ
Deleting snapshots that are still required for disaster recovery or compliance may result in data loss. Always confirm the snapshotβs purpose before removal.
Auditβ
This policy flags an AWS RDS Snapshot as
INCOMPLIANT
if itsSnapshot Create Time
, the timestamp marking snapshot creation, exceeds 90 days.RDS Snapshots with a
State
other than available are marked asINAPPLICABLE
.
Remediationβ
Remediationβ
If a snapshot is no longer required for operational use consider deleting it. If it must be retained for compliance or archival purposes, you can archive it to Amazon S3.
Delete the Snapshotβ
From Command Lineβ
aws rds delete-db-snapshot \
--db-snapshot-identifier {{db-snapshot-id}}Archive the Snapshot to Amazon S3β
Prerequisitesβ
From Command Lineβ
- Before exporting DB snapshot data to Amazon S3, you must grant the snapshot export task write access to the target bucket. Create an IAM Policy that grants the required permissions:
aws iam create-policy --policy-name {{export-policy}} --policy-document '{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ExportPolicy",
"Effect": "Allow",
"Action": [
"s3:PutObject*",
"s3:ListBucket",
"s3:GetObject*",
"s3:DeleteObject*",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::{{bucket-name}}",
... [see more](remediation.md)
policy.yamlβ
Linked Framework Sectionsβ
Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
---|---|---|---|---|---|
πΌ Cloudaware Framework β πΌ Waste Reduction | 25 | no data |