AWS Backups


Taking snapshots:
-console
-api call
-command line (ec2_instance.snapshot)

Restore from snapshot:
  1. ec2-create-volume
  2. Unmount
  3. Ec2-detach-volume
  4. Ec2-attache-volume
  5. Remount

Coping snapshots to another region.


Problem :We should doing backup when little utilisation to have consistency

Solution for DB
-hot backup mode
-read replica (back up of that, and remove)
-EBS snapshot


Solution for filesystem:
-xfs freeze
-unmount


Problem multiple volume backup:
-lvm
-replica to one big volume 



Backup databases:
A) your own:
-native tools 
-snapshots
-RAID -> replica

B) RDS
-Automated 
-Snapshots


AMI - base on snapshots
Action -> create image



On Premis:
-S3 and Glacier via API
-AWS Storage Gateway (iSCSI protocol)



Komentarze

Popularne posty z tego bloga

Kubernetes

Helm

Ansible Tower / AWX