weaving containers in amazon's eca

Post on 12-Jan-2017

839 Views

Category:

Business

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 Weaveworks

Founded in 2014Goals:

connect, observe and control containerssimple to usedeveloper friendly

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

Not only a SDN

Weave Net: Overlay container network

Not only a SDN

Weave Run: IPAM, LB, SD (weaveDNS) ...

Not only a SDN

Weave Scope: Container visualization

Weave Demo

ECS

ECS

? ?

ECS+Weave

Data producer

while 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 4540

done

"HTTP" Server

while 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 80

done

Weave+ECS Demo

Scope 'Cloud' (private beta)

Future work

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

Recap

Weave provides a SDN but alsoIPAMLoad BalancingService DiscoveryVisualization

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

Questions?

@2opremiohelp@weave.works

Presentation based on

Weave's ECS Guide

top related