Amazon S3 vs EBS vs EFS Flashcards
S3
Types of Storage: Object storage. You can store virtually any kind of data in any format
Features: Accessible to anyone or any service with the right permissions
Max Storage Style: Virtually unlimited
Max File Size: Individual Amazon S3 Objects can range in size to a maximum of 5 terabytes
Performance: Multiple GBs per second; supports multi part upload
Durability: Stored redundantly across multiple AZs, has 99.999999999% durability
Availability: S3 Standard – 99.99% availability S3 Standard-IA – 99.9% availability, S3 One Zone-IA – 99.5% availability, S3 Intelligent Tiering – 99.9%
Scalability: Highly scalable
Data Accessing: one to millions of connections over the web; S3 provides a REST web services interface
Access Control: Uses bucket policies and IAM user policies. Has block public access settings to help manage public access to resources.
Encryption Methods: Supports SSL endpoints using the HTTPS protocol, Client Side and Server Encryption
Backup and Restoration: Uses versioning or cross region replication
Pricing: Billing prices are based on the location of your bucket. Lower costs equal lower prices the more you use S3 storage
Use Cases: Web serving and content management, media and entertainment, backups, big data analytics, data lake
Service Endpoint: Can be accessed within and outside a VPC (via S3 bucket URL)
Elastic Block Storage (EBS)
Type of Storage: Persistent block level storage for EC2 instances
Features: Deliver performance for workloads that require the lowest latency access to data from a single EC2 instance
Max Storage Style: 16TB for one volume
Max File Size: Equivalent to the maximum size of your volumes
Performance: Lowest, consistent, SSD backed storages include the highest performance Provisioned OPS SSD and general Purpose SSD that balance price and performance
Performance (Throughput): Up to 2GB per second. HDD backed volumes include throughput intensive workloads and Cold HDD for less frequently accessed data
Durability: Stored redundantly in a single AZ
Availability: Has 99.999% availability
Scalability: Manually increase/decrease your memory size. Attach and detach additional volumes to and from your EC2 instance to scale
Data Accessing: Single EC2 instance in a single AZ. Amazon EBS Multi Attach a single provisioned IOPS SSD (io1 or io2) volume to up to 16 Nitro-based instances that are in the same availability zone
Access Control: IAM policies, roles and security groups
Encryption Methods: Encrypt both data at rest and data in transit through EBS encryption that uses AWS KMS CMKs
Backup and Restoration: All EBS volume types offer durable snapshot capabilities
Pricing: You pay GB-month of provisioned storage, provisioned IOPS-month, GB-month of snapshot data stored in S3
Uses Cases: Boot volumes, transactional and NoSQL databases, data warehousing & ETL
Service Endpoint: Accessed within ones VPC
Elastic File System (EFS)
Type of Storage: POSIX-compliant file storage for EC2 instances
Features: Has a file system interface, file system access semantics (such as strong consistency and file locking) and concurrently accessible storage for multiple EC2 instances
Max Storage Size: Unlimited system size
Max File Size: 47.9TB for a single file
Performance (Latency): Low, consistent; use Max IO mode for higher performance
Performance (Throughput): 10+ GB per second. Bursting Throughput mode scales with the scales with the size of the file system. Provisioned throughput mode offers higher dedicated throughput than bursting throughput
Durability: Stored redundantly across multiple AZs
Availability: 99.9% SLA. Runs in multi – AZ
Scalability: EFS file systems are elastic and automatically grow and shrink as you add and remove files
Data Accessing: One to thousands of EC2 instances or on premises servers, from multiple AZs, regions, VPCs and accounts concurrently
Access Control: Only resources that can access endpoints in your VPC, called a mount target, can access your file system; POSIX-compliant user and group level permissions
Encryption Methods: Encrypts data at rest and in transit. Data at rest encryption uses AWS KMS. Data in transit uses TLS
Backup and Restoration: EFS to EFS replication through third party tools or AWS DataSync
Pricing: You pay more the amount of file system storage used per month. When using the Provisioned Throughput mode you pay for the Throughput you provision per month
Uses Cases: Web serving and content management, enterprise applications, media and entertainment, home directories, database backups, developer tools, container storage, big data analytics
Service Endpoint: Accessed within ones VPC