Deploy React NextJS project into ECS

Published: 16 January 2024
on channel: 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


On this page of the site you can watch the video online Deploy React NextJS project into ECS with a duration of hours minute second in good quality, which was uploaded by the user Computing Power 16 January 2024, share the link with friends and acquaintances, this video has already been watched 7,473 times on youtube and it was liked by 135 viewers. Enjoy your viewing!