Multi host container networking

Preview:

Citation preview

Multi-host Container Networking

Alfonso AcostaSoftware Engineer at Weaveworks

Outline1.Problem statement2.What's Weave?3.VM<->VM Demo4.Weave+ECS Demo

Problem statement

? ? ? ? ?

Solution space

What's WeaveworksFounded in 2014Goals:

connect, observe and control containerssimple to usedeveloper friendly

Weave passes Mårten Mickos' 15 min test - Adrian Cockroft

Not only a SDNWeave Net: Overlay container network

Not only a SDNWeave Run: IPAM, LB, SD (weaveDNS) ...

Not only a SDNWeave Scope: Container visualization

Weave Demo

Data producerwhile true; do # Get IP IP=`hostname -i | awk '{ print $1 }'` # Offer data on port 4540 echo "Hi, this is the data producer in $IP" | nc -q 0 -l -p 4540done

"HTTP" Serverwhile true; do # Get a message from a data producer DATA_PRODUCER_MESSAGE=`nc dataproducer 4540` # Render message HTML="… <h1>Chosen data producer message:<\/h1> <h2>${DATA_PRODUCER_MESSAGE}<\/h2> … " echo "$HTML" | nc -q 0 -l -p 80done

Weave+ECS Demo

Questions?@2opremiohelp@weave.works

Recommended