Amazon offers its own flavour of Linux on its EC2 machines. You can install deepstream on AWS Linux using the YUM package manager. Just copy and paste the following script into your terminal.

sudo wget https://bintray.com/deepstreamio/rpm/rpm -O /etc/yum.repos.d/bintray-deepstreamio-rpm.repo
sudo yum install -y deepstream.io

Starting deepstream

After installing, use the deepstream command to start the server via its command line interface.

deepstream start

Starting deepstream on linux

Configuring deepstream

You can either change deepstream's configuration file directly in /etc/deepstream or create a copy and run deepstream with the -c flag. (Important, make sure to update all relative paths within the configuration after copying it).

$ cd ~
$ cp /etc/deepstream/* .
$ ls
config.yml  permissions.yml  users.yml
$ deepstream start -c config.yml
Need support, architectural consulting or training? Buy Support