weave - containers across clouds - edinburgh docker meetup, july 2015

27
Containers Across Clouds Fintan Ryan Weaveworks Contact: [email protected] @weaveworks

Upload: weaveworks

Post on 15-Aug-2015

72 views

Category:

Technology


0 download

TRANSCRIPT

Containers Across Clouds!

!Fintan Ryan!

!Weaveworks!

!Contact:!

[email protected]!@weaveworks!

Containers!

Containers!

• Easy to use !• Single Purpose environment!!

Single Host!

Containers!

• Easy to use !• Single Purpose environment!!

• But: non trivial once you move beyond a single host and applications need networking and other tooling!

Multi Host!

Weave!•  What? Portable application clusters made easy!

•  How? Service discovery & address automation via a secure, application orientated virtual container network!

•  Write the application and get the networking to do what you need not vice versa!

•  Minimum configuration, it just works !

•  Containers do not require specialist knowledge of other containers to connect to each other!

Weave Info!•  Launched Sept 2014!

•  Founders previously founded RabbitMQ!

•  Current release (1.0.1) launched in June 2015!

•  Cumulative 140K Downloads of github releases!

•  300K Weavetools containers / 1M+ since launch!

•  ~3550 Stars on Github!

https://github.com/weaveworks/weave!

!

!

Weave!

•  Connect services across hosts!

•  Across data centres!

•  Across clouds!

Weave!

•  Connect services across hosts!

•  Across data centres!

•  Across clouds!

With the same interface and !

no application changes!

Weave Net!

Single Host!

Multiple Hosts!

Multiple Clouds!

Weave Run!

Weave Run!•  Service Discovery, Automatic IP Address Allocation

and Management, Load Balancing and DNS for containers!

•  All part of Weave!

•  nothing to configure!

•  nothing to maintain!

•  no change request to submit when you need a new name…. !

Weave Run!•  Just launch your containers with a hostname using

regular docker commands!

•  Weaves functionality will do the rest!

•  Application is addressable by a known hostname!

•  Weave can do simple round robin load balancing efficiently as you are in a constrained network!

•  Easy to query via dig for information that load balancers or other tools may need!

In Practice?!

•  Install Weave!

sudo curl -L git.io/weave -o /usr/local/bin/weave sudo chmod a+x /usr/local/bin/weave!

•  Launch Weave!

"weave launch [-initpeercount x] !

In Practice?!

"eval $(weave proxy-env) "!

"docker run –d –h foo.weave.local your/container !

"docker run –d –h bar.weave.local my/container!

Upcoming!•  Fast Data Path 1.0!

•  In kernel data path!

•  Weave Scope!

•  Further work on Docker Plugins!

•  …. your suggestions? pull requests?!

!

Weave Works With!

Weave Works With!

Demo Time!!!

What could go wrong? J !

Demo!

Weave Scope!

Weave Scope!

•  Visualise your containers!

•  Quick demo?!

!

!Thank You!!

!Questions?!

@weaveworks / @fintanr!!

Get Involved!https://github.com/weaveworks/weave!

!Talk to Us!

[email protected]!@weaveworks!

#weaveworks on Freenode!!!