Docker posts

Craft Conf and Force12.io

10 May 2015   docker, aws, commoncrawl, wikireverse, force12

2 weeks ago I was leaving Budapest after a fun week with two of my colleagues. We were attending Craft Conf, which is a 2-day multi track conference on software craftsmanship.

In Budapest I was also working with Anne on Force12.io which we’re launching this Thursday (14th May). Force12 is a container scheduler that provides auto scaling. On Thursday we’re launching a demo of Force12 running on EC2 Container Service.

Hello World in EC2 Container Service

31 Mar 2015   docker, ruby, aws

EC2 Container Service (ECS) is a new AWS deployment option for Docker containers. It was launched at the AWS Re-Invent conference in November 2014. Its still in a limited preview and its not yet in the AWS web console so you have to use the AWS CLI.

The first half of this post compares the Docker support in ECS and Elastic Beanstalk. The second half shows how to deploy a simple Hello World app to ECS. The Hello World example consists of 2 Docker containers. The client creates a JSON message and posts it to a SQS queue. The server polls the queue for messages and outputs the contents to stdout. The example is written in Ruby and split into 2 so you can see how multiple containers can be deployed to the same EC2 instance.

Running a Rails app on Docker using the Passenger image

06 Mar 2015   docker, ruby

This is a 2-part post on getting a Rails app running on Docker using the Passenger image from Phusion. This first part covers setting up a development environment using Docker Compose (formerly called Fig) and boot2docker. The second part will cover deploying the Rails app as a container to AWS using Elastic Beanstalk.

Page: 1 of 2