|
|
|
|
|
by smarx007
2056 days ago
|
|
What you are missing are the Amazon API Gateway costs. I really liked my own calculations on Lambda costs similar to yours until I figured I'd need to use API Gateway too. Edit: another thing is the amount of RAM used by functions. The CPU speed you get is proportional to RAM so if your code fits in the RAM but has poor performance, doubling the RAM is what you have to do. Another hidden cost. |
|
The GB/sec calc is there My assumption was that even with k8s there'll be an API gateway, GTM etc
Comparing AWS Lamda = 147,167.87 USD to K8s with autoscaling:
DS32a_v4 at spot pricing = 66 * 0.5704 * 24 * 365 = 329782.46 USD With 2 FTEs @ 100k total is 529782.46 USD Caveat application can tolerate autoscaling delays
Summary: AWS Lambda is 3.5x cheaper than a Kubernetes solution