How to create Windows VM on OpenStack Horizon and access it via web console on CREODIAS

This article provides a straightforward way of creating a functional Windows VM on CREODIAS cloud, using the Horizon graphical interface.

The idea is to

  • start the creation of a Windows virtual machine from the default Horizon dashboard and then

  • access it via the web console,

all from your Internet browser.

What Are We Going To Cover

  • Accessing the Launch Instance menu

  • Choosing the Instance name

  • Choosing source

  • Choosing flavor

  • Choosing networks

  • Choosing security groups

  • Launching virtual machine

  • Setting Administrator password

Prerequisites

No. 1 Account

You need a CREODIAS hosting account with access to the Horizon interface: https://horizon.cloudferro.com.

Step 1: Access the Launch Instance menu

In the Horizon dashboard, navigate to Compute -> Instances. Click the Launch Instance at the top of the Instances section:

../_images/create-windows-vm-horizon-web-console-01_creodias.png

You should get the following window:

../_images/create-windows-vm-horizon-web-console-02_creodias.png

Step 2: Choose the instance name

In the window which appeared, enter the name you wish to give to your instance in the Instance Name text field. In this example, we use test-windows-vm as the name:

../_images/create-windows-vm-horizon-web-console-03_creodias.png

Click Next >.

Step 3: Choose source

The default value in the drop-down menu Select Boot Source is Image, meaning that you will choose from one of the images that are present in your version of Horizon. If another value is selected, revert to Image instead.

../_images/create-windows-vm-horizon-web-console-04_creodias.png

Enter windows in the search field in the Available section to filter Windows images:

../_images/create-windows-vm-horizon-web-console-05_creodias.png

Choose the newest available version by clicking next to it. As of writing of this article, it is Windows 2022.

../_images/create-windows-vm-horizon-web-console-06_creodias.png

Your chosen image should appear in the Allocated section:

../_images/create-windows-vm-horizon-web-console-07_creodias.png

Click Next >.

If you allocate a wrong image by mistake, you can remove it from the Allocated section by clicking next to its name.

Step 4: Choose flavor

In this step you will choose the flavor of your virtual machine. Flavors manage access to resources such as VCPUS, RAM and storage.

The following screenshot shows what the flavors table looks like in general:

../_images/create-windows-vm-horizon-web-console-09_creodias.png

The presence of yellow warning triangles means that the flavor in that row is unavailable to you. To see the exact reason for this unavailability, hover your mouse over that triangle, like so:

../_images/create-windows-vm-horizon-web-console-21_creodias.png

Here are the flavors which you can choose when creating a Windows virtual machine in each particular cloud:

On WAW3-1 cloud, only flavors which have the name starting with hmw can be used to run Windodws.

Filter them by entering hmw in the search bar in the Available section:

../_images/create-windows-vm-horizon-web-console-23_creodias.png

Always be sure to check the actual flavors (that info can be found in the Horizon dashboard).

Choose the flavor which suits you best and click next to it to allocate it.

Click Next >.

Note

In examples that follow, we use two networks, one with name starting with cloud_ and the name of the other starting with eodata_. The former network should always be present in the account, but the latter may or may not present. If you do not have network which name starts with eodata_, you may create it or use any other network that you already have and want to use.

Step 5: Attach networks to your virtual machine

The next step contains the list of networks available to you:

../_images/create-windows-vm-horizon-web-console-10_creodias.png

By default, you should have access to the following networks:

  • A network which has the same name as your project - it can be used to connect your virtual machines together and access the Internet.

  • The network which has eodata in its name - it can be used to access the EODATA repository containing Earth observation data.

Allocate both of them and click Next >.

The next step is called Network Ports. In it simply quick Next > without doing anything else.

Step 6: Choose security groups

Security groups control Internet traffic for your virtual machine.

In this step, make sure that the default security group is allocated. It blocks incoming network traffic and allows outgoing network traffic.

Group allow_ping_ssh_icmp_rdp exposes your VM to various types of network traffic but here, do not allocate it. It is not needed for the purposes of this article, since you will only access your virtual machine using the web console. You should still be able to perform standard Windows operations such as browsing the Internet or accessing e-mail without this security group.

../_images/create-windows-vm-horizon-web-console-11_creodias.png

Step 7: Launch your virtual machine

Other steps from the Launch Instance window are optional. Once you have done the previous steps of this article, click Launch Instance button:

../_images/create-windows-vm-horizon-web-console-12_creodias.png

Your virtual machine should appear in the Instances section of the Horizon dashboard. Wait until its Status is Active:

../_images/create-windows-vm-horizon-web-console-13_creodias.png

Once the Status is Active, the virtual machine should be running. The next step involves setting access to it.

Step 8: Set the Administrator password

Once your instance has Active status, click on its name:

../_images/create-windows-vm-horizon-web-console-14_creodias.png

You should see a page containing information about your instance. Navigate to Console tab:

../_images/create-windows-vm-horizon-web-console-15_creodias.png

You should see the web console with which you can control your virtual machine. When the system finishes startup, you will see prompt to set the Administrator password:

../_images/create-windows-vm-horizon-web-console-16_creodias.png

Click OK. You should now see two text fields:

../_images/create-windows-vm-horizon-web-console-17_creodias.png

Enter your chosen password in the New password text field.

Enter it again in the Confirm password text field.

Click right arrow next to the Confirm password text field:

../_images/create-windows-vm-horizon-web-console-18_creodias.png

You should get the following confirmation:

../_images/create-windows-vm-horizon-web-console-19_creodias.png

Click OK.

Wait until you see the standard Windows desktop.

Step 9: Update Windows

Once the Windows virtual machine is up and running, you should update its operating system to have the latest security fixes. Click Start, and then Settings:

../_images/create-windows-vm-horizon-web-console-26_creodias.png

After that, click Update & Security:

../_images/create-windows-vm-horizon-web-console-27_creodias.png

You should now see the Windows Update screen, which can look like this:

../_images/create-windows-vm-horizon-web-console-28_creodias.png

Follow appropriate prompts to update your operating system.

What To Do Next

To learn how to access EODATA repository on your new Windows virtual machine, check this article: How to mount EODATA on Windows virtual machine on CREODIAS hosting

If you want to access your virtual machine remotely using RDP (Remote Desktop Protocol), you should consider increasing its security by using a bastion host. The following article contains more information: Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on CREODIAS

To learn more about security groups, you can check this article: How to use Security Groups in Horizon on CREODIAS