Skip to content

Savings plan on Fargate

0

Hello, I have 4 weekly running tasks on ECS using Fargate:

1st task: 8 vCPU, 60GB memory for 3h35min

2nd task: 8 vCPU, 16GB memory for 16min

3rd task: 8 vCPU, 32GB memory for 2h33min

4th task: 8 vCPU, 16GB memory for 16min

How to create a savings plan accordingly?

asked 2 years ago1.2K views

1 Answer
0

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:

  1. 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
  2. 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.

  3. Choose between a 1-year or 3-year term. A longer term typically offers higher savings but requires a longer commitment.

  4. 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.

  5. Consider that Fargate pricing is based on vCPU and memory resources used, calculated per second with a minimum of 1 minute for Linux containers.

  6. Remember that Savings Plans for Fargate apply automatically to your usage, so you don't need to specify which tasks are covered.

  7. 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.

  8. 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

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.