AUTOMATING
MICROSERVICES APPS

WITH DOCKER CLOUD

Armagan Amcalar

Berlin DevOps Meetup
Jul 27th, 2016

Who am I?

Armagan Amcalar
Head of Software Engineering @ unu GmbH
Founder @ Lonca Works

        dashersw            dashersw

AUTHORED ON GITHUB

Outline

Requirements of a microservice deployment

How continuous delivery works on Docker Cloud

CD & scaling demo

Microservices

Multiple little services for a single request
Consumes minimal resources, scales well

 

Auto discovery

Dynamic configuration

High availability

Scale and update single services

Enter cote.js

Zero-configuration

Scalable, distributed applications

Fault-tolerant

cote.js Features

Auto-discovery
Mesh network, peer-to-peer communication
Pubsub pattern
Requester/responder pattern
Client-side communication with Websockets
Load balancing with different strategies
Daemon monitor

Demo time!

Continuous delivery with Docker Cloud

Docker Cloud is a fully managed cloud environment for running Docker applications

 

Infrastructure as Code & Pets vs Cattle

 

Manage clusters of servers with AWS, DigitalOcean, etc.

Manage and scale apps

Automatically build Docker images on push

Automatically deploy new apps

 

Continuous delivery with Docker Cloud

Pros

Super-automated

Hassle-free deployment

Slack integration

 

Cons

Not Docker Swarm native

DNS-based discovery

Icky integration with cloud providers

 

Demo time!

thank you!

Join cote.js community

Let's keep in touch!

Armagan Amcalar

armagan@amcalar.com
twitter: @dashersw
github: dashersw