Skip to content

otfrom/chronos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

#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

  • MESOS Master
  • MESOS Slave
  • ZOOKEEPER
  • CHRONOS
  • MONIT

#####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 Range Source Address Description
0-65535 security group id Example:sg-223a382 Allow all traffic inside security group
22 0.0.0.0/0 SSH
5050 0.0.0.0/0 or specific ip address Mesos Master
8080 0.0.0.0/0 or specific ip address Chronos web UI
5051 0.0.0.0/0 or specific ip address Mesos slave
2812 0.0.0.0/0 or specific ip address monit
  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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published