AWS Elastic Block Store Volumes are invaluable for setting up EC2 nodes.
You can clone and/or backup Volumes into static Snapshots, also extremely useful. But be aware that the process of creating a Snapshot can be extremely slow and this can be a major problem if you are not expecting the delay.
For example, creating a snapshot from a 50GB volume took almost 2 hours for me today. Now, times will vary for all sorts of reasons. Most importantly, the first time you create a snapshot off a given volume will take the longest. Subsequent snapshots are just recording the changes since the previous one.
Being prevented from using your Volume for an extended period of time can be a huge problem, so plan ahead and make your snapshots overnight, for example.
Having said that, if your Volume contains Static or Read-Only data, then you have more flexibility:
- You can create a Snapshot from a mounted Volume, without having unmount or detach
- You can mount an unmounted Volume that is in the process of Snapshot creation.
This is convenient and does not appear to be explicit in the AWS docs, as far as I can see.
But this is limited to Volumes that will not change during snapshot creation.
WARNING: DO NOT try this with a Volume that is being written to, such as one holding a database.
A collection of computer systems and programming tips that you may find useful.
Brought to you by Craic Computing LLC, a bioinformatics consulting company.
Wednesday, August 12, 2009
Subscribe to:
Post Comments (Atom)
Contributors
Archive of Tips
-
▼
2009
(53)
-
▼
August
(9)
- Capistrano and Environment Variables
- Lightbox2 in a Rails App
- Configuring SSL on an AWS EC2 instance - Security ...
- AWS EBS Volumes and Snapshots
- UNIX screen command
- Creating and Attaching AWS EBS Volumes to an EC2 node
- Sinatra and Passenger
- Rename a MySQL database used in a Rails Application
- RedCloth 4.2.2 and textilize in Rails 2.2
-
▼
August
(9)
No comments:
Post a Comment