-
Notifications
You must be signed in to change notification settings - Fork 7
[OpenStack] User Registration and Basic Usage
ERDC (The Ericsson Research Data Centre) provides OpenStack services to WASP students, faculty, and projects. We use this page to document how to use the provided OpenStack projects to help your research experiments.
It is not possible to self-register an account on this OpenStack platform. In order to use the cloud resources, please fill this Google form and email Long Zhang longz@kth.se about your user registration request.
After receiving your OpenStack account, you can log into the system via https://xerces.ericsson.net (domain xerces
). By default, you will see a summary of your cloud resources. Now you can take the following steps to create your first instance. To watch these steps above in a video demo, you can visit https://youtu.be/1jx88GU6SvQ.
- On the left of the page, choose Compute -> Instances and then click the
Launch Instance
button on the right side.[video] - Specify a name for the instance, and click
Next
. - On the
Source
tab you will decide which operating system the instance uses, and how much storage the OS volume has. For example, let's use 50GB for volume size, and pick up Ubuntu 20.04.[video] - On the
Flavor
tab you will choose the size of this computing instance: how many virtual CPU cores and how much memory.[video] - On the
Networks
tab, by default you only have one option which isinternet
. This means that the created instance will be directly connected to the external Internet. In this case, the instance also gets a public IP address.[video] - On the
Security Groups
tab, you need to add your instance into at least one security group. A security group defines the network policies for the instance. For example, if you want to use ssh to interact with the instance, you need to open the ssh service port22
in your security group configuration. This can be done later after creating the instance.[video] - On the
Key Pair
tab, a key pair that is used to log into the instance will be created. As the first time setup, clickCreate Key Pair
, enter a name and chooseSSH Key
as the key type. Then clickCreate Keypair
and copy-paste the generated private key into a file on your host: [video]
# For example, save the private key into ~/.ssh/openstack.pem
# Then you need to restrict the access of that file (read-only for your username)
$chmod 400 ~/.ssh/openstack.pem
- For the rest of the four tabs, you can leave them as the default setup. Click
Launch Instance
and wait a little bit, you will see your instance on the same page. A public IP address should appear in theIP Address
column. - Visit page
Network -> Security Groups
, you can either modify the default security group or create a new security group and put your instance into that group (On theInstances
page, use the drop-down menu on the right side and chooseEdit Security Groups
). Usually you need to open the ssh port (22
by default). If you are going to run some HTTP services, port80
and443
will be needed as well. [video]