Create a simple web frontend app that displays the hostname of the server it’s running on and a version number on a web UI. (ie ‘node-01’, version 1.0).
- Dockerize the above app and host in Amazon ECS
- Use a load balancer to distribute requests among 2 or more containers.
- Use ECS Service to manage task deployment.
- This should all be done as Infrastructure-as-code (choose from Terrafrom, Cloudformation, AWS SDK/CDKs)
- node
- terraform
- aws cli
- docker
- Clone this repository
git clone https://github.com/Oyoh-Edmond/simpleNodejsApp-ECS.git
- Initial npm and install packages
npm init npm install
- Run application
npm start