How to create a Linux VM and access it from Windows desktop on EO-Lab

Step 1: Login into your account

Use the standard link for https://tenant-manager.eo-lab.org/login webpage.

../_images/ww1_eolab.png

Step 2: Log into Horizon

On the left bottom side, you can find Management Interfaces, choose FRA1-1 Horizon.

../_images/ww2_eolab.png

In another one logging step choose EO-Lab and use the same credentials as before.

The second option is Keystone Credentials, if you want to use this option, you have to know your domain. (as below)

../_images/ww3_eolab.png

HOW TO FIND THE DOMAIN:

On top right, near the CloudFerro Logo you’ll find your domain name and project that you are recently using. You can create new projects and switch between them.

../_images/ww4_eolab.png

After you’ve successfully logged in, you may start creating your Linux instance.

Step 3: Create a new Linux instance in Horizon

Go to ComputeInstances and click Launch Instance.

../_images/wl5.png

In Details tab type Name of your instance and then click Next.

../_images/wl6.png

After that, you need to choose the source of your instance. Click one of the up arrows on the right side and allocate one of the following.

../_images/wl7.png

In flavor tab choose one of the available flavours, like step before. If you see yellow warning on flavour you are not able to use this flavour.

../_images/wl8.png

In next tab choose dlr-access-net network, which gives you access to earth pictures. Also, add network called cloud_xxxx, which is the default network created with your project.

You can also create your own network in Main Network tab.

../_images/wl9.png

If you want to run services or use specified protocols, first you must allocate security groups. Choose two security groups, one called default and other one called cloud_XXXXX_1. They regulate the following ports:

default
        ALLOW IPv6 to ::/0
        ALLOW IPv4 to 0.0.0.0/0
        ALLOW IPv4 from default
        ALLOW IPv6 from default

cloud_00630_1
        ALLOW IPv4 icmp from 0.0.0.0/0
        ALLOW IPv4 22/tcp from 0.0.0.0/0
        ALLOW IPv6 to ::/0
        ALLOW IPv4 to 0.0.0.0/0
../_images/wl10.png

A very important thing is to create or import SSH key, it is necessary to connect to your VM via SSH. Create your key and save your private key wherever you want.

../_images/wl11.png

Now you can click launch Instance and wait several minutes to launch it right.

../_images/wl12.png

When our instance is working we must Allocate Floating IP (public IP) to it, after this step your VM should be able to connect from other space.

../_images/wl13.png

To allocate floating IP you must click “+” (plus) next to Select an IP address. You must also select interface please do not select eodata interface.

../_images/wl14.png

Choose Pool external and click Allocate IP

../_images/wl15.png

If everything is right you should see public address next to your cloud_xxx network, you can also use console that is implemented in openStack, open pull down menu and choose Console, you can log into it with eoconsole account, but in the beginning you must change password.

../_images/wl16.png

Please be informed that some of common operations like: copying (ctrl+c), pasting (ctrl+v) etc. are not being supported inside the console window.

If you successfully logged in to your ubuntu you are able to see eodata files like below:

../_images/wl17.png

Step 4 Connect to your linux vm via ssh using putty.

First thing that is necessary, you must convert your private key to putty format.

If you have Putty installed, you also have application called PuttyGen open it and import your saved key.

../_images/wl18.png

If everything is right you should see window like this. Confirm and then click save private key.

../_images/wl19.png

Confirm and save your key wherever you want.

Open putty app and in the field Host Name (or IP address) type your floating (public) IP address.

../_images/wl20.png

Then go to Connection→SSH→ Auth and Browse your key in putty format.

Go to Session, name your session and click save. I named it: ubuntu_access_ssh.

../_images/wl21.png

If you trying to connect for the first time you should see something like this:

../_images/wl22.png

Confirm it and login as eouser, then you are successfully connected to your vm via ssh and Putty.

../_images/wl23.png