COMP3000 Operating Systems F23: Openstack Instructions

From Soma-notes
Revision as of 03:15, 22 September 2023 by Abdou (talk | contribs)

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 elaborate documentation on Openstack, including a step-by-step guide. Consult that if you run into issues with the above steps.