2i2c-org / infrastructure

Infrastructure for configuring and deploying our community JupyterHubs.
https://infrastructure.2i2c.org
BSD 3-Clause "New" or "Revised" License
106 stars 65 forks source link

Enable automated backups of EBS volumes on VEDA staging hub #5061

Open sgibson91 opened 1 week ago

sgibson91 commented 1 week ago

Context

We will be moving forward on automated backups for AWS EBS volumes using the Data Lifecycle Manager option.

Task list

- [ ] Create an IAM role for DLM service in terraform
- [ ] Apply the target tag to existing EBS volumes for which automated backup has to be enabled.
- [ ] Set up a DLM lifecycle policy, that defines the time and interval of backup creation, retention period and a target tag for selection of EBS volumes for backing up, in terraform
- [ ] Set `Backup = true` on the existing EBS volume for staging
- [ ] Wait a day and see if a backup has been created
- [ ] Investigate how to restore from backups
- [ ] Document feature and how to restore from backup

Definition of Done