Compute Service (Nova)
- Instances
- Creating Instances
- Associating Floating IPs
- Managing Instance Interfaces
- Managing Instance Volumes
- Editing Instances
- Logging in via console
- Viewing Instance Logs
- Pausing an Instance
- Suspending an Instance
- Shelving an Instance
- Resuming an Instance
- Unshelving an Instance
- Resizing an Instance
- Locking an Instance
- Unlocking an Instance
- Soft rebooting an Instance
- Hard Rebooting an Instance
- Shutoff an Instance
- Rebuilding an Instance
- Deleting Instances
- Managing Key Pairs
- Creating Key Pairs
- Importing Key Pairs
- Deleting Key Pairs
The COARE Science Cloud’s compute-as-a-service is implemented through Nova. This provides a way to provision compute instances (virtual servers) and enables users to create virtual machines and baremetal servers.
On the Project tab, open the Compute tab and click Overview category. This will show the provided and allocated resources to the selected Project.
Instances
An instance is another term for a virtual machine (VM).
On the Project tab, open the Compute tab and click the Instances category. This will show the instances created on the selected Project.
Creating Instances
- Click Launch Instance on the Instances category.
- Fill out the required fields:
- Instance Name: Specify name to identify instance
- Volume Size: Size for the root disk (minimum for this will be based on the image parameters or the flavor chosen)
- Device Name: Name for the disk (dependent on image metadata)
- Source: Image to be used by the instance
- Flavor: Virtual CPU (vCPU), vRAM, root disk size, etc. for the instance
- Network: Network/s to be attached to the instance
- Security Group: Security group/s to be attached to the instance
- Key Pair: Key pair/s attached to the default cloud user of the image
- Click Launch Instance
Associating Floating IPs
- Click Associate Floating IP on the drop-down arrow beside the Create Snapshot button
- Fill out the required fields:
- IP Address: Select a Floating IP to associate to instance
- Port to be associated: Select a port
- Click Associate
Managing Instance Interfaces
- Click Attach/Detach Interface on the drop-down arrow beside the Create Snapshot button
- Fill out the required fields:
Attach Interface options:
- Network: Select network/s to attach to instance
Detach Interface options:
- Port: Select interface/s to detach to instance
- Click Attach/Detach Interface
Managing Instance Volumes
- Click Attach/Detach Interface on the drop-down arrow beside the Create Snapshot button
- Fill out the required fields:
Attach Volume options:
- Volume ID: Select volume/s to attach to instance
Detach Volume options:
- Volume ID: Select list of volumes to detach from instance
- Click Attach/Detach Volume
Editing Instances
- Click Edit Instance on the drop-down arrow beside the Create Snapshot button
- Fill out the required fields:
Information tab options:
- Name: name of the instance
Security Groups tab options:
- All Security Groups: Lists all available Security Groups
- Instance Security Groups: Enabled Security Group for the Instance
- Click Save
Logging in via console
- Click Console on the drop-down arrow beside the Create Snapshot button
- Login with the default credentials (coare) or the credentials created by the user
Viewing Instance Logs
Click View Logs on the drop-down arrow beside the Create Snapshot button. This will enable users to view the startup logs of the instance.
Pausing an Instance
Click Pause Instance on the drop-down arrow beside the Create Snapshot button. This will store the VM in RAM where it continues to run in frozen state.
Suspending an Instance
Click Suspend Instance on the drop-down arrow beside the Create Snapshot button. This will initiate a hypervisor-level suspend operation.
Shelving an Instance
Click Shelve Instance on the drop-down arrow beside the Create Snapshot button. This will shut down the instance and store it together with associated data and resources (a snapshot is taken if not volume backed). Note that anything in memory of the instance is lost.
Resuming an Instance
Click Restart Instance on the drop-down arrow beside the Create Snapshot button. This will restart instance/s that are on pause or in suspended state.
Unshelving an Instance
Click Unshelve Instance on the drop-down arrow beside the Create Snapshot button. This will restart instance/s that are on shelved state.
Resizing an Instance
- Click Resize Instance on the drop-down arrow beside the Create Snapshot button
- Select the new flavor for the assigned instance.
- Click Resize
Locking an Instance
Click Lock Instance on the drop-down arrow beside the Create Snapshot button. This will secure the VM to avoid accidental deletion.
Unlocking an Instance
Click Unlock Instance on the drop-down arrow beside the Create Snapshot button. This will unlock VM to allow deletion.
Soft rebooting an Instance
Click Soft Reboot Instance on the drop-down arrow beside the Create Snapshot button. This will attempt a graceful shut down and restart the instance.
Hard Rebooting an Instance
Click Soft Reboot Instance on the drop-down arrow beside the Create Snapshot button. This will power cycle the instance at hypervisor level.
Shutoff an Instance
Click Shutoff Instance on the drop-down arrow beside the Create Snapshot button. This will turn the power off on the instance.
Rebuilding an Instance
- Click Rebuild Instance on the drop-down arrow beside the Create Snapshot button. This will rebuild the instance from an existing image.
- Fill out the required fields:
- Select Image: Select new image to be used for rebuilding the instance
- Disk Partition: Change partitioning mechanics to either automatic or manual
- Click Rebuild Instance
Deleting Instances
- Click the checkbox on the left of the instances to be deleted
- Click Delete Instances on the right (red colored button)
- Click Delete Instances
Managing Key Pairs
On the Project tab, open the Compute tab and click the Key Pairs category.
Creating Key Pairs
To create key pair:
- Click Create Key Pair on the Key Pair category.
- Fill out the required field:
- Key Pair Name: Specify name to identify key pair
- Click Create Key Pair
Importing Key Pairs
- Click Import Key Pair on the Key Pair category.
- Fill out the required fields:
- Key Pair Name: Specify name to identify key pair
- Public Key: Upload existing SSH public key
- Click Import Key Pair
Deleting Key Pairs
- Click Delete Key Pair on the existing key pair that you want to delete.
- Click Delete Key Pair