72. How do you save cost with ECS?

72. How do you save cost with ECS?

1.287 Lượt nghe
72. How do you save cost with ECS?
AWS ECS is a powerful service that allows you to run containerized applications at scale. It's suitable for a variety of use cases, including web applications, microservices, and background processing. In this episode, we'll provide an introduction to the main concepts of ECS and then dive into cost-optimization strategies. We'll explore the different options for running containers on ECS, including EC2, Fargate, and ECS Anywhere. We'll discuss various opportunities for saving money, such as using Arm (Graviton) instances, Spot instances, Compute Savings Plans, and RIs or EC2 Saving Plans. Finally, we'll cover how to set up ECS to use Spot instances, including how to create capacity providers and specify a capacity provider strategy. We'll also discuss whether it's always best to use EC2 instead of Fargate for cost optimization and recommend some tools that can help you find other opportunities to save on container costs. 💰 SPONSORS 💰 AWS Bites is sponsored by fourTheorem (https://fourtheorem.com). fourTheorem is an AWS Consulting Partner offering training, cloud migration, and modern application architecture. 🔖 Chapters: 00:00 Intro 01:09 Intro to ECS and the main concepts around it 04:32 How does ECS work (EC2-based and serverless mode with Fargate) 06:41 Ideas to save on cost with ECS (Gravitron, Spot instances, Compute saving plans, Reserved instances, ECS Anywhere) 11:15 Can you mix cost-saving strategies? 11:40 Is EC2 the most convenient option? 13:05 How to set up ECS to use Spot Instances? 17:30 Can I just use Spot for everything?! How does spot even work? 18:45 Other cost items to consider & tools 20:50 Closing notes In this episode, we mentioned the following resources: - Saving Plan calculator: https://aws.amazon.com/savingsplans/compute-pricing/ - EC2 instance selector: https://github.com/aws/amazon-ec2-instance-selector - Spot prices dashboard by Vantage: https://instances.vantage.sh/ - Fargate Right Sizing dashboard: https://github.com/mreferre/container-insights-custom-dashboards/tree/master/fargate-right-sizing - AWS Cost Explorer rightsizing recommender for EC2: https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html You can listen to AWS Bites wherever you get your podcasts: - Apple Podcasts: https://podcasts.apple.com/us/podcast/aws-bites/id1585489017 - Spotify: https://open.spotify.com/show/3Lh7PzqBFV6yt5WsTAmO5q - Google: https://podcasts.google.com/feed/aHR0cHM6Ly9hbmNob3IuZm0vcy82YTMzMTJhMC9wb2RjYXN0L3Jzcw== - Breaker: https://www.breaker.audio/aws-bites - RSS: ​​https://anchor.fm/s/6a3312a0/podcast/rss Do you have any AWS questions you would like us to address? Leave a comment here or connect with us on Twitter: - https://twitter.com/eoins - https://twitter.com/loige #AWS #ECS #cost