Choose the best storage option
publish date: 2024/08/07 22:56:37.107020 UTC
volume_muteYou have a web application that needs to write to disk in order to perform certain calculations. The application will store temporary data during the calculation. The most important aspects of this architecture are speed and cost.
which storage solution would you choose?
Correct Answer
Explanation
We are choosing Amazon instance store and not EBS because we're looking for storage attached to compute in this case. It is temporary data we're talking about. We're not looking at a huge amount of data, and we also don't necessarily care about the durability of that data. If the instance fails mid calculation and you want to plan for failure, you can just restart the calculation from scratch. So durability doesn't matter, but cost does. By not using EBS and instead using instance store, you may save yourself some costs. That is because instance store is included in the overall EC2 instance price. So instance store is the best option for this use case.
Reference
AWS Skills Builder