Deploy Docker project in ElasticBeanstalk

Опубликовано: 21 Май 2026
на канале: Computing Power
14,516
175

PS: ElasticBeanstalk console now looks a bit different since AWS updated it, but the core concepts are still the same

In this video, you will learn how to deploy a Docker project in ElasticBeanstalk and you will also learn how to solve the most common problems that happen in the process:
Timeout due to big Dockerfiles
Using ECR to create a preconfigured Docker image
Handling different architectures: ARM64 and X86
Grant IAM permissions for ElasticBeanstalk to pull the ECR image

The project was a NestJS(NodeJS) project using Yarn to manage packages. One of the packages was 'bcrypt', which is a library to manage user password encryption, which requires Python3 to be installed on the machine.

Helpful links:
https://docs.aws.amazon.com/elasticbe...
https://docs.aws.amazon.com/elasticbe...


0:00 - Introduction
1:30 - Create ElasticBeanstalk project
5:55 - Upload zipped code to ElasticBeanstalk
7:54 - Solving timeout issue
10:12 - Create ECR project
14:40 - Using ECR into Dockerfile
15:00 - Zip updated project and upload to ElasticBeanstalk
16:20 - Observations related to ARM64/X86 architecture
18:20 - Grant IAM permissions for ECR
19:55 - Conclusion