This content has been marked as final. Show 6 replies
The manual way of backing up from the AWS console is to right-click on the running instance and select Create Image, which will automatically bundle your EBS volumes as well. I haven't looked for its equivalent in the API, but at least it will give you your first AMI to test with.
Thanks for the reply. I've actually created a number of AMIs manually - this way and using ElasticFox - but what I want to do is to have them be created automatically. Restoring from an AMI is simple, so it seems the obvious way to do it.
The Amazon AMI API has a number of functions that will do the equivalent of this, but they're Linux/Unix only (whereas the EC2 API has Windows scripts too). So I was looking for some pointers on how to script this automatically.
How do other organisations back up their cloud-based installations of ArcGIS Server?
You can do this through scripting the EC2 command line tools. Here are links to two posts on the ArcGIS Server blog that have some information on scripting commands using the EC2 API that you can review:
Using the concepts described in the blog posts you can schedule the ec2-create-snapshot command to create your snapshot backups at the schedule of your choosing. (The tools referenced in the blog posts will run on Windows.)
Hope this helps!
Thanks for the reply. Actually I was looking at creating them as bundles, rather than as snapshots, just for ease on spinning them back up. There are a few scripts on doing it as snapshots, and I think it looks like I should go down that route rather than using the AMI API.
A new backup and recovery solution for EC2 is available. Cloud Protection Manager (CPM) will allow you to automate backup of EC2 instances and EBS volumes. It has many features, including application support for Windows servers using VSS, automatic retention management (deletion of old snapshots) and powerful recovery options.
CPM is now offered as a free beta, for more details see: http://www.n2ws.com
For full disclosure, I'm the CTO of N2W Software, the author of CPM