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
After installing, use the deepstream command to start the server via its command line interface.
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
Downloading deepstream's source code
You can also get the package and sources directly from deepstream's release page