Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29449

Optimal way to save EBS snapshots on a hot-hot setup

$
0
0

I would like to use two availability zones to run two identical EC2 instances with identical data (A side and B side) (hot-hot).

This means that both of the EBS volumes (A and B) will be identical (assuming both AZ's are available) and hence the EBS snapshots will be the same. I am looking for suggestions on how I could only store one EBS snapshot in S3 backed up by the A side, and if something went wrong with the AZ of the A side then I would like the B side to take over and add as an increment to the snapshot previously created from the A side.

I was thinking I could have a lambda function which checks when a successful upload from the A side occurs in S3, and if it fails a snapshot will be created by the B side and the A side snapshot would be deleted but there is a lot of data and will take a long time to run a snapshot over the entire EBS volume hence I am looking for a way to merge another (identical) EBS volume into a snapshot.

Cheers!


Viewing all articles
Browse latest Browse all 29449

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>