weaving containers in amazon's ecs

Post on 12-Jan-2017

80 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Weaving containers in Amazon's ECS

Alfonso AcostaSoftware Engineer at Weaveworks

Outline1.Problem statement2.What's Weave?3.What's ECS?4.Weave+ECS5.Future work

Problem statement

No ELBs No config

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

ECS

ECS

? ?

ECS+Weave

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

Scope 'Cloud' (private beta)

Future workLift AutoScaling group limitationEasily join Autoscaling Groups/CloudsFast Data Path (Open vSwitch support) ✓

RecapWeave provides a SDN but also

IPAMLoad BalancingService DiscoveryVisualization

You can use Weave's AMI to integrate Weave in Amazon's ECS

Questions?@2opremiohelp@weave.works

Presentation based onWeave's ECS Guide

top related