Task Statement 2.1: Design scalable and loosely coupled architectures.
📘AWS Certified Solutions Architect – (SAA-C03)
In AWS, data can be stored in three main types of storage: Object Storage, File Storage, and Block Storage. Each type has its own characteristics, use cases, and services. Knowing these differences is crucial for designing scalable and loosely coupled architectures.
1. Object Storage
Key AWS Service: Amazon S3 (Simple Storage Service)
What it is:
- Object storage saves data as objects, which include:
- The data itself (file content)
- Metadata (information about the object, e.g., creation date, permissions)
- Unique ID (key used to retrieve it)
- Objects are stored in buckets, not in a traditional folder structure like file systems.
Characteristics:
- Highly scalable: Can store unlimited amounts of data.
- Durable: Amazon S3 promises 99.999999999% (11 9s) durability.
- Accessible via HTTP API: You access objects using unique keys or URLs.
- Eventually consistent: Updates might take a short time to reflect globally.
- Metadata-rich: Each object can have custom metadata.
Use cases in IT:
- Storing backups or snapshots of servers.
- Hosting static web content (HTML, CSS, JavaScript).
- Storing logs, images, and videos.
2. File Storage
Key AWS Services:
- Amazon EFS (Elastic File System) – scalable network file system
- Amazon FSx for Windows File Server – managed Windows file storage
What it is:
- File storage organizes data in a hierarchical structure (folders and files), like a traditional file system.
- Multiple users or servers can access the same files at the same time.
Characteristics:
- Shared access: Multiple servers can read/write at the same time (NFS or SMB protocols).
- Scalable: Can grow or shrink automatically (like EFS in AWS).
- Managed by AWS: No need to manage underlying servers or storage hardware.
- Low latency: Faster than object storage for file-level operations.
Use cases in IT:
- Shared development environments: Multiple EC2 instances need access to the same project files.
- Home directories for applications or users.
- Content management systems storing documents.
3. Block Storage
Key AWS Services: Amazon EBS (Elastic Block Store), Amazon EC2 Instance Store
What it is:
- Block storage divides data into fixed-size blocks and stores them as separate pieces.
- Each block has an address, and blocks can be treated like a hard drive attached to a server.
Characteristics:
- High performance: Suitable for databases and transactional workloads.
- Low latency: Almost instant access to data.
- Attached to a single server: EBS volumes are attached to EC2 instances.
- Flexible: Can take snapshots and replicate for backup.
Use cases in IT:
- Database storage (e.g., MySQL, PostgreSQL on EC2)
- Boot volumes for EC2 instances
- High-performance applications requiring fast read/write access
Comparison Table
| Storage Type | AWS Service | Structure | Access | Scalability | Typical Use Cases |
|---|---|---|---|---|---|
| Object Storage | S3 | Object-based | HTTP API / SDK | Virtually unlimited | Backups, logs, media, static websites |
| File Storage | EFS, FSx | Hierarchical | NFS / SMB | Automatically scales | Shared files, home directories, CMS |
| Block Storage | EBS, Instance Store | Block-level | Attached to EC2 | Limited by volume size | Databases, boot volumes, transactional apps |
Key Exam Tips:
- S3 = object storage → infinite scalability, accessed via keys, not file system.
- EFS = file storage → multiple servers can share files, hierarchical, NFS protocol.
- EBS = block storage → attached to single EC2, high performance, database-ready.
- Remember the durability vs performance trade-off:
- S3 = extremely durable, slightly higher latency
- EBS = very fast, but limited to attached EC2
- EFS = medium latency, scalable, shared access
- Think in terms of loose coupling:
- S3 decouples storage from compute → good for scalable architectures.
- EFS allows shared access without tightly coupling servers.
- EBS is tightly coupled to one EC2 instance → less flexible for scaling horizontally.
This knowledge is essential for the SAA-C03 exam because AWS will often ask which storage type is best for a specific IT workload or how to design a scalable, resilient architecture using the correct storage type.
