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.
Installation of OpenStack Dashboard is a simple and straightforward process using Ubuntu’s package repository.
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:
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:
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.
Openstack Interview Questions
Get Updates on Tech posts, Interview & Certification questions and training schedules