Launch instance from image¶
When snapshotting and entire instance, the end result is an image. Restoring from a snapshot (assuming the entire instance was restored) is then the same as creating an instance from a private image.
When restoring an entire instance from a snapshot, which might be the case if for instance an upgrade failed post snapshot and you want to revert to the previous state, you would create a new instance from the image that was generated.
This is a good method because it allows you to safely ensure that your new instance is up and running before deleting the old one (and not doing major changes to the only copy of the image).
Note
While there is a feature in the cloud management portal to do an in place restore to the current instance, we do not recommend it, but rather that you follow below guide to create a new instance from the image.
Please follow our below guide from creating an instance from a private image using our various tools.
Cloud management portal¶
To create a snapshot using the Cloud management portal
Click Compute and then Images in the sidebar menu
On the image that you want to use as base, press the small arrow Create from image
Enter a name
Select a flavor in the Configuration field
Choose a availability zone
If applicable choose a SSH key
Choose a private subnet
Click Create
OpenStack Horizon¶
To create a snapshot using OpenStack Horizon
Under Project, click Compute and then Images in the sidebar menu
Press Launch to the right on the row of the image
Follow the the instructions in our Launching instances using OpenStack Horizon guide
OpenStack Terminal Client¶
To create a snapshot using the OpenStack Terminal Client
List the images and save the name of the image you want to create a new instance from
openstack image list --private
Follow the instructions in our Launching instances using OpenStack terminal client guide replacing the
--image
value from the public image in the example to your private image
See also