Instance Management Actions

ACTIONS

After launching an instance (On the left side bar, click on ProjectComputeInstances), several options are available under the Actions menu located on the right hand side of your screen.

  • Shutting down, Suspending, Stopping, Shelving, Deleting, Rebooting, Imaging

  1. Suspend & Resume
  • Click ActionSuspend ( restored by Resume )
  • Stops active computing while still consuming system resources
  • Safely preserve the state of your instance
  • Preserves some of your allocation (75% normal usage rate)
  • Status will change to Suspended




  1. Shutoff & Start Instance
  • Click ActionShut Off Instance ( restored by Start Instance )
  • Stops active computing, consuming fewer resources than a Suspend.
  • Preserve your allocation (50% normal usage rate)
  • Status will change to Shutoff




  1. Shelve & Unshelve
  • Click ActionShelve Instance ( restored by Unshelve )
  • Stops all computing, consuming no service units (0% normal usage rate).
  • Stores a snapshot of the instance.
  • We strongly recommend detaching volumes before shelving.
  • Status will change to Shelved Offloaded




  1. Soft Reboot & Hard Reboot
  • Click ActionSoft Reboot Instance or ActionHard Reboot Instance
  • Soft: send an ACPI Restart request to the VM. Similar to sending a reboot command to a physical computer
  • Hard: forcibly restart your VM. Similar to cycling the power on a physical computer.
  • Status will change to Reboot or Hard Reboot




  1. Delete Instance
  • Click ActionDelete Instance

    Unmount volumes attached to your instance before deleting the instance or risk corrupting your data and the volume.

  • If Ephemeral disk: Stops and removes the instance ephemeral disk from the cloud. All data will be permanently lost!*

  • If Volume-backed disk: Stops and removes the instance from the cloud. If Delete Volume on Instance Delete was set to yes, All data will be permanently lost!* . If set to no, the volume may be used to back a new instance, though any data stored in memory will be permanently lost.
  • Status will briefly change to Deleting while the instance is being removed.




  1. Create Snapshot
  • Click ActionCreate Snapshot
  • Creates an image template from a VM instance.
    • You can launch an instance, custom install the software and files you want to use, then request an snapshot/image of the instance. This will save all of the changes and updates, but also make your custom changes available to yourself and collaborators. Saving instances as images helps leverage both your time and existing resources. The saved image can be used to launch a new child instance at any time. This allows you to discard non-active instances, thus saving resources.
  • Snapshots and Images

    • When you have created a custom workflow or configuration, you can create a snapshot for your own use. In OpenStack, an instance snapshot is an image. The only difference between an image that has been uploaded directly to the image data service: glance and an image you create by snapshot is that an image created by snapshot has additional properties in the glance database and defaults to being private.

    Glance is a central image repository which provides discovering, registering, retrieving for disk and server images.

    CAUTION:: SHUTOFF

    You can create a snapshot from a running server instance, but if you want to preserve all data, you must shut down the source VM and verify the instance status is SHUTOFF before creating the snapshot.

  • Instances must have status Active, Suspended, or Shutoff to snapshot.

    • Shelved instances are already imaged as part of the shelving process and appear in ProjectComputeImages as <instance_named>_shelved
  • The menu will automatically shift to ProjectComputeImages while the image is created.

  • BEST PRACTICE: We recommend users upgrade the operating system before imaging.

    • For CentOS based systems, it’s sudo yum update.
    • For Ubuntu based systems, do sudo apt-get update and then sudo apt-get upgrade.

Creating an image on the SMALLEST possible size VM on which it will run will allow the image to be launched on VMs of the same flavor size or larger without resorting to a volume-backed instance.

For example, an image created on a Tiny sized VM can be launched on a VM of any size; an image created on a Medium VM can only be launched on a Medium or larger size VM.

  • In the ProjectComputeImages menu, click ActionEdit Image to modify the visibility and minimum disk requirements of your newly created image