Update user dashboard guide. Change-Id: Ib3f507a1e2df4911b7f24408b6f9be8e23056f89
7.6 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.Available Zone
: The availability zone from which to launch the server.Specification
: Select a flavor for your server instance.Start Source
: Select one of the following options:Image: If choose this option, a new field for
Operating System
displays. You can select the image from the list. And enter the size of the volume used asSystem Disk
of the instance.Note
click the
Deleted with the instance
option to delete the volume on deleting the instance.Instance Snapshot: Using this option, you can boot from a volume snapshot and create a new volume by choosing
Instance Snapshot
from a list.Bootable Volume: If you choose this option, a new field for
Bootable Volume
displays. You can select the volume from the list.
Data Disk
: The disks mounted on the instance.Click
Next: Network Config
.You can choose
Networks
,Ports
or a mix of both for the instance network config.Networks
: Add a network to the instance. If you specify the networks,Virtual LAN
andSecurity Group
are required fields.Virtual LAN
: Specify a subnet of the network and assign fixed IP address automatically or manually for the instance.Security Group
: Security groups are a kind of cloud firewall that define which incoming network traffic is forwarded to instances.Ports
: Activate the ports that you want to assign to the instance.Note
The port executes its own security group rules by default.
Click
Next: System Config
.Name
: The server name.Login Type
: Select one of the following options:- Keypair: If you choose this option, a new field for
Keypair
displays. The key pair allows you to SSH into your newly created instance. You can select an existing key pair, import a key pair, or generate a new key pair. - Password: Enter the
Login Password
and confirm it. And you can login to the instance by using password.
- Keypair: If you choose this option, a new field for
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.