Booting an instance from a snapshot
Now that we have created an instance snapshot, imagine that we need to go back and recover files, or revert the application to the state it was at the time the snapshot was taken. As the snapshot is stored as an OpenStack image, you can boot directly from the snapshot, and as such all the details required to boot an instance applies to booting a snapshot.
Getting ready
To start an instance from a snapshot, you will need the following:
The
openstack
command-line clientThe
openrc
file containing appropriate credentialsThe name of the instance
The snapshot to use for the instance
The name of the flavor to create the instance with (this must be of equal or greater size of flavor compared with the one used in the original instance)
The name of the network or networks to attach the instance to
The keypair name to allow access to an instance
The name of any security groups to associate with the instance
How to do it…
The instance we will boot will have the following attributes...