-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering Elastic Kubernetes Service on AWS
By :

Fargate has a simple pricing model based on the duration for which you use the MicroVM/Pod (per-second granularity) and the vCPU/RAM and disk allocated to it.
If we first look at a 2 CPU/4 GB EC2 instance with 30 GB of disk running 100% of the time, then based on on-demand pricing using the Frankfurt Region as an example, that would cost us approximately $21/month.
If we use a Fargate Pod with 2 CPU/4 GB with 30 GB of disk running for 5 hours every day, based on on-demand pricing in the Frankfurt Region, that would cost us approximately $10/month.
At first glance, we can see that Fargate is less than half the price of an EC2 instance! However, if we just double the duration of the Pod execution time from 5 hours/day to 10 hours/day, then the cost goes up to $35/month, which is quite a bit more. Also, bear in mind that with the EC2 instance, we could run multiple Pods on an instance without incurring any additional costs, whereas with...
Change the font size
Change margin width
Change background colour