Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
7 tasks done
Tracked by #5002
sgibson91 opened this issue Nov 13, 2024 · 9 comments
Closed
7 tasks done
Tracked by #5002

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

sgibson91 opened this issue Nov 13, 2024 · 9 comments
Assignees

Comments

@sgibson91
Copy link
Member

sgibson91 commented Nov 13, 2024

Context

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

  • Automatically create daily backups
  • Retention period of 5 days
  • Deploy and test on VEDA staging hub first

Task list

Tasks

Preview Give feedback

Definition of Done

  • The feature/service is technically complete
  • Deployed to staging hub
  • The feature/service been tested with one or more users (if applicable)
  • The feature/service is well documented, and the documentation is accessible for the target user base
@sgibson91
Copy link
Member Author

#5189 applied successfully!

The policy will execute a backup snapshot at 23:45 UTC every day, so next items are:

  • Check back tomorrow to see if a backup snapshot of the staging EBS volume has been created
  • Check back in >5 days time to ensure we are only retaining 5 backup snapshots for the EBS volume

@sgibson91
Copy link
Member Author

@sgibson91
Copy link
Member Author

Gotcha: double check terraform state hasn't changed state due to the backup, see for example the GCP backup docs https://infrastructure.2i2c.org/howto/filesystem-backups/restore-filesystem/#gcp

@sgibson91
Copy link
Member Author

Woohoo! Another piece completed!

@yuvipanda
Copy link
Member

Great job, @sgibson91 and @sunu!

Unfortunately I don't think this is quite complete yet. I've left a comment in https://github.com/2i2c-org/infrastructure/pull/5286/files#r1887447565.

@sgibson91
Copy link
Member Author

sgibson91 commented Jan 24, 2025

Did we close this in the end? @yuvipanda @sunu

We definitely updated the deployer to create a PV and PVC with the volume hosting the snapshot attached to do a copy

@yuvipanda
Copy link
Member

@sgibson91 i am not sure! once either of you verify (via the aws console maybe?) feel free to close this if appropriate.

@sgibson91
Copy link
Member Author

I think the comment you left on the PR was more about the docs to do recovery. But I will certainly click around in the console to ensure back-ups are enabled next week.

@sunu
Copy link
Contributor

sunu commented Jan 25, 2025

@yuvipanda @sgibson91 We have automated snapshots for both VEDA staging and prod hubs:

Image

And as Sarah mentioned, we have updated the deployer CLI to create a PV and PVC with the volume hosting the snapshot attached to do a copy and updated the documentation accordingly in #5291

I think we can close this issue as completed.

@sunu sunu closed this as completed Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants