38,907
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 14: | Line 14: | ||
=Availability Zones= | =Availability Zones= | ||
Availability zones allow you to indicate what group of physical hardware you would like your VM to run on. On East, West, and Graham clouds, there is only one availability zone, '' | Availability zones allow you to indicate what group of physical hardware you would like your VM to run on. On East, West, and Graham clouds, there is only one availability zone, ''nova'', so there isn't any choice in the matter. However, on Arbutus there are three availability zones: ''Compute'', ''Persistent_01'', and ''Persistent_02''. The ''Compute'' and ''Persistent'' zones only run compute or persistent flavors respectively (see [[virtual machine flavors]]). Using two persistent zones can present an advantage; for example, two instances of a website can run in two different zones to ensure its continuous availability in the case where one of the sites goes down. | ||
=Security Groups= | =Security Groups= | ||
Line 39: | Line 39: | ||
=Working with Volumes= | =Working with Volumes= | ||
A volume provides storage which is not destroyed when a VM is terminated. On Compute Canada clouds, volumes use [https://en.wikipedia.org/wiki/Ceph_(software) Ceph] storage with a 3-fold replication factor to provide safety against hardware failure. More documentation about OpenStack volumes can be found [https://docs.openstack.org/cinder/latest/cli/cli-manage-volumes.html here]. | A volume provides storage which is not destroyed when a VM is terminated. On Compute Canada clouds, volumes use [https://en.wikipedia.org/wiki/Ceph_(software) Ceph] storage with a 3-fold replication factor to provide safety against hardware failure. More documentation about OpenStack volumes can be found [https://docs.openstack.org/cinder/latest/cli/cli-manage-volumes.html here]. | ||
==Creating a Volume== | ==Creating a Volume== | ||
[[File:Creating_a_volume_EN.png| | [[File:Creating_a_volume_EN.png|300px|thumb| Create Volume dialog (Click for larger image)]] | ||
To create a volume click [[File:Create-Volume-Button.png]] and fill in the following fields: | To create a volume click [[File:Create-Volume-Button.png]] and fill in the following fields: | ||
*Volume Name: <code>data</code>, for example<br/> | *Volume Name: <code>data</code>, for example<br/> | ||
*Description: | *Description: Optional text | ||
*Volume Source: <code>No source, empty volume</code><br/> | *Volume Source: <code>No source, empty volume</code><br/> | ||
*Type: <code>No volume type</code><br/> | *Type: <code>No volume type</code><br/> | ||
*Size (GiB): <code>40</code>, or some suitable size<br/> | *Size (GiB): <code>40</code>, or some suitable size for your data or operating system<br/> | ||
*Availability Zone: <code> | *Availability Zone: On the East and Arbutus clouds, the only option is <code>nova</code><br/> | ||
Finally click the blue "Create Volume" button. | Finally click the blue "Create Volume" button. | ||
==Accessing a Volume from a VM== | ==Accessing a Volume from a VM== | ||
[[File:Manage_attachments_EN.png|400px|thumb| Managing attachments command in Actions menu (Click for larger image)]] | |||
To access the volume you must first '''attach''' it to a running VM. This is analogous to inserting a USB key or plugging an external drive into your personal computer. You can attach a volume from the Compute->Volumes page. | To access the volume you must first '''attach''' it to a running VM. This is analogous to inserting a USB key or plugging an external drive into your personal computer. You can attach a volume from the Compute->Volumes page. | ||
* At the right-hand end of the line describing the volume will be a drop-down menu; select "Manage Attachments". | * At the right-hand end of the line describing the volume will be a drop-down menu; select "Manage Attachments". |