Deploy React NextJS project into ECS

Опубликовано: 18 Март 2026
на канале: Computing Power
7,473
135

In this video, we are going to deploy a React and NextJS project into AWS ECS using Docker.
We will also use a Load Balancer with HTTPS and a custom domain for our project.
When configuring the ECS service, it was required to read environment variables on the project as well, which is one of the challenges we overcame in this video.

0:00 - Introduction
0:28 - Code changes (NextJS config file, env vars and refactoring)
3:20 - Dockerfile
4:35 - Create ECR image
6:58 - Setup ECS cluster
8:00 - Create Task definition
13:55 - Create ECS Service
18:45 - Tips for failed services
19:35 - Setup subdomain on Route53
21:43 - Test project
22:29 - Conclusion