How we saved 90% of costs by moving from AWS Lambda to AWS Fargate

 

How we saved 90% of costs by moving from AWS Lambda to AWS Fargate

 

AWS Fargate is a technology that you can use with Amazon ECS to run containers without managing servers or clusters of Amazon EC2 instances as a must. With Fargate, you no longer have to provision, configure, or scale clusters of virtual machines to run containers. This removes the need to choose server types, decide when to scale your clusters, or optimize cluster packing.
 
AS IS
 
 
 
TO BE

  • being able to make this transition as quickly as possible 🚀
  • not taking responsibility for maintenance, it should be a managed service ⚒️
  • cost 💸
  • The provisioning time of the task is under 10 seconds. It enables us to scale up/down your services quickly — It may change based on the image, but since we have a lightweight image it does not take that much time.
  • Enhanced monitoring.
  • Autoscaling policies based on various metrics — Even though we were having and will have spikes during peak seasons, it is not a problem anymore. AWS support center has a good article about auto-scaling — Configure Amazon ECS Service Auto Scaling on Fargate
 
 
Read more: on Medium 

Credit: Emre Kaya

Comments