ModeraCloud

Beta

Deployment and Cluster orchestration tools
made by developers for developers.

Get started View in GitHub
/apps/flask-redis $ mcloud start --init

+--------------+--------+-------------+--------+--------+--------------+-------------------------+
| Service name | status |      ip     | cpu %  | memory |   volumes    |       public urls       |
+--------------+--------+-------------+--------+--------+--------------+-------------------------+
| redis.hello  |   ON   | 172.17.0.36 | 0.09%  |   6M   |    /data     |                         |
+--------------+--------+-------------+--------+--------+--------------+-------------------------+
| flask.hello  |   ON   | 172.17.0.37 | 15.74% |  32M   | /usr/src/app | http://hello.mcloud.lh/ |
+--------------+--------+-------------+--------+--------+--------------+-------------------------+

1
2   redis:
3       image: redis:2.8
4
5
6   flask:
7       web: 5000
8       dockerfile: |
9           FROM python:2.7.8
10          RUN  pip install Flask redis
11
12
13      workdir: /usr/src/app
14      volumes:
15          .: /usr/src/app
16
1
2   from flask import Flask
3   app = Flask(__name__)
4
5   from redis import Redis
6   redis = Redis(host='redis')
7
8   @app.route("/")
9   def hello():
10      views = redis.incr('views')
11      return "Hello, ModeraCloud! Page opened: %d times" % views
12
13  if __name__ == "__main__":
14      app.debug = True
15      app.run(host='0.0.0.0')
16


Mcloud use Docker to run your applications as a set of super-lightweight linux containers.

Docker Machine provides lock-free integration with all major cloud providers.

Configured once, application can be deployed to production or cloud without any changes.

Libswarm is used to scale application to Enterprise-grade cluster.

And still, no configuration changes needed.

Modera Cloud architecture
Modera Cloud architecture

Rich debugging & hacking toolbox developers love!

WARNING: Mcloud is highly addictive.

ModeraCloud core is open source tool with MIT license. Follow the guideline and you should be up and running in less than 10 minutes.

Quick start

  1. 1. Install Docker.
  2. 2. Start mcloud-server container
  3. 3. Add alias for mcloud command
  4. 4. Run command-line client