DEV Community

Cover image for Deploying a Node.js App on ECS and Fargate 3Tier architecture
ProsperAgada
ProsperAgada

Posted on

Deploying a Node.js App on ECS and Fargate 3Tier architecture

Image descriptionAfter completing an exciting workshop (deploying a 3tier application ) frontend written in react, backend written in node.js and RDS MySQL instance as database.. So I decided to take a step further to make it more exciting and challenging by containerizing the frontend and backend with docker and running it on ECS cluster and Fargate.
In this article i will be demonstrating how i deployed the application on ECS 3tier architecture with Fargate.
If you are new to docker and containerization i will like to refer you to this vivid video by nana janashia.

This are the following steps to follow.

  1. push code to github
  2. setup cloud 9 or AWS CLI
  3. setup security group
  4. setup MySQL database
  5. setup ECR
  6. setup ECS

Step 1:
Pushing code to github
Image description
Step 2:
Login the AWS Management console and Setup AWS Cloud 9 Environment.

Image description
Image description
Image description
Image description
Image description
Image description
Image description
Image description
Image description
Image description
Image description
Image description
Image description

Top comments (0)