BUILDING AND SHIPPING
EFFORTLESS MICROSERVICES

WITH NODE.JS & DOCKER CLOUD

Armagan Amcalar

Node.js Meetup Berlin
Jan 24th, 2017

Who am I?

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

        dashersw            dashersw

AUTHORED ON GITHUB

Outline

Microservices overview

Requirements in production

Testing microservices

CI/CD processes

How Docker Cloud helps

Demo

Microservices

Separate code base
Multi processes for each service
A bug in a service crashes only that service
Consumes minimal resources
Scales well, needs minimal additional resources

Supports event-driven architecture

Request–response flow breakdown

 

Hard to manage!

Microservices in Production

Service discovery

Dynamic service configuration

Health checks & monitoring

Scale up and down across machines and datacenters

Testing microservices

Testing at every stage!

 

Unit tests

Integration tests with other microservices

Acceptance tests for end-to-end behavior

CI/CD processes

Keeping track of deployments

Testing pull requests

Unit testing changes

Building Docker images

Integration testing with other services

End-to-end acceptance testing

Docker Cloud

Automated server cluster management with AWS, DigitalOcean, etc. and BYOD

Automated builds from GitHub or Bitbucket repos

Automated testing to Docker Hub

Service and stacks similar to docker-compose

Slack notifications!

Scaling containers / nodes

Terminal access

Security scans

Demo time!

Source code & Docker Cloud configuration available at

https://github.com/dashersw/cote-workshop

thank you!

Join cote.js community

Let's keep in touch!

Armagan Amcalar
     @dashersw

slides: tr.im/dcm
demo: tr.im/dcmd

Looking for some professional help?

See http://skyscraper.tech

Building and shipping effortless microservices with Node.js and Docker Cloud

By Armağan Amcalar

Building and shipping effortless microservices with Node.js and Docker Cloud

Docker made developers’ lives easy. With the help of Docker Cloud, it’s now a breeze to run and scale any application. Armagan Amcalar will talk about building Dockerized microservices with Node.js and shipping and maintaining them in production with Docker Cloud. The talk will feature a pragmatic live demo on getting hands-on with these technologies.

  • 3,085