Installing OpenStack Dashboard

  • (4.0)
  • | 1172 Ratings


Managing our OpenStack environment through a command-line interface allows us complete control of our cloud environment, but having a GUI that operators and administrators can use to manage their environments and instances makes this process easier. OpenStack Dashboard, known as Horizon, provides this GUI and is a Web service that runs from an Apache installation, using Python’s Web Service Gateway Interface (WSGI) and Django, a rapid development Web framework.

The OpenStack dashboard is a Web interface that enables cloud administrators and users to manage various OpenStack resources and services. The dashboard enables web-based interactions with the OpenStack Compute cloud controller through the OpenStack APIs. Horizon enables you to customize the brand of the dashboard. It provides a set of core classes and reusable templates and tools.

With OpenStack Dashboard installed, we can manage all the core components of our OpenStack environment.
We can also configure the dashboard for a simple HTTP deployment. You can configure the dashboard for a secured HTTPS deployment. While the standard installation uses a non-encrypted HTTP channel, you can enable SSL support for the dashboard. Also, you can configure the size of the VNC window in the dashboard.
As a cloud end user, you can use the OpenStack dashboard to provision your own resources within the limits set by administrators.

To gain in-depth knowledge and be on par with practical experience, then explore  OpenStack Training course.

Installing OpenStack Dashboard

Installation of OpenStack Dashboard is a simple and straightforward process using Ubuntu’s package repository.

Getting ready

Ensure that you are logged into the OpenStack Controller Node. If you use Vagrant to create this as described in CREATING A SANDBOX ENVIRONMENT USING VIRTUALBOX AND VAGRANT recipe of Keystone OpenStack Identity Service, we can access this with the following command:

How to accomplish it…

To install OpenStack Dashboard, we simply install the required packages and dependencies by following the ensuing steps:

  • Install the required packages as follows:

  • We can configure OpenStack Dashboard by editing the /etc/openstack-dashboard/ file, thus:

  • Now we need to configure OpenStack Compute to use our VNC proxy service that can be used through our OpenStack Dashboard interface. To do so, add the following lines to /etc/nova/nova.conf:

  • Restart nova-api to pick up the changes:


Installation of OpenStack Dashboard under Ubuntu gives a slightly different look and feel than a stock installation of the Dashboard. The functions remain the same, although Ubuntu adds an additional feature to allow the user to download environment settings for Canonicals’ orchestration tool, Juju. To remove the Ubuntu theme execute the following:

Explore OpenStack Sample Resumes! Download & Edit, Get Noticed by Top Employers!  Download Now!

How it works…

Installation of OpenStack Dashboard, Horizon, is simple when using Ubuntu’s package repository. As it uses the Python RAD Web environment, Django, and WSGI, OpenStack Dashboard can run under Apache. So, to pick up our changes, we restart our Apache 2 service.
We also include the VNC Proxy service. It provides us with a great feature to access our instances over the network, through the Web interface.

Related Pages:
Openstack Tutorial

Interview Questions:
Openstack Interview Questions

Subscribe For Free Demo

Free Demo for Corporate & Online Trainings. Protection Status