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
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
120
Practical Guide to Continuous Delivery for JavaScript
errordeveloper
0
220
Other Decks in Technology
See All in Technology
さくらのクラウド開発ふりかえり2025
kazeburo
2
1.3k
Snowflake Industry Days 2025 Nowcast
takumimukaiyama
0
150
人工知能のための哲学塾 ニューロフィロソフィ篇 第零夜 「ニューロフィロソフィとは何か?」
miyayou
0
200
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
1.9k
技術選定、下から見るか?横から見るか?
masakiokuda
0
170
Knowledge Work の AI Backend
kworkdev
PRO
0
340
2025年の医用画像AI/AI×medical_imaging_in_2025_generated_by_AI
tdys13
0
240
通勤手当申請チェックエージェント開発のリアル
whisaiyo
3
630
日本の AI 開発と世界の潮流 / GenAI Development in Japan
hariby
2
710
20251203_AIxIoTビジネス共創ラボ_第4回勉強会_BP山崎.pdf
iotcomjpadmin
0
160
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
1.9k
Kiro を用いたペアプロのススメ
taikis
4
2.1k
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
2
3.8k
Building the Perfect Custom Keyboard
takai
1
670
What's in a price? How to price your products and services
michaelherold
246
13k
A Soul's Torment
seathinner
1
2k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
31
Darren the Foodie - Storyboard
khoart
PRO
0
2k
How to Ace a Technical Interview
jacobian
281
24k
Everyday Curiosity
cassininazir
0
110
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
So, you think you're a good person
axbom
PRO
0
1.9k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
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