Understanding the difference between block storage and object storage
Amazon EBS stores data in blocks in the previous sections, whereas Amazon S3 stores data as objects. So now that we covered both of these services, the obvious question is which one is better to use. And the obvious answer is—it depends.
Amazon S3 is good for and often used to do the following:
- Host static websites and web pages
- Host web images and videos
- Store petabyte-scale amounts of data to perform data analytics on it
- Assisting in mobile applications
Amazon EBS is well suited for the following:
- Support business continuity
- Host big data applications that require high control of the environment using Hadoop, Spark, and similar frameworks
- Enable software testing
- Deployment of databases that need to be managed by the user and not AWS
The following table should also help you to decide what service is best for your use case:
Hopefully, this...