Accessing an Instance Through a Console

VNC or SPICE is used to view the console output of an instance, regardless of whether or not the console log has output. This allows relaying keyboard and mouse activity to and from an instance.

There are two remote console access methods commonly used with Metacloud:

  • novnc—an in-browser VNC client implemented using HTML5 Canvas and WebSockets
  • spice—[default protocol] a complete, in-browser client solution for interaction with virtualized instances

To access an instance through a remote console:

  1. Get a token-specific console URL.

    $ openstack console url show <INSTANCE_ID>
    

    The command returns a URL that you can use to access your instance:

    +-------+-------------------------------------------------------------------------+
    | Field | Value                                                                   |
    +-------+-------------------------------------------------------------------------+
    | type  | novnc                                                                   |
    | url   | http://<DASHBOARD-AZ.METACLOUD.NET>:6080/console?token=<TOKEN>          |
    +-------+-------------------------------------------------------------------------+
    
  2. Copy the URL and use it in a web browser. See Browser Support for noVNC.

To access an instance using a SPICE console:

  1. Get a token-specific, SPICE console URL.

    $ openstack console url show <INSTANCE_ID> --spice
    +-------+-------------------------------------------------------------------------+
    | Field | Value                                                                   |
    +-------+-------------------------------------------------------------------------+
    | type  | spice-html5                                                             |
    | url   | https://<DASHBOARD-AZ.METACLOUD.NET>:6082/spice_auto.html?token=<TOKEN> |
    +-------+-------------------------------------------------------------------------+
    
  2. Copy the URL and use it in a web browser. See Spice Wiki: HTML5 Client for browser requirements.