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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ilya Dmitrichenko
May 10, 2016
Technology
230
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
OPENLOGI Company Profile for engineer
hr01
1
61k
パワポ作るマンをMCP Apps化してみた
iwamot
PRO
0
260
Bref でサービスを運用している話
sgash708
0
220
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
140
AI時代のIssue駆動開発のススメ
moongift
PRO
0
320
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
kaomi_wombat
0
280
Kubernetesの「隠れメモリ消費」によるNode共倒れと、Request適正化という処方箋
g0xu
0
170
第26回FA設備技術勉強会 - Claude/Claude_codeでデータ分析 -
happysamurai294
0
200
トイルを超えたCREは何屋になるのか
bengo4com
0
110
Embeddings : Symfony AI en pratique
lyrixx
0
430
不確実性と戦いながら見積もりを作成するプロセス/mitsumori-process
hirodragon112
1
160
Podcast配信で広がったアウトプットの輪~70人と音声発信してきた7年間~/outputconf_01
fortegp05
0
140
Featured
See All Featured
Building an army of robots
kneath
306
46k
Color Theory Basics | Prateek | Gurzu
gurzu
0
270
エンジニアに許された特別な時間の終わり
watany
106
240k
A designer walks into a library…
pauljervisheath
210
24k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
190
The Spectacular Lies of Maps
axbom
PRO
1
660
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
Darren the Foodie - Storyboard
khoart
PRO
3
3.1k
Embracing the Ebb and Flow
colly
88
5k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
350
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
780
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
120
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