Open kaburkett opened 9 years ago
Okay... I am new to the awscli syntax and didn't realize the functions in the beta folder were out of date. So, I don't think what is already there is going to help me much (with my level of experience at the moment).
I need some help.
So from the documentation I can see there is a flag to set which region you are taking the snapshot from. What I cant find is an option to store the taken snapshot in a different region.
I am trying to prevent snapshots from being in the same availability zone as the production servers I am snapping.
I found copy-snapshot in the awscli documentation: http://docs.aws.amazon.com/cli/latest/reference/ec2/copy-snapshot.html Which essentially is what I need (I think)- unless by default Amazon puts snapshots in a different AZ than the targeted volume. From what I understand, there can be multiple AZs in one region.. so the fact that they share the same region isn't really the deal-breaker. I just cant find whether I need to copy the snapshots to a different region or if Amazon went the extra mile to put snapshots in different AZ than the target already.
Edit: Holy shit. Found the copy-snapshot as a feature in the beta folder. I will be trying this out.