Atom feed of this document
  
 

 Chapter 11. Management Interfaces

It is necessary for administrators to perform command and control over the cloud for various operational functions. It is important these command and control facilities are understood and secured.

OpenStack provides several management interfaces for operators and tenants:

  • OpenStack dashboard (Horizon)

  • OpenStack API

  • Secure Shell (SSH)

  • OpenStack Management Utilities (for example, nova-manage, glance-manage)

  • Out-of-Band Management Interfaces (IPMI, etc.)

 Dashboard

The OpenStack dashboard (Horizon) provides administrators and tenants a web-based graphical interface to provision and access cloud-based resources. The dashboard communicates with the back-end services via calls to the OpenStack API (discussed above).

 Capabilities

  • As a cloud administrator, the dashboard provides an overall view of the size and state of your cloud. You can create users and tenants/projects, assign users to tenant/projects and set limits on the resources available for them.

  • The dashboard provides tenant-users a self-service portal to provision their own resources within the limits set by administrators.

  • The dashboard provides GUI support for routers and load-balancers. For example, the dashboard now implements all of the main Networking features.

  • It is an extensible Django web application that allows easy plug-in of third-party products and services, such as billing, monitoring, and additional management tools.

  • The dashboard can also be branded for service providers and other commercial vendors.

 Security Considerations

  • The dashboard requires cookies and JavaScript to be enabled in the web browser.

  • The web server that hosts dashboard should be configured for SSL to ensure data is encrypted.

  • Both the Horizon web service and the OpenStack API it uses to communicate with the back-end are susceptible to web attack vectors such as denial of service and must be monitored.

  • It is now possible (though there are numerous deployment/security implications) to upload an image file directly from a user’s hard disk to OpenStack Image Service through the dashboard. For multi-GB images it is still strongly recommended that the upload be done using the Glance CLI

  • Create and manage security groups through dashboard. The security groups allows L3-L4 packet filtering for security policies to protect virtual machines

 OpenStack API

The OpenStack API is a RESTful web service endpoint to access, provision and automate cloud-based resources. Operators and users typically access the API through command-line utilities (for example, nova or glance), language-specific libraries, or third-party tools.

 Capabilities

  • To the cloud administrator, the API provides an overall view of the size and state of the cloud deployment and allows the creation of users, tenants/projects, assigning users to tenants/projects, and specifying resource quotas on a per tenant/project basis.

  • The API provides a tenant interface for provisioning, managing, and accessing their resources.

 Security Considerations

  • The API service should be configured for SSL to ensure data is encrypted.

  • As a web service, OpenStack API is susceptible to familiar web site attack vectors such as denial of service attacks.

 Secure Shell (SSH)

It has become industry practice to use secure shell (SSH) access for the management of Linux and Unix systems. SSH uses secure cryptographic primitives for communication. With the scope and importance of SSH in typical OpenStack deployments, it is important to understand best practices for deploying SSH.

 Host Key Fingerprints

Often overlooked is the need for key management for SSH hosts. As most or all hosts in an OpenStack deployment will provide an SSH service, it is important to have confidence in connections to these hosts. It cannot be understated that failing to provide a reasonably secure and accessible method to verify SSH host key fingerprints is ripe for abuse and exploitation.

All SSH daemons have private host keys and, upon connection, offer a host key fingerprint. This host key fingerprint is the hash of an unsigned public key. It is important these host key fingerprints are known in advance of making SSH connections to those hosts. Verification of host key fingerprints is instrumental in detecting man-in-the-middle attacks.

Typically, when an SSH daemon is installed, host keys will be generated. It is necessary that the hosts have sufficient entropy during host key generation. Insufficient entropy during host key generation can result in the possibility to eavesdrop on SSH sessions.

Once the SSH host key is generated, the host key fingerprint should be stored in a secure and queriable location. One particularly convenient solution is DNS using SSHFP resource records as defined in RFC-4255. For this to be secure, it is necessary that DNSSEC be deployed.

 Management Utilities

The OpenStack Management Utilities are open-source Python command-line clients that make API calls. There is a client for each OpenStack service (for example, nova, glance). In addition to the standard CLI client, most of the services have a management command-line utility which makes direct calls to the database. These dedicated management utilities are slowly being deprecated.

 Security Considerations

  • The dedicated management utilities (*-manage) in some cases use the direct database connection.

  • Ensure that the .rc file which has your credential information is secured.

 References

OpenStack End User Guide section command-line clients overview

OpenStack End User Guide section Download and source the OpenStack RC file

 Out-of-Band Management Interface

OpenStack management relies on out-of-band management interfaces such as the IPMI protocol to access into nodes running OpenStack components. IPMI is a very popular specification to remotely manage, diagnose, and reboot servers whether the operating system is running or the system has crashed.

 Security Considerations

  • Use strong passwords and safeguard them, or use client-side SSL authentication.

  • Ensure that the network interfaces are on their own private(management or a separate) network. Segregate management domains with firewalls or other network gear.

  • If you use a web interface to interact with the BMC/IPMI, always use the SSL interface, such as https or port 443. This SSL interface should NOT use self-signed certificates, as is often default, but should have trusted certificates using the correctly defined fully qualified domain names (FQDNs).

  • Monitor the traffic on the management network. The anomalies might be easier to track than on the busier compute nodes.

Out of band management interfaces also often include graphical machine console access. It is often possible, although not necessarily default, that these interfaces are encrypted. Consult with your system software documentation for encrypting these interfaces.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...