How to clone existing and configured VMs on WEkEO Elasticity

The simplest way to create the snapshot of your machine is using “Horizon” - graphical interface of OpenStack dashboard.

In summary, there will be 2 operations:

  1. Creating snapshot

  2. Restoring snapshot to newly created VM.

To start, please visit our website https://horizon.cloudferro.com and login.

../_images/saml_wekeo-elasticity.png

After logon, in “Instances” menu select VM to be cloned, and create its snapshot by clicking “Actions” Menu

../_images/clone2.png

Once the snapshot is ready, you may see it on “Images” page of Horizon. Select its name to see properties.

../_images/clone3.png

Now, you may click “Launch” in right upper corner of the window or just go back to “Instances” menu and launch new instance.

Full manual is here: How to create new Linux VM in OpenStack Dashboard Horizon on WEkEO Elasticity

But if this process is familiar to you, there is only one difference. Chose as the source “boot from snapshot” instead of “boot from image” and select your snapshot from the list below. In next steps select parameters (flavour, size), at least the same as the original one. (“Launch instance” button will be unavailable until all necessary settings were completed).

The new machine gets configured as a clone of the original one, except of network addresses (new floating-ip must be associated) and network policies.

Caution

If the original machine had any additional volumes attached to it, they should also be cloned.

You may also want to read: Volume snapshot inheritance and its consequences on WEkEO Elasticity.