Higher Order Infrastructure - Microservices on the Docker Swarm
summary
A polyglot voting app is built and deployed across five DigitalOcean hosts provisioned with Docker Machine, using Docker Swarm for cluster management and Consul for discovery. Services: Python vote API (writes to Redis), Java worker (moves votes to PostgreSQL), Node.js results UI; nginx-proxy detects containers with VIRTUAL_HOST from a single docker-compose.yml and updates routes. Labels constrain placement so DB lands on a DB node and web on service nodes. Scaling adds a new service node and spins up four more result containers; routing and logs update and the demo works.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:17Docker brought to the average software developer
- 3:13The advent of the Docker orchestration ecosystem
- 7:25Components of the orchestration puzzle
- 13:11Creating a machine part of the Swarm
- 16:55In Digital Ocean UI
- 17:26Swarm comes with strategies and filters
- 20:05docker-compose.yml a declarative way to define services
- 23:00Setting up the Reverse Proxy
- 31:08Docker orchestration ecosystem has greatly matured
related talks
37mHigher order infrastructure: from Docker basics to cluster management
39mHighly Available & Distributed Containers
53mMicroservices Lifecycle Through Docker an CD
01h 18mEmbracing Docker simplicity - while harnessing platform power
22mRapidly Developing Microservices with Node js and Docker
56mLinux & Windows Containers on a Hybrid Docker Swarm
37mLessons learned from dockerizing complex Web Apps
45mThe Hybrid Docker Swarm: Mashing Windows and Linux Apps with Containers
