1 Answer
- Newest
- Most votes
- Most comments
0
You can use EventBridge to schedule a lambda, then use boto3 to take the snapshot directly to S3, like this example to star/stop the instance, just change the stop_db_cluster for create_db_snapshot, like this example:
rds_client.create_db_snapshot(DBSnapshotIdentifier=snapshot_id, DBInstanceIdentifier=instance_id)
Then create a S3 lifecycle policy to expire the files.
answered 2 years ago
Relevant content
- asked 7 months ago
- asked 5 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago