Some readings for today.
HAProxy as a static reverse proxy for Docker containers
You can’t have lots of containers listening on the same public port 80, so you have to have your containers listening on some random port like 4553, 4566, 4333 etc. But your site’s visitors are coming to port 80 so you need to somehow listen to port 80 and forward requests to the right Docker container on the right port.
There are several ways to do this and I started out with Nginx as a reverse proxy. This works fine but I don’t want a web server doing that. I’ve used HAProxy in the past for load balancing. And it is actually just what I need, a load balancer is made for forwarding requests.
Read more at http://oskarhane.com/haproxy-as-a-static-reverse-proxy-for-docker-containers/
Auto-loadbalancing with Fig, HAProxy and SERF
http://www.centurylinklabs.com/auto-loadbalancing-with-fig-haproxy-and-serf/
Shipyard
Management from a Single View
Shipyard gives you the ability to manage Docker resources including containers, images, hosts, and more all from a single management interface.Multi-Host Support
Shipyard can manage multiple Docker hosts giving the flexibility to build redundant, highly available applications.Container Metrics
Shipyard monitors and reports container metrics such as CPU and Memory utilization.
SERF, from hashicorp, the creators of Vagrant
A decentralized solution for service discovery and orchestration that is lightweight highly available, and fault tolerant.
CoreOS
CoreOS is a new Linux distribution that has been rearchitected to provide features needed to run modern infrastructure stacks. The strategies and architectures that influence CoreOS allow companies like Google, Facebook and Twitter to run their services at scale with high resilience. We’ve implemented them correctly so you don’t have to endure the slow, learn-as-you-go infrastructure building process.
Today we’re excited to announce that official CoreOS images are available on Google Compute Engine. This means it’s now even easier to spin up a CoreOS cluster on GCE using the API or from the command line. Adding an instance is as simple as: