Getting started with OpenStack
This part is combining some newly recorded material for managing your cloud accounts on our OpenStack cloud. Before you start using our lab cloud, make sure you watch trough these videos. The interface can be a bit different since we have updated the Open Stack version since the demo was recorded.
Getting started - Create your network
In this video we talk about our cloud environment, CS Cloud, that is built on OpenStack. You learn what it is and how you could log into it and start using it. The video also shows how to start to set up a new network for your OpenStack project.
Create an instance
In this video you will learn how to create an instance or machine in your network
Connect to an instance through SSH
When we now have created our machine we want to connect to and log in on it. This is done by using SSH and a pre-produced SSH-key.
Using the OpenStackClient (OSC) - with docker
In this video we go through how to run a docker container that includes the OSC.
OBS! For more demos about cli-commands you can whats the older recording below (see OpenStack CLI).
Here are some older videos that could still be of importance. The are recorded in an older version of OpenStack but most of the instructions are still relevant. Some of the contents is the same as the new videos above.
- Overview of the Web interface
- Key pair
- Create a Key Pair (OBS You don't have to create your own keys, they ones you should use are already created for you!) Make sure to actually log in with SSH on Linux using keys only, do not active log in using password. For Windows when you do use passwords, make sure you use secure passwords from the start!
- Add Key to your computer
chmod 400 my-key.pem mv my-key.pem ~/.ssh eval $(ssh-agent) ssh-add -k ~/.ssh/my-key.pem
- Create Instances
- Install the OpenStack Client
- Get the OpenStack RC file
- Create a machine
- List images
openstack image list --limit 50
- List flavor
openstack flavor list
- List key pair
openstack keypair list
- Create a Server
openstack server create --image <ImageID> --flavor <Number> --key-name <KeyName> <ServerName>
- Create Floating ip
openstack ip floating create ext_net
- Add floating IP
openstack ip floating add <IP> <ServerName>
- Add security group
openstack server add security group <ServerName> <security group>
- List images