Search code examples
amazon-web-servicesamazon-ec2aws-fargatevcpu

What is vCPU in AWS


In AWS service, I see a section in ECS Fargate for vCPU which is choosable from 0.25 to N value,
I see lots of documentation on How to configure these vCPU value
but I didn't see any doc on the difference between the values of vCPU

Example :

what is the difference between 0.25, 0.5 and 1 vCPU value ? How does it differ by performance and number of threads?


Solution

  • what is the difference between 0.25, 0.5, and 1 vCPU value?

    It means that you're using a shared CPU where you will get only the amount you have selected as dedicated just like in virtual environments and virtual machines. So, 0.25 vCPU means that you will get dedicated 25% of 1 vCPU.

    How does it differ by performance and number of threads?

    AWS Fargate is a launch mode for AWS ECS which is based on AWS EC2, so whatever the vCPU and threads mean in AWS EC2, it is going to mean the same in AWS ECS.

    A similar question has been asked before so you can check out the answer to that question here: What vCPUs in Fargate really mean?