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
180
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
190
A Practical Guide to Cloud-Native Java Apps & Continuous Delivery
errordeveloper
0
210
GitOps: Operations by Pull-request
errordeveloper
0
300
GitOps and TensorFlow with Weave & Kubernetes
errordeveloper
0
93
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
Why React!?? Next.jsそしてReactを改めてイチから選ぶ
ypresto
10
3.8k
LLMアプリケーション開発におけるセキュリティリスクと対策 / LLM Application Security
flatt_security
7
1.6k
Oracle Cloud Infrastructure:2025年9月度サービス・アップデート
oracle4engineer
PRO
0
320
「Verify with Wallet API」を アプリに導入するために
hinakko
1
120
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
インサイト情報からどこまで自動化できるか試してみた
takas0522
0
120
Flaky Testへの現実解をGoのプロポーザルから考える | Go Conference 2025
upamune
1
320
業務自動化プラットフォーム Google Agentspace に入門してみる #devio2025
maroon1st
0
170
入門 FormObject / An Introduction to FormObject #kaigionrails
expajp
2
1.6k
Railsアプリケーション開発者のためのブックガイド
takahashim
13
5.4k
about #74462 go/token#FileSet
tomtwinkle
1
260
OCI Network Firewall 概要
oracle4engineer
PRO
1
7.7k
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Being A Developer After 40
akosma
90
590k
Context Engineering - Making Every Token Count
addyosmani
3
150
How GitHub (no longer) Works
holman
315
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
A better future with KSS
kneath
239
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Producing Creativity
orderedlist
PRO
347
40k
Raft: Consensus for Rubyists
vanstee
139
7.1k
Optimizing for Happiness
mojombo
379
70k
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