YouTube Video Link: https://youtu.be/0A_JpLYG7hM Whiteboard Diagram: https://app.eraser.io/workspace/0f8XnDF61iGcatypPqIR?origin=share
- Node.js: Master NodeJS Playlist
- Redis: Redis Crash Course
- Learn Docker:
- Part 1: Docker in One Shot - Part 1
- Part 2: Docker in One Shot - Part 2
- Docker with AWS ECS and ECR: Real World Docker Deployments with AWS
This Project contains following services and folders:
api-server
: HTTP API Server for REST API'sbuild-server
: Docker Image code which clones, builds and pushes the build to S3s3-reverse-proxy
: Reverse Proxy the subdomains and domains to s3 bucket static assets
- Run
npm install
in all the 3 services i.e.api-server
,build-server
ands3-reverse-proxy
- Docker build the
build-server
and push the image to AWS ECR. - Setup the
api-server
by providing all the required config such as TASK ARN and CLUSTER arn. - Run
node index.js
inapi-server
ands3-reverse-proxy
At this point following services would be up and running:
S.No | Service | PORT |
---|---|---|
1 | api-server |
:9000 |
2 | socket.io-server |
:9002 |
3 | s3-reverse-proxy |
:8000 |