Home

Awesome

#chronos

Mesos, ZooKeeper, Chronos and Monit Deployment & Init Scripts for use on AWS

These scripts in /DeploymentScripts can be used to deploy Mesos, ZooKeeper, Chronos and Monit on AWS EC2 Instances running 64 Bit Amazon Linux.

Procedure for Deploying MESOS Cluster on AWS

####Components

#####On Cluster Master:

Components Installed: MESOS MASTER / ZOOKEEPER / CHRONOS / MONIT

  1. Create Amazon Linux 64 Bit Instance
  2. Create and apply appropriate security group with the following rules
Port RangeSource AddressDescription
0-65535security group id Example:sg-223a382Allow all traffic inside security group
220.0.0.0/0SSH
50500.0.0.0/0 or specific ip addressMesos Master
80800.0.0.0/0 or specific ip addressChronos web UI
50510.0.0.0/0 or specific ip addressMesos slave
28120.0.0.0/0 or specific ip addressmonit
  1. Download deployment script DeploymentScripts/mesos-master-deploy.sh

  2. run sudo bash to switch to bash

  3. run chmod 755 mesos-master-deploy.sh

    The command to deploy is:
    ./mesos-master-deploy.sh -n MESOS_CLUSTER_NAME

#####On Cluster Slaves:

Components Installed: MESOS SLAVE / MONIT

  1. Create Amazon Linux 64 Bit Instance

  2. Apply security group above

  3. Install appropriate software for jobs to run (eg PHP)

  4. Download deployment script DeploymentScripts/mesos-slave-deploy.sh

  5. run sudo bash to switch to bash

  6. run chmod 755 mesos-slave-deploy.sh

    The command to deploy is:
    ./mesos-slave-deploy.sh -z MESOS_MASTER_PRIVATE_IP

Scripts created by:

Rine Joseph & Cas Hoefman