Installing the SQLstream Blaze Docker Container

<< Click to Display Table of Contents >>

Navigation:  Installing SQLstream Blaze >

Installing the SQLstream Blaze Docker Container

Previous pageReturn to chapter overviewNext page

The SQLstream Blaze 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 SQLstream Blaze work. Using Docker, you can do everything you could do with a "bare metal" installation of s-Server and StreamLab. Once you install the SQLstream Blaze 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 SQLstream Blaze Trial, the Docker Community Edition will work sufficiently.

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

To run the SQLstream Blaze Docker Container:

1.Install Docker.

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

3.Enter the following in a terminal.

docker pull sqlstream/blaze

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

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

 

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

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

http://localhost

 

The SQLstream Blaze Docker Container Welcome page displays.

inst_docker_homepage1

This page lets you do the following:

Confirm that the following SQLstream Blaze components are running (you can also stop these from this page):

s-Server, webAgent, s-Dashboard, StreamLab

Register SQLstream Blaze 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 SQLstream Blaze'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.

Run the Mochi Demonstration. 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.

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.

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 SQLstream Blaze Docker Container. By default, this address is jdbc:sqlstream:sdp://localhost:5570