Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

danielfyhr/ecs-node-server

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECS node server

A node server deployed on AWS ECS with Application Load Balancer and Fargate. Infrastructure managed with CDK. Uses the ApplicationLoadBalancedFargateService construct.

Deployment

You need CDK installed (npm install -g aws-cdk)

npm install -g aws-cdk

The docker image is built as a part of the deployment. I'm pretty sure you need to have docker cli.

Commands

run npm install and then you can do

  • npm run deploy Does everything! Compiles ts to js, builds docker image and deploys the service!
  • npm run build Compiles ts to js
  • npm run test runs unit tests on the CDK-stack

Accessing the service

Public url is an output from the CloudFormation stack. You will see it in the output after running npm run deploy. Open the link in a browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.