In the post Apache Mesos on Apache CloudStack we setup an Apache Mesos cluster with Marathon on the master nodes and Docker on the slave nodes. Now lets see how to deploy Docker containers using Mesos and Marathon. Marathon is basically used to schedule the docker containers on Mesos. This is done by sending a “POST” to the marathon api.
Terraform makes it extremely easy to deploy vm instances on multiple providers like CloudStack, OpenStack, AWS, Azure and more by describing your complete infrastructure as code. You describe you infrastructure in configuration files “*.tf” for a simple or complex applications or deployments. Terraform then takes that configuration and creates an execution plan so that you can see what it’s going to do before it does it. As the configuration changes, Terraform is able to determine what changed and create incremental execution plans which can be applied. And when you need to tear down the deployed services it’s as easy “terraform destroy”.
Mesos is an abstract layer for CPU, memory and storage resources. Its intended to be somewhat of a datacenter operating system (DCOS). Mesos is absolutely awesome and I wanted to mix it up with some other awesome technologies like CloudStack and Docker.