Change-Id: I4ae993a8b7620538191aa77a4fd754506c78f738 Closes-Bug: 1464513
3.9 KiB
Manage flavors
In OpenStack, a flavor defines the compute, memory, and storage capacity of a virtual server, also known as an instance. As an administrative user, you can create, edit, and delete flavors.
The following table lists the default flavors.
Flavor | VCPUs | Disk (in GB) | RAM (in MB) |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create flavors
Log in to the dashboard.
Choose the
admin
project from the drop-down list at the top of the page.In the
Admin
tab, open theSystem Panel
and click theFlavors
category.Click
Create Flavor
.In the
Create Flavor
window, enter or select the parameters for the flavor.Flavor info tab
Name
Enter the flavor name.
ID
OpenStack generates the flavor ID.
VCPUs
Enter the number of virtual CPUs to use.
RAM MB
Enter the amount of RAM to use, in megabytes.
Root Disk GB
Enter the amount of disk space in gigabytes to use for the root (/) partition.
Ephemeral Disk GB
Enter the amount of disk space in gigabytes to use for the ephemeral partition. If unspecified, the value is 0 by default.
Ephemeral disks offer machine local disk storage linked to the life cycle of a VM instance. When a VM is terminated, all data on the ephemeral disk is lost. Ephemeral disks are not included in any snapshots.
Swap Disk MB
Enter the amount of swap space (in megabytes) to use. If unspecified, the default is 0.
In the
Flavor Access
tab, you can control access to the flavor by moving projects from theAll Projects
column to theSelected Projects
column.Only projects in the
Selected Projects
column can use the flavor. If there are no projects in the right column, all projects can use the flavor.Click
Create Flavor
.
Update flavors
Log in to the dashboard.
Choose the
admin
project from the drop-down list at the top of the page.In the
Admin
tab, open theSystem Panel
and click theFlavors
category.Select the flavor that you want to edit. Click
Edit Flavor
.In the
Edit Flavor
window, you can change the flavor name, VCPUs, RAM, root disk, ephemeral disk, and swap disk values.Click
Save
.
Delete flavors
Log in to the dashboard.
Choose the
admin
project from the drop-down list at the top of the page.In the
Admin
tab, open theSystem Panel
and click theFlavors
category.Select the flavors that you want to delete.
Click
Delete Flavors
.In the
Confirm Delete Flavors
window, clickDelete Flavors
to confirm the deletion. You cannot undo this action.