This document discusses using Weave networking with Amazon ECS containers. Weave provides networking and other services like load balancing and visualization for containers. It can integrate with ECS by using a Weave AMI. The future work section mentions lifting some AutoScaling limitations and improving data path performance.
5. What's Weaveworks
Founded in 2014
Goals:
connect, observe and control containers
simple to use
developer friendly
Weave passes Mårten Mickos' 15 min test
- Adrian Cockroft
6. Not only a SDN
Weave Net: Overlay container network
7. Not only a SDN
Weave Run: IPAM, LB, SD (weaveDNS) ...
8. Not only a SDN
Weave Scope: Container visualization
13. 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
14. "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