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
200
An Introduction to Prometheus for App Developers
errordeveloper
0
110
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
250
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
140
Practical Guide to Continuous Delivery for JavaScript
errordeveloper
0
230
Other Decks in Technology
See All in Technology
データモデリング通り #5オンライン勉強会: AIに『ビジネスの文脈』を教え込むデータモデリング
datayokocho
0
270
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
100k
クラウドネイティブ DB はいかにして制約を 克服したか? 〜進化歴史から紐解く、スケーラブルアーキテクチャ設計指針〜
hacomono
PRO
6
960
AI対話分析の夢と、汚いデータの現実 Looker / Dataplex / Dataform で実現する品質ファーストな基盤設計
waiwai2111
0
510
古今東西SRE
okaru
2
190
AIの揺らぎに“コシ”を与える階層化品質設計
ickx
0
280
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
260
Purview Endpoint DLP 動かしてみた
kozakigh
0
390
AIエージェントの支払い基盤 AgentCore Payments概要
kmiya84377
2
180
ESP32 IoTを動かしながらメモリ使用量を観測してみた話
zozotech
PRO
0
110
フロントエンドの相手が変わった - AIが加わったWebの新しいインターフェース設計
azukiazusa1
33
11k
AIのための特別なアーキテクチャはいらない 0→1開発で実践した設計原則とガードレール
kaminashi
0
110
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
920
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
910
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
300
Building an army of robots
kneath
306
46k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
So, you think you're a good person
axbom
PRO
2
2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
330
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