Virtual machine flavors: Difference between revisions
No edit summary |
(add example names) |
||
Line 4: | Line 4: | ||
Flavors define a number of parameters, resulting in the user having a choice of what type of virtual machine to run—just like they would have if they were purchasing a physical server. - [http://netapp.github.io/openstack-deploy-ops-guide/icehouse/content/section_nova-key-concepts.html ''NetApp OpenStack Deployment and Operations Guide'']}} | Flavors define a number of parameters, resulting in the user having a choice of what type of virtual machine to run—just like they would have if they were purchasing a physical server. - [http://netapp.github.io/openstack-deploy-ops-guide/icehouse/content/section_nova-key-concepts.html ''NetApp OpenStack Deployment and Operations Guide'']}} | ||
Virtual machine flavors on Compute Canada clouds have names like | |||
c1-7.5gb-30 | |||
p1-0.75gb | |||
By convention the prefix "c" designates "compute" and "p" designates "persistent". The prefix is followed by the number of virtual CPUs, then the amount of RAM after the dash. If a second dash is present it is followed by the size of secondary ephemeral disk. | |||
A virtual machine of "c" flavor is intended for jobs of finite lifetime and for development and testing tasks. It starts from a [https://en.wikipedia.org/wiki/Qcow qcow2]-format image. It's disks reside on the local hardware running the VM and have no redundancy ([https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_0 raid0]). The root disk is typically 20GB in size. "c" flavor VMs also have an secondary ephemeral data disk. These storage devices are created and destroyed with the instance. | A virtual machine of "c" flavor is intended for jobs of finite lifetime and for development and testing tasks. It starts from a [https://en.wikipedia.org/wiki/Qcow qcow2]-format image. It's disks reside on the local hardware running the VM and have no redundancy ([https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_0 raid0]). The root disk is typically 20GB in size. "c" flavor VMs also have an secondary ephemeral data disk. These storage devices are created and destroyed with the instance. | ||
A virtual machine of "p" flavor is intended to run for an indeterminate length of time. There is no predefined root disk. The intended use of "p" flavors is that they should be [[OpenStack#Booting_From_a_Volume|booted from a volume]], in which case the instance will be backed by the Ceph storage system and have greater redundancy and resistance to failure. We recommend using a volume size of at least 20GB for the persistent VM root disk. | A virtual machine of "p" flavor is intended to run for an indeterminate length of time. There is no predefined root disk. The intended use of "p" flavors is that they should be [[OpenStack#Booting_From_a_Volume|booted from a volume]], in which case the instance will be backed by the Ceph storage system and have greater redundancy and resistance to failure than a "c" instance. We recommend using a volume size of at least 20GB for the persistent VM root disk. | ||
[[Category:CC-Cloud]] | [[Category:CC-Cloud]] |
Revision as of 19:09, 7 September 2016
Parent page: CC-Cloud
Virtual hardware templates are called "flavors" in OpenStack, defining sizes for RAM, disk, number of cores, and so on. ... Flavors define a number of parameters, resulting in the user having a choice of what type of virtual machine to run—just like they would have if they were purchasing a physical server. - NetApp OpenStack Deployment and Operations Guide |
Virtual machine flavors on Compute Canada clouds have names like
c1-7.5gb-30 p1-0.75gb
By convention the prefix "c" designates "compute" and "p" designates "persistent". The prefix is followed by the number of virtual CPUs, then the amount of RAM after the dash. If a second dash is present it is followed by the size of secondary ephemeral disk.
A virtual machine of "c" flavor is intended for jobs of finite lifetime and for development and testing tasks. It starts from a qcow2-format image. It's disks reside on the local hardware running the VM and have no redundancy (raid0). The root disk is typically 20GB in size. "c" flavor VMs also have an secondary ephemeral data disk. These storage devices are created and destroyed with the instance.
A virtual machine of "p" flavor is intended to run for an indeterminate length of time. There is no predefined root disk. The intended use of "p" flavors is that they should be booted from a volume, in which case the instance will be backed by the Ceph storage system and have greater redundancy and resistance to failure than a "c" instance. We recommend using a volume size of at least 20GB for the persistent VM root disk.