The Compute service (nova) is one of the more complex OpenStack services. It runs in many locations throughout the cloud and interacts with a variety of internal services. For this reason, most of our recommendations regarding best practices for Compute service configuration are distributed throughout this book. We provide specific details in the sections on Management, API Endpoints, Messaging, and Database.
One decision a cloud architect will need to make regarding Compute service configuration is whether to use VNC or SPICE. Below we provide some details on the differences between these options.
OpenStack can be configured to provide remote desktop console access to instances for tenants and/or administrators using the Virtual Network Computer (VNC) protocol.
The OpenStack Dashboard (Horizon) can provide a VNC console for instances directly on the web page using the HTML5 noVNC client. This requires the
nova-novncproxy
service to bridge from the public network to the management network.The nova command-line utility can return a URL for the VNC console for access by the
nova
Java VNC client. This requires thenova-xvpvncproxy
service to bridge from the public network to the management network.
The
nova-novncproxy
and nova-xvpvncproxy services by default open public-facing ports that are token authenticated.By default, the remote desktop traffic is not encrypted. Havana is expected to have VNC connections secured by Kerberos.
As an alternative to VNC, OpenStack provides remote desktop access to guest virtual machines using the Simple Protocol for Independent Computing Environments (SPICE) protocol.
SPICE is supported by the OpenStack Dashboard (Horizon) directly on the instance web page. This requires the nova-spicehtml5proxy service.
The nova command-line utility can return a URL for SPICE console for access by a SPICE-html client.
Although SPICE has many advantages over VNC, the spice-html5 browser integration currently doesn't really allow admins to take advantage of any of the benefits. To take advantage of SPICE features like multi-monitor, USB pass through, etc. admins are recommended to use a standalone SPICE client within the Management Network.
The nova-spicehtml5proxy service by default opens public-facing ports that are token authenticated.
The functionality and integration are still evolving. We will access the features in the next release and make recommendations.
As is the case for VNC, at this time we recommend using SPICE from the management network in addition to limiting use to few individuals.