Difference between revisions of "Snapshots"
(→Creating a snapshot) |
|||
Line 5: | Line 5: | ||
== Creating a snapshot == | == Creating a snapshot == | ||
− | Creating a snapshot in Luna Node Dynamic is easy. Simply go to the [https://dynamic.lunanode.com/panel/vms.php Virtual Machines] sidebar entry, select your VM, and enter a snapshot label in the snapshot box. | + | Creating a snapshot in Luna Node Dynamic is easy. Simply go to the [https://dynamic.lunanode.com/panel/vms.php Virtual Machines] sidebar entry, select your VM, and enter a snapshot label in the snapshot box. You may want to run sync before snapshotting. |
If you are snapshotting a VM that was installed from an ISO image, you will need to shut down the VM before snapshotting. You will also need to have the VM adjusted so that it is set to boot to the first disk and not the CD-ROM (this is accomplished by selecting swap boot order). | If you are snapshotting a VM that was installed from an ISO image, you will need to shut down the VM before snapshotting. You will also need to have the VM adjusted so that it is set to boot to the first disk and not the CD-ROM (this is accomplished by selecting swap boot order). | ||
+ | |||
+ | Note: templates come with software called cloud-init installed that sets up SSH configuration, user accounts, and other settings on the first boot. If you want a pure clone the VM, then you should uninstall cloud-init before taking the snapshot. | ||
== Provisioning from the snapshot == | == Provisioning from the snapshot == | ||
You can provision new instances from the snapshot, or re-image existing instances using the snapshot. | You can provision new instances from the snapshot, or re-image existing instances using the snapshot. |
Revision as of 12:45, 4 September 2014
Snapshots allow you to save the state of a virtual machine for backup or templating purposes. For VMs installed from templates, live snapshots can be performed where the VM does not have to be rebooted; on operating installs from ISO, only cold snapshots are supported (snapshot after VM is turned offline).
Snapshots are billed hourly for storage space only, at $0.04 per GB per month (the first 20 GB of usage is currently free, but this is subject to change).
Creating a snapshot
Creating a snapshot in Luna Node Dynamic is easy. Simply go to the Virtual Machines sidebar entry, select your VM, and enter a snapshot label in the snapshot box. You may want to run sync before snapshotting.
If you are snapshotting a VM that was installed from an ISO image, you will need to shut down the VM before snapshotting. You will also need to have the VM adjusted so that it is set to boot to the first disk and not the CD-ROM (this is accomplished by selecting swap boot order).
Note: templates come with software called cloud-init installed that sets up SSH configuration, user accounts, and other settings on the first boot. If you want a pure clone the VM, then you should uninstall cloud-init before taking the snapshot.
Provisioning from the snapshot
You can provision new instances from the snapshot, or re-image existing instances using the snapshot.