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
220
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
170
An Introduction to Prometheus for App Developers
errordeveloper
0
95
Time Traveling in the Universe of Microservices and Orchestration
errordeveloper
0
110
A Practical Guide to Prometheus for App Developers
errordeveloper
1
180
A Practical Guide to Cloud-Native Java Apps & Continuous Delivery
errordeveloper
0
200
GitOps: Operations by Pull-request
errordeveloper
0
300
GitOps and TensorFlow with Weave & Kubernetes
errordeveloper
0
92
A Practical Guide to Continuous Delivery (Container Days 2017)
errordeveloper
0
110
Practical Guide to Continuous Delivery for JavaScript
errordeveloper
0
220
Other Decks in Technology
See All in Technology
全部AI、全員Cursor、ドキュメント駆動開発 〜DevinやGeminiも添えて〜
rinchsan
2
2.2k
SRE不在の開発チームが障害対応と 向き合った100日間 / 100 days dealing with issues without SREs
shin1988
2
1.5k
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
1
540
「クラウドコスト絶対削減」を支える技術—FinOpsを超えた徹底的なクラウドコスト削減の実践論
delta_tech
4
190
NewSQLや分散データベースを支えるRaftの仕組み - 仕組みを理解して知る得意不得意
hacomono
PRO
3
230
AWS CDKの仕組み / how-aws-cdk-works
gotok365
10
890
TableauLangchainとは何か?
cielo1985
1
150
microCMSではじめるAIライティング
himaratsu
0
120
20250707-AI活用の個人差を埋めるチームづくり
shnjtk
6
4.1k
AWS CDK 開発を成功に導くトラブルシューティングガイド
wandora58
3
170
スタックチャン家庭用アシスタントへの道
kanekoh
0
110
第64回コンピュータビジョン勉強会「The PanAf-FGBG Dataset: Understanding the Impact of Backgrounds in Wildlife Behaviour Recognition」
x_ttyszk
0
170
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
A designer walks into a library…
pauljervisheath
207
24k
The Pragmatic Product Professional
lauravandoore
35
6.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
700
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Raft: Consensus for Rubyists
vanstee
140
7k
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