Managing your cloud resources with OpenStack: Difference between revisions

Jump to navigation Jump to search
style editing, first two sections
No edit summary
(style editing, first two sections)
Line 1: Line 1:
OpenStack is a platform that controls hardware resources such as compute, storage and networking. It allows the creation and management of virtual machines ("instances"), which act like separate individual machines, by emulation in software. This allows users complete control over their computing environment, from choosing an operating system to software installation and configuration. This flexibility facilitates diverse use cases from hosting websites to creating a compute cluster by configuring multiple VMs to work together. See official documentation [http://docs.openstack.org/ http://docs.openstack.org/] for more details about OpenStack. OpenStack is the operating system used by the Compute Canada clouds.
OpenStack is the software suite used on the Compute Canada Cloud to control hardware resources such as computers, storage and networking. It allows the creation and management of virtual machines ("VMs", or "instances"), which act like separate individual machines, by emulation in software. This allows users complete control over their computing environment, from choosing an operating system to software installation and configuration. Diverse use cases are supported, from hosting websites to creating virtual clusters. See official documentation at [http://docs.openstack.org/ http://docs.openstack.org/] for more details about OpenStack.


This page describes how to perform common tasks which are often encountered while working with OpenStack virtual machines.
This page describes how to perform common tasks encountered while working with OpenStack.


==Working with Volumes==
==Working with Volumes==
Volumes provide storage which is not destroyed when an VM is terminated (unless explicitly told to do so). On the Compute Canada clouds volumes use Ceph storage (see [https://en.wikipedia.org/wiki/Ceph_(software) https://en.wikipedia.org/wiki/Ceph_(software)] ) which has a 3X replication factor which provides safety against hardware failure. See OpenStack documentation for further details about volumes [http://docs.openstack.org/user-guide/common/cli_manage_volumes.html http://docs.openstack.org/user-guide/common/cli_manage_volumes.html].
A '''volume''' provides storage which is not destroyed when a VM is terminated. On the Compute Canada clouds volumes use [https://en.wikipedia.org/wiki/Ceph_(software) Ceph] storage with a 3X replication factor to provide safety against hardware failure. More documentation about OpenStack volumes can be found [http://docs.openstack.org/user-guide/common/cli_manage_volumes.html here].


===Creating a Volume===
===Creating a Volume===
Line 14: Line 14:


*Volume Name: <code>data</code><br/>
*Volume Name: <code>data</code><br/>
*Description:<br/>Optional, text describing the volume
*Description:<br/>Optional text describing the volume
*Type: <br/>
*Type: <br/>
*Size (GB): <code>50</code><br/>
*Size (GB): <code>50</code><br/>
Line 23: Line 23:


===Accessing a Volume from a VM===
===Accessing a Volume from a VM===
To access the volume from a VM you must attach it. This is done by clicking the "More" drop down and selecting "Edit Attachments" and in the "Attach to Instance" drop down box select the VM you wish to attach it to and click the blue "Attach Volume" button. Once the volume is attached, it will show you on the Compute->Volumes dashboard that the newly created volume <code>data</code> is attached to your selected VM on <code>/dev/vdb</code> or some similar location. This is exactly the same as if you had inserted a USB key or an external drive.
To access the volume from a VM you must '''attach''' it. This is done by clicking the "More" drop down and selecting "Edit Attachments" and in the "Attach to Instance" drop down box select the VM you wish to attach it to and click the blue "Attach Volume" button. Once the volume is attached, it will show you on the Compute->Volumes dashboard that the newly created volume <code>data</code> is attached to your selected VM on <code>/dev/vdb</code> or some similar location. This is exactly the same as if you had inserted a USB key or an external drive.


===Formatting and Mounting an Empty Volume===
===Formatting and Mounting an Empty Volume===
Bureaucrats, cc_docs_admin, cc_staff
2,879

edits

Navigation menu