cc_staff
1,486
edits
Line 1: | Line 1: | ||
=Launching your first instance (VM)= | |||
==Login to the East or West Cloud== | |||
Simply go to [https://east.cloud.computecanada.ca https://east.cloud.computecanada.ca] or [https://west.cloud.computecanada.ca https://west.cloud.computecanada.ca], depending on which cloud you want to launch your instances, and enter your WestGrid credentials. After you have successfully logged in, you are presented with the dashboard. From here you can see an overview of the resources you are using. When your tenant (project) is created, most of the configuration is done at the same time. | Simply go to [https://east.cloud.computecanada.ca https://east.cloud.computecanada.ca] or [https://west.cloud.computecanada.ca https://west.cloud.computecanada.ca], depending on which cloud you want to launch your instances, and enter your WestGrid credentials. After you have successfully logged in, you are presented with the dashboard. From here you can see an overview of the resources you are using. When your tenant (project) is created, most of the configuration is done at the same time. | ||
[[File:OpenStack-Dashboard-Compute-Overview.png|400px|thumb| OpenStack Dashboard, Compute Overview]] | [[File:OpenStack-Dashboard-Compute-Overview.png|400px|thumb| OpenStack Dashboard, Compute Overview]] | ||
==SSH Key Pair== | |||
When starting an instance, there is no password for admin or root account on your server. You can only authenticate to your server with an SSH key. You can either import your SSH key in OpenStack, or you can create a new one. | When starting an instance, there is no password for admin or root account on your server. You can only authenticate to your server with an SSH key. You can either import your SSH key in OpenStack, or you can create a new one. | ||
In order to manage your Key Pair, click on “Access & Security” from the left menu, then on the “Key Pairs” tab. | In order to manage your Key Pair, click on “Access & Security” from the left menu, then on the “Key Pairs” tab. | ||
===Importing an Existing Key Pair=== | |||
#Click [[File:Import-Key-Pair-Button.png]] | #Click [[File:Import-Key-Pair-Button.png]] | ||
#Then, | #Then, | ||
Line 18: | Line 18: | ||
[[File:Import-Key-Pair-Form.png|400px|thumb| Import key pair]] | [[File:Import-Key-Pair-Form.png|400px|thumb| Import key pair]] | ||
===Creating a New Key Pair=== | |||
#Click [[File:Create-Key-Pair-Button.png]] | #Click [[File:Create-Key-Pair-Button.png]] | ||
#Then, | #Then, | ||
Line 29: | Line 29: | ||
[[File:Create-Key-Pair-Form.png|400px|thumb| Create key pair]] | [[File:Create-Key-Pair-Form.png|400px|thumb| Create key pair]] | ||
==Launching a VM== | |||
To launch an Instance, simply click on Instances menu on the left, then click [[File:Launch-Instance-Button.png]] | To launch an Instance, simply click on Instances menu on the left, then click [[File:Launch-Instance-Button.png]] | ||
Line 48: | Line 48: | ||
Note: When creating a persistent service, we recommend that you boot your instance from a volume. | Note: When creating a persistent service, we recommend that you boot your instance from a volume. | ||
==Network== | |||
===Private IP=== | |||
On the Instance list, you will see the IP addresses to which your Instance are linked. By default a network on <code>192.168.X.0</code> is created for your tenant. You can see the private IP your Instance has on the Instance list screen. You can use this IP to communicate with other Instances you have started. | On the Instance list, you will see the IP addresses to which your Instance are linked. By default a network on <code>192.168.X.0</code> is created for your tenant. You can see the private IP your Instance has on the Instance list screen. You can use this IP to communicate with other Instances you have started. | ||
===Public IP (Assign a public IP)=== | |||
To assign a public IP, you need to select “Associate Floating IP” from the More button of the Actions column. Since your tenant is new and hasn’t used an IP address yet, you need to click on the “+” sign to allocate an IP (since there is only one pool of public address, it should be already selected). Then click on the blue Allocate IP button. The public IP will appear on the IP Address field, and the port to which it should be nated should | To assign a public IP, you need to select “Associate Floating IP” from the More button of the Actions column. Since your tenant is new and hasn’t used an IP address yet, you need to click on the “+” sign to allocate an IP (since there is only one pool of public address, it should be already selected). Then click on the blue Allocate IP button. The public IP will appear on the IP Address field, and the port to which it should be nated should | ||
already be selected. Simply click on the blue Associate button. | already be selected. Simply click on the blue Associate button. | ||
Line 61: | Line 61: | ||
Note that the public IP is '''NATted (Network Adress Translation)''' to the private IP of your instance. | Note that the public IP is '''NATted (Network Adress Translation)''' to the private IP of your instance. | ||
===Firewall, Add Rules to Allow SSH=== | |||
In order to be able to connect to your instance via SSH, you will need to allow SSH to get through. | In order to be able to connect to your instance via SSH, you will need to allow SSH to get through. | ||
Line 76: | Line 76: | ||
[[File:Add-Rule-Form.png|400px|thumb| Add Rule]] | [[File:Add-Rule-Form.png|400px|thumb| Add Rule]] | ||
==Connecting To Your Instance With SSH.== | |||
If you created a key pair on the first step, you will need to know where it is. | If you created a key pair on the first step, you will need to know where it is. | ||