/ECS-Cost-Strategies

This is a reference architecture that shows the evolution of a Node.js application from a monolithic application that is deployed directly onto instances with no containerization or orchestration, to a containerized microservices architecture orchestrated using Amazon EC2 Container Service.

Primary LanguageShellMIT LicenseMIT

Strategies for cost driven architectures

This is a reference architecture that shows the evolution of a Node.js application from a monolithic application that is deployed directly onto instances with no containerization or orchestration, to a containerized microservices architecture orchestrated using Amazon EC2 Container Service.

Node.js Microservices Deployed on EC2 Container Service

This is a sample demonstration of how to implement strategies for implementing cost driven architectures.

In this sample, we will implement some of the strategies discussed here into a Microservices Nodejs sample application. Lets call it Old (pre-applying some of these strategies) and New/Updated(after implementing strategies).

For deployment follow steps in each folder :

Some of the common strategies are listen below :

Rightsizing:

Stop spending money on undifferentiated heavy lifting:

Match capacity with demand:

Choose right pricing model:

Expenditure and Usage Awareness:

References & More

Amazon EC2 Spot Instances Workshop - https://ec2spotworkshops.com/

Amazon ECS Workshop - https://ecsworkshop.com/

Open source tools

C3vis - https://github.com/ExpediaDotCom/c3vis

Amazon EC2 instance selector - https://github.com/aws/amazon-ec2-instance-selector

AWS Well Architected cost optimization labs - https://www.wellarchitectedlabs.com/cost/

3rd party CUDOS Workshop - https://cudos.workshop.aws/