How do vCPU-based quotas benefit me?

0

Hello. Now I am using fargate cluster and running my task using task definition. So I use 4vCPU and 8Gb of memory. As I understand each task uses the full capacity of fargate like 4*8 and I can run up to 100 tasks in one moment. (but in my case I run approx 1-5 tasks)

I visited the Quotas page and saw:

  • Fargate On-Demand resource count = 0
  • Fargate On-Demand vCPU resource count = 4,000
  • Fargate Spot resource count = 0
  • Fargate Spot vCPU resource count = 4,000

What about innovation? Can anybody explain what happened with the productivity of my task in November using my case?

asked a year ago422 views
1 Answer
1
Accepted Answer

Amazon EC2 instances support multithreading, which enables multiple threads to run concurrently on a single CPU core. Each thread is represented as a virtual CPU (vCPU) on the instance. An instance has a default number of CPU cores, which varies according to instance type. For example, an m5.xlarge instance type has two CPU cores and two threads per core by default—four vCPUs in total.

Each vCPU is a thread of a CPU core, except for T2 instances and instances powered by AWS Graviton2 processors.

Prior to the vCPU-based quota change [1], the CPU units hard limit for Fargate tasks was 4096 (see documentation archive from June/July: [3]); since then we have added support for higher CPU units for Fargate tasks, given that the new vCPU limit is enabled. The new supported CPU values are 8192 (8 vCPU) and 16384 (16 vCPU), as noted in our current documentation [4a][4b].

The vCPU-based quotas will allow you to launch at least the same number of task or pods as you do today with task and pod count-based quotas. Your new vCPU-based quotas can be viewed on the Service Quotas console. The migration to vCPU quotas will not have any impact on your running tasks and pods.

[1] https://aws.amazon.com/blogs/containers/migrating-fargate-service-quotas-to-vcpu-based-quotas/

[2] https://aws.amazon.com/fargate/faqs/#Fargate_vCPU-based_Service_Quotas

[3]https://web.archive.org/web/20220627082836/https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html

[4a] https://aws.amazon.com/about-aws/whats-new/2022/09/aws-fargate-increases-compute-memory-resource-configurations-4x/

[4b] https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size

[5] https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#fargate-quotas

profile pictureAWS
EXPERT
answered a year ago
profile picture
EXPERT
reviewed 24 days 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.

Guidelines for Answering Questions