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
200
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
88
Time Traveling in the Universe of Microservices and Orchestration
errordeveloper
0
92
A Practical Guide to Prometheus for App Developers
errordeveloper
1
170
A Practical Guide to Cloud-Native Java Apps & Continuous Delivery
errordeveloper
0
140
GitOps: Operations by Pull-request
errordeveloper
0
250
GitOps and TensorFlow with Weave & Kubernetes
errordeveloper
0
84
A Practical Guide to Continuous Delivery (Container Days 2017)
errordeveloper
0
97
Practical Guide to Continuous Delivery for JavaScript
errordeveloper
0
210
Other Decks in Technology
See All in Technology
20240911_New_Relicダッシュボード活用例
speakerdeckfk
0
110
watsonx.ai Dojo 環境準備について
oniak3ibm
PRO
0
350
ナレッジグラフとLLMの相互利用
koujikozaki
0
430
ネットワークだけ隔離されたコンテナ作成デモ / Kichijoji.pm36
tenforward
1
250
学術機関におけるID連携とOpenID Connect
fujie
0
310
OCI で始める!! Red Hat OpenShift / Get Started OpenShift on OCI
oracle4engineer
PRO
1
190
Kubernetesって何? -大規模なKubernetesを運用するKubernetes as a Serviceチームの話を添えて-
lycorptech_jp
PRO
0
320
不動産tech Product Night#2_AIことはじめ_GA橋本
takehikohashimoto
0
190
Technical Writing Meetup vol.35
soracom
PRO
2
130
あなたの知らないiOS開発の世界
recruitengineers
PRO
3
190
持続可能なソフトウェア開発を支える『GitHub CI/CD実践ガイド』
tmknom
8
1.4k
JTCや セキュリティチェックリストが夢の跡
nikinusu
1
790
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
459
32k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
For a Future-Friendly Web
brad_frost
174
9.3k
The Pragmatic Product Professional
lauravandoore
31
6.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
3k
Happy Clients
brianwarren
96
6.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
43
2k
No one is an island. Learnings from fostering a developers community.
thoeni
18
2.9k
Git: the NoSQL Database
bkeepers
PRO
425
64k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
RailsConf 2023
tenderlove
28
810
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
166
48k
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