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
Log in to the dashboard.
Select the appropriate project from the Switch Project menu at the top left.
On the
Console
page, open theCompute
tab and clickKey Pairs
category.Click
Create Keypair
.In the
Create Volume
dialog box, select one ofCreate Type
options:Create Keypair
: If you choose this option, enter aName
.Import Keypair
: If you choose this option, a new field forPublic Key
displays. Enter theName
of your key pair, copy the public key into thePublic Key
box.
Click
OK
.The Dashboard lists the key pair on the
Key Pairs
tab.
Launch an instance
Log in to the dashboard.
Select the appropriate project from the Switch Project menu at the top left.
On the
Console
page, open theCompute
tab and clickInstances
category.Click
Create Instance
.On the
Create Instance
page, enter the instance values.Click
Next: Network Config
.Click
Next: System Config
.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
Log in to the dashboard.
Select the appropriate project from the Switch Project menu at the top left.
On the
Console
page, open theCompute
tab and clickInstances
category.Select an instance to create a snapshot from it.
In the
Action
column, selectBackups & Snapshots
and clickCreate Snapshot
.In the
Create Instance Snapshot
dialog box, enter a snapshot name.Click
OK
.The dashboard shows the new instance snapshot in
Instance Snapshots
tab.
Control the state of an instance
- Log in to the dashboard.
- Select the appropriate project from the Switch Project menu at the top left.
- On the
Console
page, open theCompute
tab and clickInstances
category. - Select the instance for which you want to change the state.
- In the
Action
column of the instance, clickInstance Status
and select the status.
Allocate a floating IP address to an instance
- Log in to the dashboard.
- Select the appropriate project from the Switch Project menu at the top left.
- On the
Console
page, open theCompute
tab and clickInstances
category. - In the
Action
column, selectRelated Resources
and clickAssociate Floating IP
. - In the
Associate Floating IP
dialog box, selectInstance IP
andFloating Ip Address
. - 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.
Log in to the dashboard.
Select the appropriate project from the Switch Project menu at the top left.
On the
Console
page, open theCompute
tab and clickImages
category.Click
Create Image
.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.- Upload File: If choose this option, click
Click
Confirm
.The image is queued to be uploaded. It might take some time before the status changes from Queued to Active.