Files
skyline-console/doc/source/user/compute.rst
yangsngshaoxue 0a03893068 docs: Update console page and administrator page
add identity and compute guide

Change-Id: Ib83a43e9f48a672a47ccde2b29cc0700dfc2490a
2022-08-29 17:44:38 +08:00

5.5 KiB

Launch and manage instances (Compute tab)

The OpenStack Compute service provides a way to provision compute instances (aka virtual servers). It supports creating virtual machines, baremetal servers (through the use of ironic), and has limited support for system containers. For detailed information, refer to the OpenStack Nova Guide.

Create a key pair

  1. Log in to the dashboard.

  2. Select the appropriate project from the Switch Project menu at the top left.

  3. On the Console page, open the Compute tab and click Key Pairs category.

  4. Click Create Keypair.

  5. In the Create Volume dialog box, select one of Create Type options:

    • Create Keypair: If you choose this option, enter a Name.
    • Import Keypair: If you choose this option, a new field for Public Key displays. Enter the Name of your key pair, copy the public key into the Public Key box.
  6. Click OK.

    The Dashboard lists the key pair on the Key Pairs tab.

Launch an instance

  1. Log in to the dashboard.

  2. Select the appropriate project from the Switch Project menu at the top left.

  3. On the Console page, open the Compute tab and click Instances category.

  4. Click Create Instance.

  5. On the Create Instance page, enter the instance values.

  6. Click Next: Network Config.

  7. Click Next: System Config.

  8. Click Next: Confirm Config and confirm your choice.

    The instance are created and you can wait for a few seconds to follow the changes of the instance list data or manually refresh the data to get the final display result.

Create an instance snapshot

  1. Log in to the dashboard.

  2. Select the appropriate project from the Switch Project menu at the top left.

  3. On the Console page, open the Compute tab and click Instances category.

  4. Select an instance to create a snapshot from it.

  5. In the Action column, select Backups & Snapshots and click Create Snapshot.

  6. In the Create Instance Snapshot dialog box, enter a snapshot name.

  7. Click OK.

    The dashboard shows the new instance snapshot in Instance Snapshots tab.

Control the state of an instance

  1. Log in to the dashboard.
  2. Select the appropriate project from the Switch Project menu at the top left.
  3. On the Console page, open the Compute tab and click Instances category.
  4. Select the instance for which you want to change the state.
  5. In the Action column of the instance, click Instance Status and select the status.

Allocate a floating IP address to an instance

  1. Log in to the dashboard.
  2. Select the appropriate project from the Switch Project menu at the top left.
  3. On the Console page, open the Compute tab and click Instances category.
  4. In the Action column, select Related Resources and click Associate Floating IP.
  5. In the Associate Floating IP dialog box, select Instance IP and Floating Ip Address.
  6. Click OK.

Note

To disassociate an IP address from an instance, click the Disassociate Floating Ip button.

Upload an image

Images are used to create virtual machine instances within the cloud. For information about creating image files, see the OpenStack Glance Guide.

  1. Log in to the dashboard.

  2. Select the appropriate project from the Switch Project menu at the top left.

  3. On the Console page, open the Compute tab and click Images category.

  4. Click Create Image.

  5. On the Create Image page, enter the following values:

    Name: The name of the image.

    Upload Type: Select one of the following options:

    • Upload File: If choose this option, click Click to Upload to upload the binary image data file.
    • File URL: If choose this option, enter the File URL.

    Format: Select the image format (for example, QCOW2) for the image.

    OS: Select the image operating system (for example, CentOS).

    OS Version: The image operating system version.

    OS Admin: The administrator name of image operating system. in general, administrator for Windows, root for Linux.

    Min System Disk (GiB): Amount of disk space in GB that is required to boot the image.

    Min Memory (GiB): Amount of Memory in GB that is required to boot the image.

    Protected: Image protection for deletion.

    Usage Type: Select usage type (for example, Common Server) for the image.

    Description: A human-readable description for the resource.

  6. Click Confirm.

    The image is queued to be uploaded. It might take some time before the status changes from Queued to Active.