Videos
How reliable is the AWS Pricing Calculator?
Help about the AWS Pricing Calculator
amazon web services - Is there any API available for AWS Pricing Calculator - Stack Overflow
An AWS Savings Plans Calculator
I'm looking into AWS for a small business client who is overpaying for his Azure cloud solution.
I've created an estimate via calculator.aws, and the price seems very low. Like, "too good to be true" low. Not to mention that the Windows Server license is apparently included in the cost.
With that being said, a former colleague of mine told me that the AWS Pricing Calculator is unreliable and that the true cost will end up surpassing the estimate.
Is this really the case, or can I rely on the estimate provided by AWS' tool?
I would like to understand which are the best options for my potential use case.
I would like to be able to run up to 100 Ubuntu VMs at the same time, each one with 2 vCPUs, 4 GiB of memory and 64 GB of storage.
By using the AWS pricing calculator, I am selecting the following options:
Region Europe
EC2 Tenacy: Dedicated Instances? The 100 VMs do not have to run always at the same time, 24/7, but I can predict that they will be running during the workweek when there will be spikes of 100 VMs being used at the 100% of the available hardware. That is why I am opting for "Dedicated instances", please correct me if I am wrong.
Workloads: Daily Spike Traffic -> Workload days = Workdays
Baseline: 1
Peak: 100
Duration: 8h 30min
t3.medium (2 vCPUs, 4 GiB)
And then I select "Spot Instances" (The historical average discount for t3.medium is 67%)
The result is:
Instance: 0.0513/Hour
Monthly: 318.33/Month
Spot discount: 67/100 = 0.67
Pricing calculations
On-Demand instance hours: 18804
On-Demand instances hours x 0.0513 USD = 964.646021 USD 964.646021 USD - (964.646021 USD x 0.67) = 318.333187 USD
Dedicated Per Region Fee: 730 hours x 2 USD = 1460. USD
Spot instances (monthly): 1778.333187 USD
Is my reasoning correct about the selected options?
There is no API for the AWS Pricing Calculator.
There is an AWS Price List API that can provide pricing for individual resources, but you would then need to multiply the individual costs based upon intended usage (eg 12 hours @ $0.10 per hour).
While the pricing calculator docs still say that no API exists, it's worth noting their does seem to be an SDK. https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bcm-pricing-calculator/