Skip to content

Build a Nodejs chat room app on AWS Fargate + redis using AWS CDK.

License

Notifications You must be signed in to change notification settings

enghwa/chat-websocket-fargate

Repository files navigation

Architecture:

Architecture

Current CDK script uses a dockerize Redis running on Fargate, it is not durable or HA. Challenge: Change this CDK code to adopt Amazon ElastiCache!

get nodejs

nvm install 8.12.0 

nvm alias default v8.12.0

install node modules

npm install
npm run build

show the aw resources that cdk will create

npx cdk diff

make sure your aws cli is setup (eg: aws cloudformation), deploy the aws resources

npx cdk deploy --require-approval never

remove all resources:

npx cdk destroy

About

Build a Nodejs chat room app on AWS Fargate + redis using AWS CDK.

Resources

License

Stars

Watchers

Forks