As a demo for a talk my colleague Christoph and I gave at Futurice, also visited by students from HPI, I put together a small playground for creating and managing Micro Services. It’s work in progress, but usable already and might be a good starting point if you would like to try out your own setup with Docker, Consul and Prometheus.
The actual nice thing is, that it’s basically just a collection of Docker CLI commands. Nice images are available already, I just threw in a super simple Clojure Service.
Best would be to just check it out on github: nblumoe/MS-KOS
Where is the chaos?
The project’s description is “MS-KOS [em ˈes keɪ əʊz] are Micro Services in Chaos”, so you might wonder where the chaos is. At the time being, that’s a missing part. :)
I am going to use Consul’s service discovery to create a system of services that kill and spawn each other, creating a dynamically changing service landscape and then using Prometheus to investigate how the system behaves. So, exciting things ahead! While I get back to work, have a look what is already there on the github repo. Just go through the Guide to see how simple and easy it actually is to get this running. Awesome stuff, kudos to the Developers of those technologies!
Nils