Overview of AWS Storage Services
 Himanshu Sangshetti
Himanshu SangshettiThis content is from the lesson "3.5 AWS Storage Services" in our comprehensive course.
View full course: AWS Cloud Practitioner Study Notes
Just as compute power is fundamental, so is the ability to store and retrieve data.
AWS offers a comprehensive suite of storage services, each optimized for different data types, access patterns, performance needs, and cost considerations.
___
Definition:
- AWS Storage Services provide highly scalable, durable, and available options for storing various types of data in the cloud.
- These services abstract away the complexities of managing physical storage infrastructure, allowing customers to easily store and retrieve objects, blocks, or files on demand, and to implement data lifecycle management and backup strategies.

___
How It Works & Core Attributes:
Object Storage (Amazon S3) and its Uses
Amazon Simple Storage Service (Amazon S3):
- Function: An object storage service that offers industry-leading scalability, data availability, security, and performance. S3 is designed to store and retrieve any amount of data from anywhere on the web.
- Data Model: Stores data as objects within buckets. An object consists of the data itself, a key (unique identifier), and metadata (information about the object). It's unstructured, meaning you can store any file type.
- Key Features: Highly durable (designed for 99.999999999% - 11 nines - of durability), highly available, virtually unlimited storage capacity, access management (IAM, bucket policies), versioning, logging, and replication.
- Uses for Object Storage:   - Backup and Restoration: Long-term storage of backups.
- Archiving: Cost-effective storage for data rarely accessed (e.g., historical records).
- Static Website Hosting: Hosting static HTML, CSS, JavaScript files directly from an S3 bucket.
- Big Data Analytics: A common data lake solution for raw data before processing.
- Disaster Recovery: Storing copies of data for recovery purposes.
- Content Distribution: Storing content (images, videos) for delivery via content delivery networks like Amazon CloudFront.
 
- Think: An infinitely deep, highly organized, and globally accessible digital warehouse for any type of file.
- Recognizing the Differences in Amazon S3 Storage Classes: S3 offers various storage classes, each designed for specific access patterns and cost points. All S3 classes are designed for 11 nines durability.
S3 Storage Classes
| S3 Storage Class | Best For | Characteristics | 
|---|---|---|
| S3 Standard | General-purpose storage of frequently accessed data (default) | High durability, availability, and performance; lowest latency | 
| S3 Intelligent-Tiering | Data with unknown or changing access patterns | Automatically moves data between access tiers based on access patterns | 
| S3 Standard-Infrequent Access (S3 IA) | Long-lived, infrequently accessed data, but requires rapid access when needed | Lower storage cost than Standard, but charges retrieval fees | 
| S3 One Zone-Infrequent Access (S3 One Zone-IA) | Infrequently accessed, non-critical data; single AZ storage (not multi-AZ durable) | Even lower storage cost than S3 IA, but less resilient to AZ loss | 
| Amazon S3 Glacier Flexible Retrieval | Archiving data with flexible retrieval times (minutes to hours) | Very low cost, suitable for archives, charges retrieval fees | 
| Amazon S3 Glacier Deep Archive | Long-term archiving (7-10+ years), lowest cost storage | Extremely low cost, but retrieval times are typically hours (12+ hrs) | 
Scroll horizontally to see all columns

__
Block Storage Solutions
Block storage provides high-performance, low-latency storage that is directly attached to a single compute instance, similar to a traditional hard drive.
Amazon Elastic Block Store (Amazon EBS):
- Function: Provides persistent block storage volumes for use with Amazon EC2 instances. EBS volumes are highly available, reliable, and performance-optimized.
- Characteristics: Attached to a single EC2 instance within the same Availability Zone. Data persists independently of the EC2 instance's lifetime. Can be encrypted.
- Use Cases: Primary storage for databases (relational and NoSQL), boot volumes for EC2 instances, highly transactional workloads, application logs requiring persistent storage.
- Think: A high-performance, virtual hard drive that you plug directly into one of your virtual servers.

Instance Store:
- Function: Temporary block-level storage physically attached to the host computer that underlies an EC2 instance.
- Characteristics: Provides very high I/O performance. Data does NOT persist if the instance is stopped, terminated, or if the underlying host fails. Its lifetime is tied to the instance.
- Use Cases: Caching, temporary data storage, buffers, scratch data, or when data durability is handled at the application level.
- Think: A super-fast, built-in scratchpad on your virtual server, but its contents disappear when the server reboots or shuts down.
__
File Services
File storage provides a shared file system that can be accessed concurrently by multiple compute instances using standard file protocols.
Amazon Elastic File System (Amazon EFS):
- Function: A simple, scalable, elastic NFS (Network File System) file system for AWS Cloud services and on-premises resources. It can be accessed by multiple EC2 instances concurrently.
- Characteristics: Fully managed, highly available, scales automatically from gigabytes to petabytes, and automatically grows/shrinks as you add/remove files.
- Use Cases: Content management systems, web serving, home directories, development environments, shared file storage for big data analytics.
- Think: A shared network drive or shared folder that multiple virtual servers can connect to simultaneously.

Amazon FSx:
- Function: Provides fully managed third-party file systems with native compatibility and feature sets for specific workloads.
- Examples: - Amazon FSx for Windows File Server: Provides fully managed, highly reliable, and scalable file storage that's accessible via the industry-standard Server Message Block (SMB) protocol. Ideal for Windows-based applications.
- Amazon FSx for Lustre: A high-performance file system optimized for fast processing of large datasets. Ideal for HPC, machine learning, video processing.
 
