Reliable Stack on Hetzner Servers with DC/OS

By Oktober 5, 2016 Aktuelles 3 Comments

For one of my clients we were looking for an affordable alternative to Amazon AWS and Heroku. The ‘self-hosted’ Cloud without loosing to many features and still maintainable.


We followed the following steps for the implementation:

  1. Which components to use? (Docker, CloudFoundry, DC/OS ?)
  2. Setup of first prototype
  3. First Production Pilot (here we are now)
  4. Transfer of Applications in the new cloud

First: Which components to use?

Our current stack is single Docker Instances on several servers. Our goal is to abstract from single servers and deploy services on a transparent stack.  So our wishlist is:

  • Run Docker containers
  • Manage Docker dependencies
  • Balance resources and load
  • is reliable

After comparDCOSing the possible solution (datacenter/OS) is really promising: ‘The Definitive Platform for Modern Apps – Production Experience Built-in.’. It was created by mesosphere and should cover exactly the need described above.





Second: Prototype Setup on Hetzner

To get a first hands-on experience with DC/OS I used the DC/OS-Vagrant deployment, which runs a couple of vagrant virtual machines to emulate a cluster.


The installation on RAW Ubuntu was quite easy:

To make the UI accessable from outside I used nginx. Use apt-get install nginx   and modifiy /etc/nginx/sites-enabled/default as following

In case  it does not work, you may try to find out the ip address of your m1.dcos virtual machine and replace the DNS-Name by the IP address:

Open your browser and enjoy your new DC/OS setup!

Bildschirmfoto 2016-10-05 um 16.21.58


To get started try out mesosphere marathon, which is the service running other services.


  • Jan Matthiesen sagt:

    Hello Mr. Fakir,
    did you by any chance got the setup running on hetzner after all? I’m currently trying a similar setup with CoreOS on a Hetzner server and would like to try dc/os there too but I’m not sure if it’s actually possible with the tools hetzner offers even though they are normally quite good.
    Kind regards,
    Jan Matthiesen

  • Andrew sagt:

    This is more than 5 years old and didn’t get followed up with a description of the production setup. Maybe it didn’t turn out well and got abandoned?

Leave a Reply