A company runs thousands of simultaneous simulations using AWS Batch. Each simulation is stateless, is fault tolerant, and runs for up to 3 hours. Which pricing model enables the company to optimize costs and meet these requirements?
B, because "Spot Instances are a cost-effective choice if you can be flexible about when your applications run and if your applications can be interrupted. For example, Spot Instances are well-suited for data analysis, batch jobs, background processing, and optional tasks. "
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html
I think C should be the right answer - On-Demand Instances provide capacity on a pay-as-you-go basis with no upfront commitment. They are suitable for short-term, variable workloads, offering flexibility without the need for long-term commitments. In this scenario, On-Demand Instances would be a cost-effective option for the 2-month duration while avoiding downtime.
B. Spot Instances: Allow users to bid for unused EC2 capacity, potentially providing cost savings. They are suitable for workloads that are fault-tolerant and can handle interruptions. Spot Instances are a good fit for the described scenario of thousands of simultaneous simulations.
Reserved Instances: While offering a significant discount compared to On-Demand Instances, they require a one-year or three-year commitment and upfront payment. This might not be ideal for workloads with variable demand or short durations like the given simulations.
Spot Instances: These offer the potential for significant cost savings compared to On-Demand Instances, with prices fluctuating based on supply and demand. They are well-suited for stateless, fault-tolerant workloads like the company's simulations, as they can be automatically terminated and restarted on price spikes without impacting the overall execution.
On-Demand Instances: These provide predictable pricing but are the most expensive option. Given the cost optimization goal and stateless nature of the simulations, Spot Instances offer a better cost-performance trade-off.
Dedicated Instances: Similar to Reserved Instances, these come with an upfront commitment and fixed payments, making them less flexible for workloads with variable demand like the simulations.
A. Reserved Instances: Involve a commitment to a specific instance type in a particular region for a term of 1 or 3 years. They offer cost savings compared to On-Demand pricing, but may not be suitable for stateless and fault-tolerant workloads with short durations.
B. Spot Instances: Allow users to bid for unused EC2 capacity, potentially providing cost savings. They are suitable for workloads that are fault-tolerant and can handle interruptions. Spot Instances are a good fit for the described scenario of thousands of simultaneous simulations.
C. On-Demand Instances: Are charged at the regular, non-reserved pricing. They provide flexibility without any upfront commitments, but may not be the most cost-effective option.
D. Dedicated Instances: Run on hardware dedicated to a single customer but do not provide significant cost optimization. They are more suitable for scenarios where regulatory or compliance requirements necessitate dedicated hardware.
B is incorrect. Spot Instances are a cost-effective choice if you can be flexible about when your applications run and if your applications can be interrupted.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Jims03
Highly Voted 1 year, 1 month agoSir_Kay
Most Recent 2 months agoOmkarDamame
3 months, 3 weeks agoAmin_013
3 months, 4 weeks agoShaiTay
5 months, 2 weeks agod33f59e
5 months, 3 weeks agoEleftheriia
12 months agoankitmcse
1 year agotryingravioli
1 year agoLinuxChamp
1 year, 2 months agomcf1727
1 year, 2 months agoJames_Srm
1 year, 2 months agoyidnekachew
1 year, 2 months agoRuffyit
1 year, 2 months agoevet12
1 year, 3 months agoPyrus
1 year, 3 months agoTheFivePips
1 year, 3 months agoBShelat
1 year, 3 months agosf1382
1 year, 4 months agoTheFivePips
1 year, 3 months ago