#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.
####Components
- MESOS Master
- MESOS Slave
- ZOOKEEPER
- CHRONOS
- MONIT
#####On Cluster Master:
Components Installed: MESOS MASTER / ZOOKEEPER / CHRONOS / MONIT
- Create Amazon Linux 64 Bit Instance
- 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 |
-
Download deployment script
DeploymentScripts/mesos-master-deploy.sh
-
run
sudo bash
to switch to bash -
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
-
Create Amazon Linux 64 Bit Instance
-
Apply security group above
-
Install appropriate software for jobs to run (eg PHP)
-
Download deployment script
DeploymentScripts/mesos-slave-deploy.sh
-
run
sudo bash
to switch to bash -
run
chmod 755 mesos-slave-deploy.sh
The command to deploy is:
./mesos-slave-deploy.sh -z MESOS_MASTER_PRIVATE_IP
Scripts created by: