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
240
0
Share
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
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
100
Time Traveling in the Universe of Microservices and Orchestration
errordeveloper
0
130
A Practical Guide to Prometheus for App Developers
errordeveloper
1
200
A Practical Guide to Cloud-Native Java Apps & Continuous Delivery
errordeveloper
0
240
GitOps: Operations by Pull-request
errordeveloper
0
330
GitOps and TensorFlow with Weave & Kubernetes
errordeveloper
0
110
A Practical Guide to Continuous Delivery (Container Days 2017)
errordeveloper
0
130
Practical Guide to Continuous Delivery for JavaScript
errordeveloper
0
230
Other Decks in Technology
See All in Technology
レビューしきれない?それは「全て人力でのレビュー」だからではないでしょうか
amixedcolor
0
330
コミュニティ・勉強会を作るのは目的じゃない
ohmori_yusuke
0
210
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
220
最近の技術系の話題で気になったもの色々(IoT系以外も) / IoTLT 花見予定会(たぶんBBQ) @都立潮風公園バーベキュー広場
you
PRO
1
240
Rapid Start: Faster Internet Connections, with Ruby's Help
kazuho
2
540
2026年、知っておくべき最新 サーバレスTips10選/serverless-10-tips
slsops
13
5.2k
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
9
2k
MLOps導入のための組織作りの第一歩
akasan
0
330
#jawsugyokohama 100 LT11, "My AWS Journey 2011-2026 - kwntravel"
shinichirokawano
0
350
「誰一人取り残されない」 AIエージェント時代のプロダクト設計思想 Product Management Summit 2026
mizushimac
0
110
小説執筆のハーネスエンジニアリング
yoshitetsu
0
690
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
16k
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
160
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
120
Building the Perfect Custom Keyboard
takai
2
730
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The browser strikes back
jonoalderson
0
970
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
420
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
330
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Automating Front-end Workflow
addyosmani
1370
200k
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