Authentication vs Authorization in AWS Amplify
Authentication vs Authorization in AWS Amplify
Why Permissions Feel Confusing in Amplify
How to Choose the Best AWS Storage Option for Your Project

Amazon web services are widely used around the world for storage options. However, choosing a storage option is not easy since each of them has unique features and costs.
So, in this article, I will discuss AWS EBS, EFS, and S3 with their features, usability, and cost.
AWS EBS (Elastic block service) is a network drive that allows you to attach to a single EC2 instances.
You can preserve the EC2 data using EBS when the instance is terminated. Also, EBS can be easily attached and from one EC2 and attach to another EC2.
EBS volumes are only available for the availability zone it was created and can only be mounted to a single EC2 instance at a time.
If you need to move an EBS volume to another availability zone, you need to take a snapshot.
EBS should always be used with EC2 instances so, if you are looking for a storage option with high availability and high performance for a single EC2 instance, EBS the perfect solution.
EFS (Elastic file system) is a network file system that can be mounted into multiple EC2 instances.
As the name implies, it is a file storage system. It works similarly to your computer hard drive and allows fast read and write operations.
Unlike EBS, EFS can be used across multiple availability zones and charges based on usage.
The most highlighted feature of EFS is its auto scalability. It allows your application to function even when the number of files increases.
With its auto-scaling feature, EFSs are suitable for content management systems perfectly. Also, if you need to use the same storage in multiple EC2 instances, EFS is the go-to option.
S3 (simple storage service) is the most used storage type in AWS. Unlike EBS and EFS, S3 is not bound to EC2 instances.
S3 organizes data in a hierarchy with metadata and it allows to run more complex queries on objects compared to EBS and EFS.
Since most of you are familiar with S3, I will not talk about it in detail. So let’s see some of its features.
Well, we can’t specify this suitability of S3 for one or two occasions. It is already used worldwide by developers for various purposes like storing web application data, mobile application data, and even static site hosting.
To better understand the differences and similarities between these 3, I have created an infographic comparison summarizing everything discussed in the article.
In this article, I highlighted the similarities and differences between EBS, EFS, and S3 storage. Therefore, I hope you will choose the most suitable storage for your purpose and reduce the cost with what you learned in this article.
Thank you for Reading !!!
A version of this article was first published on August 18, 2021 on Medium.
Why Permissions Feel Confusing in Amplify
AWS DynamoDB Eventual Consistency VS Strong Consistency Amazon DynamoDB reads data from tables, local secondary indexes (LSIs), global secondary indexes (GSIs), and streams. Both tables and LSIs …
What Is Amazon EC2? A Beginner’s Guide to Virtual Servers in AWS Amazon EC2 (Elastic Compute Cloud) is a service that provides virtual servers, called instances, in the cloud. You can choose the …