COMP3000 Operating Systems F23: Openstack Instructions: Difference between revisions

From Soma-notes
Abdou (talk | contribs)
Created page with "You can create a VM instance on the [https://carleton.ca/scs/tech-support/scs-open-stack/ SCS openstack] cluster for the tutorials, by doing the following: (obvious steps are skipped) # [https://carleton.ca/its/help-centre/remote-access/ Connect to Carleton's VPN]. # Log in to [https://openstack-stein.scs.carleton.ca/ https://openstack-stein.scs.carleton.ca/] # Most of you would need to refresh your SCS account to have the right entitlements for our course (or you may..."
 
Abdou (talk | contribs)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
You can create a VM instance on the [https://carleton.ca/scs/tech-support/scs-open-stack/ SCS openstack] cluster for the tutorials, by doing the following:
You can create a VM instance on [https://carleton.ca/scs/tech-support/scs-open-stack/ SCS Openstack] for the tutorials by doing the following:


(obvious steps are skipped)
# If you don't already have an SCS account for Openstack, you will need to create one here: https://newacct.scs.carleton.ca/scs_authentication/newacct-policy-form.php


# [https://carleton.ca/its/help-centre/remote-access/ Connect to Carleton's VPN].
# Log in to [https://openstack-stein.scs.carleton.ca/ https://openstack-stein.scs.carleton.ca/] (must be from Carleton's network).
# Log in to [https://openstack-stein.scs.carleton.ca/ https://openstack-stein.scs.carleton.ca/]
# Switch to the COMP3000A-F23 project (top-left corner), click "Images" from the left menu, and click "Launch" button on the right to launch <code>ubuntu-22.04-minimal-headless.2023-08-23</code>.
# Most of you would need to refresh your SCS account to have the right entitlements for our course (or you may not be able to log in or not listed in the COMP3000-W23 project): https://newacct.scs.carleton.ca/scs_authentication/newacct-policy-form.php
#;[[File:Top-left-corner-jpg-f23.jpg|300px]]
# Switch to the COMP3000-W23 project (top-left corner), and launch an instance (button on the right).
#;[[File:select-project-w23.jpg|300px]]
# Make a choice for necessary items according to the screenshots attached.
# Make a choice for necessary items according to the screenshots attached.
#;[[File:boot-source.jpg|300px]] [[File:select-image-w23.jpg|580px]]  
#;[[File:boot-source.jpg|300px]] [[File:choice-f23.png|580px]]  
#; Flavor
#; Flavor
#;[[File:select-flavor-w23.jpg|580px]]
#;[[File:flavour-f23.png|580px]]
# You must add "ping-ssh-egress" to the security groups, or you'll not be able to ping/ssh to your instance.
# You must add "ping-ssh-egress" to the security groups, or you'll not be able to ping/ssh to your instance.
#; Security groups:
#; Security groups:
Line 18: Line 16:
#;[[File:floating-ip.jpg|170px]]
#;[[File:floating-ip.jpg|170px]]
#; NEVER attempt to create a snapshot
#; NEVER attempt to create a snapshot
# Then the new IP address (134.117.XXX.XXX) to the right of 192.168.XXX.XXX will be the one (floating IP) you will use to connect to your instance.
# Then the new IP address, 134.117.XXX.XXX, to the right of the address 192.168.XXX.XXX will be the one you will use to connect to your instance. The 192.168.XXX.XXX IP addresses are private, i.e., cannot be accessed from outside of the Openstack cluster (group of VMs). The 134.117.XXX.XXX IP addresses can be accessed from Carleton's network, and will allow you to access the Internet.
 
# <u>Note down</u> your floating IP and your instance name for subsequent uses for the rest of the term.
# <u>Note down</u> your floating IP and your instance name for subsequent uses for the rest of the term.
== Notes ==
SCS already has an [https://carleton.ca/scs/tech-support/scs-open-stack/openstack-technical-support/ elaborate documentation on Openstack], including a [https://carleton.ca/scs/tech-support/scs-open-stack/openstack-technical-support/openstack-step-by-step-guide/ step-by-step guide]. Consult that if you run into issues with the above steps.

Latest revision as of 03:16, 22 September 2023

You can create a VM instance on SCS Openstack for the tutorials by doing the following:

  1. If you don't already have an SCS account for Openstack, you will need to create one here: https://newacct.scs.carleton.ca/scs_authentication/newacct-policy-form.php
  1. Log in to https://openstack-stein.scs.carleton.ca/ (must be from Carleton's network).
  2. Switch to the COMP3000A-F23 project (top-left corner), click "Images" from the left menu, and click "Launch" button on the right to launch ubuntu-22.04-minimal-headless.2023-08-23.
    Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127
  3. Make a choice for necessary items according to the screenshots attached.
    Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127
    Flavor
    Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127
  4. You must add "ping-ssh-egress" to the security groups, or you'll not be able to ping/ssh to your instance.
    Security groups
  5. Assign a floating IP.
    NEVER attempt to create a snapshot
  6. Then the new IP address, 134.117.XXX.XXX, to the right of the address 192.168.XXX.XXX will be the one you will use to connect to your instance. The 192.168.XXX.XXX IP addresses are private, i.e., cannot be accessed from outside of the Openstack cluster (group of VMs). The 134.117.XXX.XXX IP addresses can be accessed from Carleton's network, and will allow you to access the Internet.
  1. Note down your floating IP and your instance name for subsequent uses for the rest of the term.

Notes

SCS already has an elaborate documentation on Openstack, including a step-by-step guide. Consult that if you run into issues with the above steps.