How to generate and deploy Docker containers to Elastic Beanstalk

January 24, 2017

How to generate and deploy Docker containers to Elastic Beanstalk

AWS Elastic Beanstalk allows you to deploy and manage your applications in a quick and easy way. The only thing you need to deal with is deploying the app to the service. Other things, like infrastructure, running and scaling, are handled entirely on its side.

Getting started with Elastic Beanstalk is easy: you just create the app, upload the source bundle (eg. a Java .war file) to EB, then provide some details about the application. AWS will automatically launch an environment with resources and configuration tailored for your application to which you can deploy new app versions.

Elastic Beanstalk workflowElastic Beanstalk workflow

The ease of use resulted in massive popularity boost to PaaS services like AWS EB, Heroku and Google App Engine among developers. When Docker appeared, everything has changed, making the delivery process even simpler and more flexible. That’s why AWS quickly decided to introduce Docker support to Elastic Beanstalk.

Two types of apps were added:

  • Single Docker Container
  • Multi Docker Container

The type we choose depends on the architecture of our application. Buddy lets you easily automate the process of building and delivering both types of apps.

Below you'll find detailed instructions how to configure the apps in AWS EB and how to create a pipeline that will deploy your apps with Buddy:

If you need any help configuring your pipeline, just let us know on the Buddy Chat or drop a line to


Alexander Kus

Alexander Kus

Customer Success Manager

A story-teller and conversation-lover, Alexander decided to invest his skills to help his friends at Buddy transform the cold language of patch notes into exciting narratives. Also: an avid gamer, hip-hop DJ, Liverpool FC fan, absentminded husband, and the father of two.