- Use Cases: Lift-and-shift Windows applications requiring SMB file shares, high-performance computing, data lakes for machine learning.
- Think: A specialized, fully managed network drive optimized for specific operating systems (like Windows) or high-performance scientific workloads.
__
Cached File Systems (AWS Storage Gateway)
AWS Storage Gateway:
- Function: A hybrid cloud storage service that connects an on-premises software appliance (a virtual or physical appliance) with cloud-based storage, providing seamless and secure integration between on-premises IT environments and AWS's storage infrastructure.
- Key Concepts: - File Gateway: Stores files as objects in S3, accessed via NFS/SMB from on-premises.
- Volume Gateway: Presents cloud-backed storage volumes to on-premises applications as iSCSI targets.
- Tape Gateway: Provides a virtual tape library (VTL) interface for backup software to store backups in S3 Glacier.
 
- Use Cases: Hybrid cloud storage, extending on-premises storage to the cloud for backup, archiving, or cloud bursting.
- Think: A bridge or a caching device that sits in your on-premises data center, making your cloud storage feel like local storage.
__
Use Cases for Lifecycle Policies and AWS Backup
- Lifecycle Policies (for Amazon S3): - Function: Rules that automate the transition of objects between S3 storage classes or their expiration after a defined period.
- Use Cases: Automatically moving older, less frequently accessed data from S3 Standard to S3 IA or Glacier to optimize costs, or automatically deleting temporary files after a set time.
- Think: An automated assistant that reorganizes your digital warehouse, moving older items to cheaper storage areas or discarding them after a certain date.
 
- AWS Backup: - Function: A fully managed backup service that centralizes and automates data protection across AWS services (e.g., EBS, RDS, DynamoDB, EFS, EC2, Storage Gateway) and on-premises workloads.
- Use Cases: Automating backup schedules, managing retention policies, restoring data from a central console, ensuring compliance with backup requirements.
- Think: A single, centralized control panel for setting up and managing all your digital backups across various AWS services.
 
___
Analogy: A Supermarket's Diverse Storage and Management System Imagine a massive supermarket chain that needs to store and manage all its goods, from fresh produce to canned goods, and even historical records.
- Object Storage (The Giant Warehouse for Anything): This is like the supermarket's main, sprawling warehouse. You can throw anything in here – giant pallets of cereal, individual bags of chips, marketing videos for ads. Everything gets a unique barcode (key), and you just retrieve it by that code. It's incredibly vast and cheap for bulk. - S3 Standard: Fresh produce that's always in demand.
- S3 IA: Canned goods – not accessed daily, but needed quickly when a shelf runs low.
- Glacier: Old historical financial records – rarely touched, but must be kept for years.
 
- Block Storage (The Refrigerator/Freezer Attached to Each Store): This is a dedicated, high-performance refrigerator/freezer connected directly to one specific supermarket store. It's where you keep the active, fresh ingredients for that store's daily operations (e.g., ingredients for the bakery or deli). - EBS: The main, durable refrigerator attached to your store.
- Instance Store: A small, super-fast temporary freezer inside the store – perfect for quick access, but anything inside melts if the power goes out.
 
- File Services (The Shared Office Filing Cabinets for All Stores): This is a shared network of filing cabinets that all stores in the chain can access concurrently. It's where you keep shared recipes, employee handbooks, or marketing materials that everyone needs access to. - EFS: A standard, scalable shared filing cabinet for common documents.
- FSx for Windows File Server: A specialized filing cabinet specifically for old paper documents from Windows 95, so those old systems can still read them.
 
- Storage Gateway (The Bridge to the Central Warehouse): This is a smart device in your local store that caches frequently used items from the main warehouse. It makes items from the giant warehouse feel like they're right there in your store.
- Lifecycle Policies (The Inventory Management System): This system automatically moves old fresh produce to a discount bin, or sends very old canned goods to long-term archive storage, or eventually discards expired items.
- AWS Backup (The Master Backup System): This is the centralized system that automatically takes snapshots of all your different storage locations (refrigerators, filing cabinets, warehouses) and ensures a safe copy is always maintained for recovery.
___
Common Applications:
- Amazon S3: Storing website assets, user-generated content, media files, data for big data analytics, static website hosting.
- Amazon EBS: Boot volumes for EC2 instances, hosting databases on EC2, running applications that require block-level storage.
- Amazon EFS/FSx: Shared content repositories, home directories for users, development tool shares, media processing workflows.
- AWS Storage Gateway: Cloud archiving of on-premises data, cloud-backed backups from on-premises, extending on-premises applications to use cloud storage.
- Lifecycle Policies: Automating cost optimization for data in S3 by moving it to colder storage tiers.
- AWS Backup: Centralizing and automating backup strategies for compliance and disaster recovery across various AWS services.
___
Quick Note: The "Data Foundation"
- AWS Storage Services provide the "data foundation" for nearly every cloud application.
- For the Cloud Practitioner exam, focus on understanding the fundamental differences between object, block, and file storage, the primary use cases for S3 (and its classes).
TAGS
Want to learn more?
Check out these related courses to dive deeper into this topic



