This project demonstrates how to run two simple Node.js apps using Fargate via ECS and AWS Lambda with SST v3 to showcase CloudWatch's Application Signals.
To run this application, follow these steps:
- Ensure you have Node.js installed on your system.
- Clone this repository to your local machine.
- Install the dependencies by running
pnpm iin the project root directory. - Provision the infrastructure via
pnpm run sst:deploy:dev. - Invoke either ECS or Lambda via the provided NX commands, e.g.
INVOKE_PATH=/lambda pnpm run invoke:ecs:dev - Open the CloudWatch console to explore your Application Map!
To avoid unexpected charges, remove all resources when done by running:
pnpm run sst:remove:devFor more AWS fundamentals content and resources:
- Visit our blog at awsfundamentals.com/blog
- Check out our other projects on GitHub at awsfundamentals-hq