DEV Community

Cover image for How to Deploy a Rails Application to AWS with Docker - Part 2

How to Deploy a Rails Application to AWS with Docker - Part 2

Farley Knight on February 16, 2020

Deploying Your Docker Image to AWS The last blog post showed how to create a Docker image and container locally. Verifying that a contai...
Collapse
 
andrewbrown profile image
Andrew Brown 🇨🇦

For those who want to run Dockerized Rails on AWS but don't want to figure out how to set up a deployment pipeline, one could use Elastic Beanstalk has deployment mechanisms built-in.

Elastic Beanstalk (EB) Single Container Mode actually runs on ECS so its abstracts aways the infrastructure to some degree. Also you can just include a Dockerfile, not even build the docker image and put in a repo and EB will do the rest.

Though I think If you have the knowledge, It's great to not use and use ECS directly

Collapse
 
farleyknight profile image
Farley Knight

Thanks for sharing your knowledge/ideas! This was helpful and once I learn more about Elastic Beanstalk, I'll see if I can write a post about it.