- Newest
- Most votes
- Most comments
To create a Savings Plan for your Fargate tasks, you should consider using a Compute Savings Plan, which offers flexibility and can provide savings of up to 50% on your Fargate usage. Here's how you can approach creating a Savings Plan for your specific scenario:
-
Calculate your total weekly Fargate usage:
- Sum up the vCPU-hours and GB-hours for all tasks
- Convert this to a per-hour average over the week
-
Use AWS Cost Explorer to analyze your usage patterns and get personalized recommendations for Savings Plans. This tool can help you determine the optimal commitment level based on your specific usage.
-
Choose between a 1-year or 3-year term. A longer term typically offers higher savings but requires a longer commitment.
-
Decide on the amount of compute usage (in dollars per hour) you want to commit to. This should be based on your consistent Fargate usage across all tasks.
-
Consider that Fargate pricing is based on vCPU and memory resources used, calculated per second with a minimum of 1 minute for Linux containers.
-
Remember that Savings Plans for Fargate apply automatically to your usage, so you don't need to specify which tasks are covered.
-
Keep in mind that your usage pattern shows variation in task duration and memory allocation. A Compute Savings Plan will give you the flexibility to cover this varied usage.
-
Start with a conservative commitment and adjust over time as you better understand your usage patterns and savings.
By following these steps and using AWS's tools to analyze your specific usage, you can create a Savings Plan that optimizes cost savings for your Fargate tasks while maintaining flexibility for your varying workloads.
Sources
Serverless Compute Engine–AWS Fargate Pricing–Amazon Web Services
Containerize .NET apps - AWS Prescriptive Guidance
Relevant content
asked 4 years ago
- AWS OFFICIALUpdated a year ago
