How to generate and deploy Docker containers to Elastic Beanstalk

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.

Image loading...Elastic 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 support@buddy.works

Jarek Dylewski

Jarek Dylewski

Customer Support

A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.

Jan 24th 2017
Share