Anubhav Tarar has a guide for setting up Apache Mesos along with Spark and Hadoop on EC2:
Apache Mesos is open source project for managing computer clusters originally developed at the University Of California. It sits between the application layer and operating system to manage the application works efficiently on the large-scale distributed environment.
In this blog, we will see how to setup mesos client and master on ec2 from scratch.
Read on for the step-by-step guide.