AWS Adds Docker Support to Elastic Beanstalk

Joe PerksTechnical TipsLeave a Comment

Container Ship

Today Amazon announced and deployed Docker support for Elastic Beanstalk, Amazon Web Service’s Platform as a Service offering. This brings the supported platforms to the following list: Node.JS, PHP, Python, .NET, Java, Ruby and Docker.

Now it is easier than ever to deploy onto AWS your Docker backed application at any scale, from a single instance on up. From the AWS blog post:

“To use an image with Elastic Beanstalk, you will create a file called Dockerrun.aws.json. This file specifies the image to be used and can also set up a port to be exposed and volumes to be mapped in to the container from the host environment. If you are using a private Docker image, you will also need to create a .dockercfg file, store it in Amazon S3, and reference it from the Authentication section of Dockerrun.aws.json.”

A single dockerfile of standard (Docker) format can also be uploaded, or if your Docker backed application requires external files, Elastic Beanstalk for Docker will also accept a ZIP that wraps your external files and either a docker file or Dockerrun.aws.json.

Leave a Reply

Your email address will not be published. Required fields are marked *