Installing the Guavus SQLstream Trial Docker Container

The Guavus SQLstream Docker container includes an Ubuntu server with s-Server and StreamLab installed. Docker containers are like lightweight Virtual Machines, but instead of bundling an entire operating system, they bundle the code, a runtime, libraries, environment variables, and config files required to make Guavus SQLstream work. Using Docker, you can do everything you could do with a “bare metal” installation of s-Server and StreamLab. Once you install the Guavus SQLstream Docker Container, you are ready to start running demonstration applications, and can use JDBC to get data into and out of s-Server.

You can run Docker on Linux, Mac, and Windows systems. For more information, see https://docs.docker.com/engine/installation/. For the purposes of Guavus SQLstream Trial, the Docker Community Edition will work sufficiently.

We recommend running the Guavus SQLstream Docker container on a system with at least 2 CPUs, 4GB RAM, and 4GB of available disk space. All Guavus SQLstream Containers are 64-bit and require a 64-bit host OS and a Docker version that supports 64-bit containers.

To run the Guavus SQLstream Docker Container:

  1. Install Docker.

  2. Start Docker (if it is not already started).

  3. Enter the following in a terminal.

    docker pull sqlstream/6.0.0.0
    

    4.Enter the following to run the sqlstream/blaze container:

    docker run -p 80:80 -p 5560:5560 -p 5590:5590 -p 5570:5570 -p 5580:5580 -p 5585:5585 -p 5591:5591 -p 5595:5595 -it sqlstream/6.0.0.0:latest /bin/bash -d
    

    (The -p command publishes needed ports to your host machine, so that you can connect with Guavus SQLstream components in the container.)

  4. Open your browser and go to the following address:

http://localhost

The Guavus SQLstream Docker Container Welcome page displays.

This page lets you do the following:

  1. Confirm that the following Guavus SQLstream components are running (you can also stop these from this page): s-Server, webAgent, s-Dashboard, StreamLab
  2. Register Guavus SQLstream Docker Container, which installs as a free version limited to processing 1G of data per day. Once you have registered, SQLstream will send you a 60-day trial license for Guavus SQLstream’s Enterprise Edition, which lets you process unlimited data. When your 60-day trial license expires, this instance will revert to the 1GB/day limit.
  3. Run the Mochi Demonstration application. Using s-Dashboard, the Mochi demonstration application simulates clusters of failed logins at a bank, either by phone or web, as well as withdrawals or debits using the same customer id number.
  4. Start a stream of simulated bus location data, see this data being used in a StreamLab application, and view a tutorial on how to integrate this data on your own.
  5. Download and install SQLstream s-Studio and other client tools. See Installing SQLstream s-Studio and Installing SQLstream Client Tools for more details. For both s-Studio and sqlLine, you will need the JDBC address for the s-Server instance in the Guavus SQLstream Docker Container. By default, this address is jdbc:sqlstream:sdp://localhost:5570.