Scaling Docker #3 - Docker Service Registration with Etcd & Flannel @learncodeacademy
Scaling Docker #3 - Docker Service Registration with Etcd & Flannel  @learncodeacademy
Uploaded December 2015 | Updated November 2026, 1 hour ago
2 of the biggest problems to solve with Docker infrastructure are service registration & service discovery. In this video, we'll cover the more complicated piece, which is service registration.

Every Docker container needs to register itself as a web service that can be consumed or load balanced by other containers.

VIDEO 1: youtu.be/wxUxtflalE4
- Cluster computing - CoreOS is our solution here. CoreOS allows us to make an expandable cluster of computers so we can add more computers should our application need more power to scale. CoreOS also allows us to run services on any machine in the cluster and they can all communicate with each other.

VIDEO 2: youtu.be/top0MlcKSw4
- Scheduling: we shouldn't manually choose which app runs on which machine - this idea doesn't work at scale. Fleet will be our scheduler that decides where our apps/services run. If a CoreOS machine goes down, fleet will reschedule any services that it was running onto a new machine.

THIS VIDEO: youtu.be/1zJ8FfC-gmU
- Service Registration
Since we never know what ip address or port a service will be running on, we need to register that service so other services can find it and communicate with it. We'll use Etcd and Flannel for this

VIDEO 4: youtu.be/R39VRocQtrQ
- Service Discovery:
Now that services have registered, we can discover them and load balance between them with a generic docker nginx container

- Public DNS: Once the app is working, we need a fixed way for the outside world to access it. We'll use Nginx and Confd for this. Confd will watch Etcd for service registration and when services come/go, it will build a new configuration file for Nginx and reload Nginx.

-~-~~-~~~-~~-~-
Also watch: "Responsive Design Tutorial - Tips for making web sites look great on any device"
youtube.com/watch?v=fgOO9YUFlGI
-~-~~-~~~-~~-~-
Scaling Docker #3 - Docker Service Registration with Etcd & FlannelWeb Development Tutorial for Beginners (#1) - How to build webpages with HTML, CSS, JavascriptScaling Docker #5 - Routing DNS to Docker images running on a CoreOS ClusterArangoDB Tutorial - Databases every developer should know aboutNode.js MongoDB Tutorial using MongooseHow To Make A Website From HTML & CSS - FAST, CHEAP, EASYjQuery Ajax Tutorial #2 - Posting data to backend (jQuery tutorial #8)Node.js Cluster - Boost Node App Performance & Stability with ClusteringAWS Lambda Tutorial: Lambda + Serverless = HAPPYDev Workflow Tips! - Apps, Keyboard Setup, Editors and More - Ergodox EZ Mechanical KeyboardHTML & CSS Tutorial - Ways to code images...and how to do it wellGiving away the Das Keyboard 4 Ultimate using Code
LearnCode.academy |

Scaling Docker #3 - Docker Service Registration with Etcd & Flannel

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER