Using OpenStack Dashboard to connect to instances using a VNC

OpenStack Dashboard has a very handy feature that allows a user to connect to our running instances through a VNC session within our web browser. This gives us the ability to manage our instance through a virtual console window without invoking an SSH session separately and is a great feature for accessing desktop instances such as those running Windows.

Getting ready

Load a web browser, point it to our OpenStack Dashboard address at http://192.168.100.200/, and log in as a user, such as the demo user created in the Adding users to Keystone recipe of Chapter 1, Keystone – OpenStack Identity Service, with the password openstack.

How to do it...

To connect to a running instance by using VNC through a web browser, carry out the following steps:

  1. Click on the Instances tab and choose an instance to which you want to connect.
  2. Next to the Create Snapshot button is a down arrow button, which reveals more options. Click on it:
    How to do it...
  3. Select the Console option. This takes you to a console screen, which allows you to log in to your instance:
    How to do it...

    Note

    Your instance must support local logins. Many Linux cloud images expect a user to authenticate by using SSH Keys.

How it works...

Connecting through our web browser uses a VNC proxy session, which was configured by using the novnc, nova-consoleauth, and nova-console packages, as described in the installation section. Only browsers that support WebSocket connections are supported. Generally, this can be any modern browser with HTML5 support.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.172.159