AWS Tips-and-Tricks¶
Weekly instance snapshots¶
We currently don’t have automatic snapshots enabled, so you need to do them manually.
Please login to Amazon AWS (us-east-1 region) and go to EC2
Open snapshots from the left menu
Filter all existing snapshots with CoprPurpose: infrastructure
- See what tags they have and what is the naming convention
Tags: Name, CoprInstance, CoprPurpose, FedoraGroup
Naming: data-copr-XY-prod-YYYY-MM-DD where XY is instance name (fe, be, dg, kg)
We also keep -last-clean snapshots for backend and distgit instances. They are created from an unmounted filesystem
Open volumes from the left menu and filter CoprPurpose: infrastructure and CoprInstance: production
Right-click on all needed volumes and Create Snapshot
Wait, it will take an hour to create the backend snapshot.
Make sure that all snapshots were created correctly and from the right volumes. Feel free to ask for a review here.
Delete the previous set of snapshots (do not touch last-clean snapshots!)