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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ilya Dmitrichenko
May 10, 2016
Technology
0
230
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
190
An Introduction to Prometheus for App Developers
errordeveloper
0
99
Time Traveling in the Universe of Microservices and Orchestration
errordeveloper
0
120
A Practical Guide to Prometheus for App Developers
errordeveloper
1
190
A Practical Guide to Cloud-Native Java Apps & Continuous Delivery
errordeveloper
0
230
GitOps: Operations by Pull-request
errordeveloper
0
310
GitOps and TensorFlow with Weave & Kubernetes
errordeveloper
0
100
A Practical Guide to Continuous Delivery (Container Days 2017)
errordeveloper
0
130
Practical Guide to Continuous Delivery for JavaScript
errordeveloper
0
220
Other Decks in Technology
See All in Technology
What happened to RubyGems and what can we learn?
mikemcquaid
0
110
ファシリテーション勉強中 その場に何が求められるかを考えるようになるまで / 20260123 Naoki Takahashi
shift_evolve
PRO
3
410
Vitest Highlights in Angular
rainerhahnekamp
0
120
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
Digitization部 紹介資料
sansan33
PRO
1
6.7k
DatabricksホストモデルでAIコーディング環境を構築する
databricksjapan
0
210
SMTP完全に理解した ✉️
yamatai1212
0
120
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
0
140
書籍執筆での生成AIの活用
sat
PRO
1
240
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
66k
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
1
630
「AIでできますか?」から「Agentを作ってみました」へ ~「理論上わかる」と「やってみる」の隔たりを埋める方法
applism118
14
8.9k
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
69
For a Future-Friendly Web
brad_frost
182
10k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
260
30 Presentation Tips
portentint
PRO
1
200
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
200
KATA
mclloyd
PRO
34
15k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
230
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
190
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
48
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
87
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