AWS Fargate may actually be good for your (company’s) wallet.

When AWS Fargate launched, there was a wide consensus that the pricing was too high, with the move seen as AWS choosing to target companies wanting to run container workloads without Kubernetes. However, with the advent of AWS EKS backed by Fargate Profiles, and ECS with Fargate Spot compatibility, you may wish to consider this product once more.

Since nobody else has made a basic pricing table for my region (ap-northeast-1, Tokyo), I’ll share this with you below. (No guarantee on the pricing being correct now, or in the future though!)

For workloads, it may be worth considering Fargate Spot for things such as CI builds, extra scaling above base load and asynchronous data transformation. Normal Fargate for critical workloads such as non-idempotent processing of data. With a guarantee of 99.99% uptime, this may be an excellent option for your next compute project.

But why should I use Fargate?

As of right now, the most common way to provide Compute on AWS is via EC2 instances. However, this comes with a tradeoff between you and AWS, which is that you are entirely responsible for:

  • capacity for autoscaling
  • optimisation of your instance types (choosing the right size)
  • orchestration technology (including attempting to reduce overhead)
  • security, networking, and maintenance

But with Fargate, you do not have to worry about most of these things.

  • Fargate has virtually unlimited capacity (depending on account limits and whether you choose Fargate Spot).
  • No underlying nodes to worry about, you choose a CPU/Memory combo and that’s what you get served.
  • You can use Fargate with EKS for the benefit of Kubernetes, and never run node groups in EC2, meaning your base load can be 0, resulting in a further reduction of costs.
  • Security, networking and maintenance are all handled by AWS. For instance, during the Spectre/Meltdown incidents, AWS patched Fargate, but anyone running shared workloads on EC2 was left to orchestrate and perform a patch to their fleets manually.
  • As mentioned previously, AWS guarantees Fargate availability to 99.99%.
  • The massive amount of engineer time saved by using a solution like Fargate cannot be measured. That’s up to how you or your organisation works.

Pricing Chart (for Tokyo)


ap-northeast-1
CPU/hrMemory/hrTotal per 1hr buildTotal MonthlySpot CPU/hrSpot Memory/hrSpot Total per 1hr buildSpot Total Monthly
0.25CPU/0.5GB0.012640.0027650.01540511.245650.00382933750.000837670.00466700753.406915475
0.25CPU/1GB0.012640.005530.0181713.26410.00382933750.001675340.00550467754.018414575
0.25CPU/2GB0.012640.011060.023717.3010.00382933750.003350680.00718001755.241412775
0.5CPU/1GB0.025280.005530.0308122.49130.0076586750.001675340.0093340156.81383095
0.5CPU/2GB0.025280.011060.0363426.52820.0076586750.003350680.0110093558.03682915
0.5CPU/3GB0.025280.016590.0418730.56510.0076586750.005026020.0126846959.25982735
0.5CPU/4GB0.025280.022120.047434.6020.0076586750.006701360.01436003510.48282555
1CPU/2GB0.050560.011060.0616244.98260.015317350.003350680.0186680313.6276619
1CPU/3GB0.050560.016590.0671549.01950.015317350.005026020.0203433714.8506601
1CPU/4GB0.050560.022120.0726853.05640.015317350.006701360.0220187116.0736583
1CPU/5GB0.050560.027650.0782157.09330.015317350.00837670.0236940517.2966565
1CPU/6GB0.050560.033180.0837461.13020.015317350.010052040.0253693918.5196547
1CPU/7GB0.050560.038710.0892765.16710.015317350.011727380.0270447319.7426529
1CPU/8GB0.050560.044240.094869.2040.015317350.013402720.0287200720.9656511
2CPU/4GB0.101120.022120.1232489.96520.03063470.006701360.0373360627.2553238
2CPU/5GB0.101120.027650.1287794.00210.03063470.00837670.039011428.478322
2CPU/6GB0.101120.033180.134398.0390.03063470.010052040.0406867429.7013202
2CPU/7GB0.101120.038710.13983102.07590.03063470.011727380.0423620830.9243184
2CPU/8GB0.101120.044240.14536106.11280.03063470.013402720.0440374232.1473166
2CPU/9GB0.101120.049770.15089110.14970.03063470.015078060.0457127633.3703148
2CPU/10GB0.101120.05530.15642114.18660.03063470.01675340.047388134.593313
2CPU/11GB0.101120.060830.16195118.22350.03063470.018428740.0490634435.8163112
2CPU/12GB0.101120.066360.16748122.26040.03063470.020104080.0507387837.0393094
2CPU/13GB0.101120.071890.17301126.29730.03063470.021779420.0524141238.2623076
2CPU/14GB0.101120.077420.17854130.33420.03063470.023454760.0540894639.4853058
2CPU/15GB0.101120.082950.18407134.37110.03063470.02513010.055764840.708304
2CPU/16GB0.101120.088480.1896138.4080.03063470.026805440.0574401441.9313022
4CPU/8GB0.202240.044240.24648179.93040.06126940.013402720.0746721254.5106476
This is a sample ap-northeast-1 Fargate pricing table.
Prices will not be updated, but should be current as of July 19th, 2020.
No guarantees on data accuracy or effectiveness.