Product, Use Cases, Partners and Mesosphere enable microservices and serverless computing

For more than five years, DC/OS has enabled some of the largest, most sophisticated enterprises in the world to achieve unparalleled levels of efficiency, reliability, and scalability from their IT infrastructure. But now it is time to pass the torch to a new generation of technology: the D2iQ Kubernetes Platform (DKP). Why? Kubernetes has now achieved a level of capability that only DC/OS could formerly provide and is now evolving and improving far faster (as is true of its supporting ecosystem). That’s why we have chosen to sunset DC/OS, with an end-of-life date of October 31, 2021. With DKP, our customers get the same benefits provided by DC/OS and more, as well as access to the most impressive pace of innovation the technology world has ever seen. This was not an easy decision to make, but we are dedicated to enabling our customers to accelerate their digital transformations, so they can increase the velocity and responsiveness of their organizations to an ever-more challenging future. And the best way to do that right now is with DKP.

Aug 24, 2016



This post was written by Doug Coburn of and originally appeared on the blog.


Lots of people have been asking about how they can use Mesosphere and together. It makes sense, because's workload processing engine and hybrid microservices architecture are perfectly suited to take advantage of Mesosphere's Datacenter Operating System (DC/OS), the first open and comprehensive platform for building, running and scaling modern enterprise applications. customers already love the simplicity of the serverless platform, providing a multi-cloud, Docker-based job-processing service. Using DC/OS with, joint customers would see enhanced flexibility to develop their hybrid cloud strategy and run distributed job processing across heterogeneous environments. This would be a big win for enterprise customers who want to pair the scalability and operational ease of DC/OS with the serverless and microservices expertise of


This is why our two companies are working together to create a series of reference architectures for enterprises looking to adopt microservices at scale, for a variety of modern applications and workloads using a containerized infrastructure.


Benefit to customers


DC/OS drastically simplifies the process of running applications, including those built around Docker containers and big data systems. It is built on a foundation of Apache Mesos, which works under the covers to aggregate up to tens of thousands of machines into a single resource pool. DC/OS services are highly available, and users can easily deploy and manage distributed services, as well as massive collections of application containers, without configuring servers. provides a hosted service that can deploy workers across public and private cloud environments. These IronWorkers are instantiated in the appropriate target clouds and execute their business logic before being destroyed.


More often than not, IronWorker jobs connect to enterprise big data services and SQL/NoSQL databases. This is where the power of DC/OS can play a key role, by allowing infrastructure developers to build distributed systems that dynamically leverage a range of underlying resources, offering the following key benefits:


  • Hybrid microservices: Both and Mesosphere are able to support and run across public, private and hybrid cloud environements. This allows customers of all sizes from startups to large enterprises to deploy "Hybrid Microservices," allowing flexibility of workload pipelines and back-end data services to be assembled based on performance, security, price and other constraints that customers care about.
  • Event-driven resource optimization: As IronMQ queues grow, they can set off triggers that can be used by DC/OS to expand the targeted resources.
  • Polyglot languages, meet polyglot databases: The benefits of being polyglot has been widely publicised in cloud-native environments. Combining's support for multiple languages with Mesosphere's ability to run a variety of big data and analytics platforms provides the greatest flexibility in the industry in a turnkey approach.
  • Containers-as-a-Service (CaaS): Specifically for, but not limited to born-in-the-cloud SaaS companies, the evolution of their platforms to microservices can be accelerated through the use of a CaaS environment. Our combined solution provides comprehensive CaaS capabilities.


A high-level overview that shows how and Mesosphere DC/OS work together, highlighting some of these benefits can be found below. For more background, you can also check out my recent post on hybrid capabilities.



Enabling IronWorker on Mesosphere


1. Sign up for an account at


2. Contact for access to the Hybrid Cluster configuration


3. Log into


4. Go to My Clusters



5. Select "create a new cluster"

  • Name: Can be any name.
  • Memory: This is the amount of memory to restrict the worker to for the workers in the cluster.
  • Disk space: This is the amount of disk space the container for workers will have access to when running.



6. Select your cluster and keep track of the Cluster ID and Cluster Token as we will need these two items later.



7. Log into your DC/OS cluster


8. Select "Services"


9. Click on "Marathon"


10. Select "Open Service"



11. In the Marathon UI select "Create new Application"




12. In the "New Application" dialog, give the application any name


  • You can specify the number of CPUs to make available to each container and the amount of memory.
  • IronWorker will automatically break the memory up into workers based on the available memory. So if there is 2048 memory with 512MB workers, then there would be 4 workers per instance.



13. In Docker container


  • Image: (This is the image that will be pulled for the container)
  • Network: Any option should work as long as the container can connect outbound to 443 *
  • Select "extend runtime privileges"


14. Select Environment Variables


Create three environment variables:


CLUSTER_ID=CLUSTERID (This is the value from the my clusters page)

CLUSTER_TOKEN=CLUSTERTOKEN (This is the value from the my clusters page)




15. Select "Health Checks"


We'll be creating 3 health checks:


Health check 1


  • COMMAND: ps -Aef | grep -q ./runner
  • Grace Period: 300
  • Interval: 60
  • Timeout: 20
  • Max Consecutive Failures: 3


Health check 2


  • COMMAND: ps -Aef | grep -q dockerd
  • Grace Period: 60
  • Interval: 60
  • Timeout: 20
  • Max Consecutive Failures: 3


Health check 3


  • COMMAND: docker ps -a
  • Grace Period: 300
  • Interval: 60
  • Timeout: 20
  • Max Consecutive Failures: 3


16. Select "Optional"


  • On your DC/OS nodes you will need to do "Docker login" and login with the user who has access to the IronWorker Docker image. Once you have done that you will need to gzip the .docker folder with the config.json and make sure it is available on all of the nodes.
  • Put the tar.gz file on each node where it is accessible to DC/OS.
  • In URIs put the path to the file like: file:///etc/docker.tar.gz



17. Select "Create Application"


18. You can now click "Scale" to have instances created




We are truly excited about this partnership and the potential it holds for turnkey hybrid microservices deployments. I'm looking forward to seeing how customers innovate around our combined platforms. Please share your comments and feedback below about your use cases, additional areas we should focus on, or anything else really. And stay tuned for a lot more from this partnership in the near future.

Ready to get started?