Cloud: Difference between revisions
No edit summary |
(Moving and adding links, labeling usage themes) |
||
Line 17: | Line 17: | ||
* Review and understand the [[Cloud shared security responsibility model|important role]] you are about to take on to [http://www.science.gc.ca/eic/site/063.nsf/eng/h_97955.html safeguard your research] and the shared cloud infrastruture. | * Review and understand the [[Cloud shared security responsibility model|important role]] you are about to take on to [http://www.science.gc.ca/eic/site/063.nsf/eng/h_97955.html safeguard your research] and the shared cloud infrastruture. | ||
* If you do not have a Compute Canada account, create one with [https://www.computecanada.ca/research-portal/account-management/apply-for-an-account/ these instructions]. | * If you do not have a Compute Canada account, create one with [https://www.computecanada.ca/research-portal/account-management/apply-for-an-account/ these instructions]. | ||
* If you are a primary investigator (PI) with an active cloud resource allocation (see [https://www.computecanada.ca/research-portal/accessing-resources/resource-allocation-competitions/ RAC]) you should already have a project. See the below section [[Cloud#Using the Cloud|using the cloud]] to get started. If not or you are not sure please contact [[Technical support|technical support]]. | * A [[OpenStack#Projects|project]] is an allocation of resources for creating VMs within a cloud. | ||
* If you are a primary investigator (PI) with an active cloud resource allocation (see [https://www.computecanada.ca/research-portal/accessing-resources/resource-allocation-competitions/ RAC]) you should already have a project. See the below section [[Cloud#Using the Cloud|using the cloud]] to get started. If not or if you are not sure please contact [[Technical support|technical support]]. | |||
* Otherwise go [https://docs.google.com/forms/d/e/1FAIpQLSeU_BoRk5cEz3AvVLf3e9yZJq-OvcFCQ-mg7p4AWXmUkd5rTw/viewform here] to: | * Otherwise go [https://docs.google.com/forms/d/e/1FAIpQLSeU_BoRk5cEz3AvVLf3e9yZJq-OvcFCQ-mg7p4AWXmUkd5rTw/viewform here] to: | ||
** request access to an existing project | ** request access to an existing project. See the below section for information you will need to supply. | ||
** and if you are a PI you may also: | ** and if you are a PI you may also: | ||
*** request a new project with our Rapid Access Service ([[Cloud_RAS_Allocations|RAS]]) | *** request a new project with our Rapid Access Service ([[Cloud_RAS_Allocations|RAS]]) | ||
Line 25: | Line 26: | ||
<!--T:11--> | <!--T:11--> | ||
Requests are typically processed within two business days. | * Requests are typically processed within two business days. | ||
==Preparing your request== <!--T:12--> | ==Preparing your request== <!--T:12--> | ||
* When requesting access to an existing project you will need to know the project name and which cloud it is on. See the section on [[OpenStack#Projects|projects]] for guidance on how to find the project name and the section about [[Cloud# | * When requesting access to an existing project you will need to know the project name and which cloud it is on. See the section on [[OpenStack#Projects|projects]] for guidance on how to find the project name and the section about [[Cloud#Cloud_systems|cloud systems]] for a list of Compute Canada clouds. Requests for access must be confirmed by the PI owning the project. | ||
* When requesting either a new project or an increase in quota for an existing project some justification, in the form of a few sentences, is required: | * When requesting either a new project or an increase in quota for an existing project some justification, in the form of a few sentences, is required: | ||
**Why you need cloud resources | **Why you need cloud resources | ||
Line 37: | Line 38: | ||
= Using the Cloud = <!--T:7--> | = Using the Cloud = <!--T:7--> | ||
* Log in to the cloud where you have a [[OpenStack#Projects|project]]. Authenticate using your Compute Canada (CCDB) username (not your email address). | * If you are a first time user: | ||
* | **Log in to the [[Cloud#Cloud_systems|cloud]] where you have a [[OpenStack#Projects|project]]. Authenticate using your Compute Canada (CCDB) username (not your email address). | ||
**To create your first VM, read the [[Cloud Quick Start|cloud quick start]] guide. | |||
**See the [[Cloud troubleshooting guide|troubleshooting guide]] for steps to deal with common issues in cloud | |||
**Learn how to use the [[Linux_introduction|Linux]] command line. | |||
* Each cloud project is responsible for: | |||
* To create your first VM, read the [[Cloud Quick Start|cloud quick start]] guide. | **Cloud management with the [[OpenStack]] platform including | ||
* | ***[[OpenStack#Security_Groups|Network access]]. | ||
* See the [[Cloud troubleshooting guide|troubleshooting guide]] for steps to deal with common issues in cloud | ***[[OpenStack#Linux_VM_User_Management|VM user accounts]]. | ||
* Learn how to use the [[Linux_introduction|Linux]] command line. | **Following [[VM Best Practices|best practices]]. | ||
* | **Considering [[Security_considerations_when_running_a_VM|security]] issues. | ||
* [[ | **[[Backing_up_your_VM|Backing up its VMs]]. | ||
* [[ | * More experienced users can: | ||
* [[ | **[[Automating_VM_creation|Automatically create VMs]]. | ||
* | **Describe your VM infrastructure as code using [[Terraform]]. | ||
* Describe your VM infrastructure as code using [[Terraform]]. | * More detailed instructions are available for some of the common cloud use cases, including: | ||
* [[Using cloud gpu|Using GPUs in the cloud]] | **[[Configuring a data or web server|Configure a data or web server]]. | ||
* [[Using cloud vGPUs|Cloud vGPU Driver Installation]] | **[[Using cloud gpu|Using GPUs in the cloud]] | ||
* [[Setting up GUI Desktop on a VM]] | **[[Using cloud vGPUs|Cloud vGPU Driver Installation]] | ||
* [[Using ipv6 in cloud|Using IPv6 in arbutus cloud]] | **[[Setting up GUI Desktop on a VM]] | ||
**[[Using ipv6 in cloud|Using IPv6 in arbutus cloud]] | |||
= Cloud systems = <!--T:8--> | = Cloud systems = <!--T:8--> | ||
Your project will be on one of the following clouds: | |||
* [https://east.cloud.computecanada.ca East cloud] | |||
* [https://beluga.cloud.computecanada.ca Béluga cloud] | |||
* [https://arbutus.cloud.computecanada.ca Arbutus] - see [[Arbutus User Documentation|ArbutusDocs]] | |||
* [https://graham.cloud.computecanada.ca Graham] | |||
* [http://cedar.cloud.computecanada.ca Cedar] | |||
The details of the underlying hardware and Openstack versions are described on the [[cloud resources]] page. The [[System status]] wiki page contains information about the current cloud status and future planned maintenance and upgrade activities. | The details of the underlying hardware and Openstack versions are described on the [[cloud resources]] page. The [[System status]] wiki page contains information about the current cloud status and future planned maintenance and upgrade activities. | ||
Revision as of 23:36, 24 March 2022
Compute Canada offers an Infrastructure as a Service that supports virtualization.
A user of the cloud will typically create or "spin up" one or more virtual machines (VMs or "instances"). He or she then logs into the VM with administrative privileges, installs any desired software, and runs the software applications needed. These applications could be as diverse as a CPU-intensive analysis of particle physics data, or a web service directed towards scholars of literature and the humanities. The advantage is that the user has complete control over the collection of installed software (the "software stack"). The disadvantage is that the user must have some degree of experience in installing software and otherwise managing a computer.
Virtual machines can be easily replicated. One can take a "snapshot" of a VM which can then be started again elsewhere. This makes it easy to replicate or scale up a service, and to recover from (for example) a power interruption.
If you can fit your work easily into the HPC batch submission workflow and environment (see What is a scheduler?) it is preferable to work outside the cloud, as there are more resources available for HPC and software is already configured and installed for many common needs. There are also tools like Singularity to run custom software stacks inside containers within Compute Canada HPC clusters. If your need isn't served by Singularity or HPC batch, then the cloud is your solution.
Getting a Cloud project[edit]
- Review and understand the important role you are about to take on to safeguard your research and the shared cloud infrastruture.
- If you do not have a Compute Canada account, create one with these instructions.
- A project is an allocation of resources for creating VMs within a cloud.
- If you are a primary investigator (PI) with an active cloud resource allocation (see RAC) you should already have a project. See the below section using the cloud to get started. If not or if you are not sure please contact technical support.
- Otherwise go here to:
- request access to an existing project. See the below section for information you will need to supply.
- and if you are a PI you may also:
- request a new project with our Rapid Access Service (RAS)
- or an increase in quota of an existing project.
- Requests are typically processed within two business days.
Preparing your request[edit]
- When requesting access to an existing project you will need to know the project name and which cloud it is on. See the section on projects for guidance on how to find the project name and the section about cloud systems for a list of Compute Canada clouds. Requests for access must be confirmed by the PI owning the project.
- When requesting either a new project or an increase in quota for an existing project some justification, in the form of a few sentences, is required:
- Why you need cloud resources
- Why an HPC cluster is not suitable
- Your plans for efficient usage of your resources
- Your plans for maintenance and security (refer to this page)
- A PI may own up to 3 projects, but the sum of all project quotas must be within the RAS allocation limits. A PI may have both compute and persistent cloud RAS allocations.
Using the Cloud[edit]
- If you are a first time user:
- Log in to the cloud where you have a project. Authenticate using your Compute Canada (CCDB) username (not your email address).
- To create your first VM, read the cloud quick start guide.
- See the troubleshooting guide for steps to deal with common issues in cloud
- Learn how to use the Linux command line.
- Each cloud project is responsible for:
- Cloud management with the OpenStack platform including
- Following best practices.
- Considering security issues.
- Backing up its VMs.
- More experienced users can:
- Automatically create VMs.
- Describe your VM infrastructure as code using Terraform.
- More detailed instructions are available for some of the common cloud use cases, including:
Cloud systems[edit]
Your project will be on one of the following clouds:
The details of the underlying hardware and Openstack versions are described on the cloud resources page. The System status wiki page contains information about the current cloud status and future planned maintenance and upgrade activities.
Support[edit]
For questions about our cloud service, contact technical support.