...
- Boot from Image: using this option, you can select the image from the list. You can also choose to use persistent storage by creating a new volume.
- Boot from Istance Instance Snapshot: using this option, you can select the snapshot from the list. You can also choose to use persistent storage by creating a new volume.
- Boot from Volume: using this option, you can select the volume from the list. It does not create a new volume.
- Boot from Volume Snapshot: using this option, you can select Volume Snapshot from the list. It creates a new volume to persist instance data.
...
The Images category shows the instance snapshot. To launch an instance from the snapshot, select the snapshot and click Launch. Proceed with launching an instance.
Stopping and Starting
...
Instance
Pause Instance/Unpause Instance allows for temporary suspension of the VM. The VM is kept in memory but it is not allocated any CPU time.
Suspend Instance/Resume Instance stores the VM onto disk and recovers it later. This is faster than stop/start and the VM returns to the status is was when the suspend was performed as opposed to a new boot cycle.
Info | ||
---|---|---|
| ||
The cleanest way to shutdown (or reboot) an instance is however to log on the VM and issue from the shell the shutdown or reboot command. In fact if the Soft Reboot Instance or Hard Reboot Instance or Shut Off Instance actions are chosen, there could be problems with networking when the VM is later restarted. |
Resizing Instance
If the size of a virtual machine needs to be changed, such as adding more memory or cores, this can be done using the resize operation. Using resize, you can select a new flavor for your virtual machine. The operation will reboot the virtual machine and might take several minutes of downtime, so this operation should be planned as it will lead to application downtime.
To resize an instance:
- Detach any attached volume as described in the next chapter.
- Select the Compute Instances menu and then Resize Instance option on the Actions.
- In the Resize Instance box (fig) select the desired flavor.
- Click Resize.
- After the new flavor has been selected, the status will become ‘resize’ or ‘migrating’.
- The status will change after several minutes to ‘Confirm’ or ‘Revert Resize/Migrate’. You may need to refresh the web browser page to reflect the new status.
- Select Confirm Resize/Migrate if you wish to change the instance to the new configuration.
The status will then change to Active once completed.
Track usage for instances
...