Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
NATS in Docker: make clustering simple with Wea...
Search
Ilya Dmitrichenko
May 10, 2016
Technology
0
220
NATS in Docker: make clustering simple with Weave Net & Scope
Demo code:
https://github.com/weaveworks-guides/weave-nats-tutorial/
Ilya Dmitrichenko
May 10, 2016
Tweet
Share
More Decks by Ilya Dmitrichenko
See All by Ilya Dmitrichenko
Best Practices for Using Developer Tooling to Drive Operations with GitOps
errordeveloper
2
170
An Introduction to Prometheus for App Developers
errordeveloper
0
95
Time Traveling in the Universe of Microservices and Orchestration
errordeveloper
0
110
A Practical Guide to Prometheus for App Developers
errordeveloper
1
180
A Practical Guide to Cloud-Native Java Apps & Continuous Delivery
errordeveloper
0
200
GitOps: Operations by Pull-request
errordeveloper
0
290
GitOps and TensorFlow with Weave & Kubernetes
errordeveloper
0
90
A Practical Guide to Continuous Delivery (Container Days 2017)
errordeveloper
0
110
Practical Guide to Continuous Delivery for JavaScript
errordeveloper
0
220
Other Decks in Technology
See All in Technology
原則から考える保守しやすいComposable関数設計
moriatsushi
3
510
Model Mondays S2E02: Model Context Protocol
nitya
0
200
Welcome to the LLM Club
koic
0
140
AWS CDK 実践的アプローチ N選 / aws-cdk-practical-approaches
gotok365
4
550
TechLION vol.41~MySQLユーザ会のほうから来ました / techlion41_mysql
sakaik
0
160
本当に使える?AutoUpgrade の新機能を実践検証してみた
oracle4engineer
PRO
1
130
CI/CDとタスク共有で加速するVibe Coding
tnbe21
0
230
Uniadex__公開版_20250617-AIxIoTビジネス共創ラボ_ツナガルチカラ_.pdf
iotcomjpadmin
0
150
Agentic Workflowという選択肢を考える
tkikuchi1002
1
430
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
1
410
OpenHands🤲にContributeしてみた
kotauchisunsun
0
290
強化されたAmazon Location Serviceによる新機能と開発者体験
dayjournal
2
170
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Faster Mobile Websites
deanohume
307
31k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
It's Worth the Effort
3n
184
28k
Visualization
eitanlees
146
16k
Optimizing for Happiness
mojombo
379
70k
Making Projects Easy
brettharned
116
6.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Documentation Writing (for coders)
carmenintech
71
4.9k
Transcript
NATS in Docker make clustering simple with Weave Net &
Scope Ilya Dmitrichenko May 2016
Outline • Motivation • why do I need a container
network? • why to use Weave Net? • where does Weave Scope help? • Demo (Docker for Mac and Amazon ECS)
Why to use containers? • standard unit of software delivery
(CI/CD) • ship code faster, as it’s easier to manage • multiple version etc • orchestration / cluster management • tight isolation and better utilisation
Why do I need a container network? • you may
want to use an orchestrator • some orchestrators require a network • options vary, depending on cloud provider • you need something that just works
Why chose Weave Net? • works with any orchestrator (or
without one) • provides unique IP for each container • has simple service discovery built-in • easy to setup and manage • works with all runtimes, as you will see • works the same in any cloud
What do you mean by any orchestrator? • Kubernetes •
EC2 Container Service • Docker Swarm • Apache Mesos • DC/OS
How does Weave Net work? • lightweight micro-SDN • resilient
mesh architecture • uses L2/VXLAN, supports multicast • no external config store required • all state leave on the network
How does service discovery work? • fast in-memory DNS •
simply find containers by name • no port number lookup • no port remapping • no code changes
How does Weave Scope work? • lightweight microservices control panel
• samples network traffic • gets metadata Docker • talks to orchestrator APIs • zero-config • plugins
How does Weave Net help NATS? • simple DNS service
discovery • deploy clusters anywhere, any scale • no port remapping, just use default ports • remote access for development, crypto
How does Weave Scope help NATS? • confirm cluster configuration
is function • confirm clients connect to different nodes • observe how system changes as you scale • debug containers in any orchestrator
Live Demo!
@errordeveloper