kim0 said: Hey nix82,
Clouds are a bit different than traditional servers. In clouds, virtual servers are regarded as disposable. i.e. in traditional thought, you fought very hard to avoid a server crashing (HA and clusters), while in cloud world, if a server wants to crash, it's welcome to, I can replace it within seconds!
So basically, a server (say mysql server) consists of 2 parts. The running root image, and one or more EBS volumes. Root images are volatile, while EBS volumes are persistent and they hold your precious data. To answer your specific question, once the physical node fails, all VMs on that node will fail, all VMs are stored locally on that node, so they are gone forever!! However! What you do is, you start a fresh new virtual server, through an initialization script (cloud-init, or puppet or chef, or even custom script) you install mysql, mount the persistent EBS volume with your precious data/database, and start mysql, et voila you have your mysql server back. Note that even on ec2, if an instance dies/terminates .. it's gone forever, the magic is being able to recreate it within seconds which mandates full automation and configuration management
I hope that was helpful :)
Sorry for bumping such an old thread, but i'm looking into the uec myself. Your explenation is very clear, but i must say theres a little bit more to for example a database server, then installing mysql and attaching the date.. There's configurations made maybe theres some extra full text engine installed and configured etc. etc. How would one go at it? Do you need to create a init script which installs and sets up all this? This would mean that everytime you change something on the server, your init scripts needs to be changed as well :( doesn;t seem very handy to me..
How would you go at it?