CLOUD CONCEPT

Storage

Storage is the capacity and supporting mechanisms used to retain, organize, protect, and retrieve digital data.

Cloud Concepts Hub →

What is Storage

Cloud storage provides data capacity through managed services rather than requiring engineers to operate all underlying disks and storage systems. Choosing an appropriate storage model and tier requires balancing access patterns, performance, resilience, retention requirements, and total cost.

Storage retains data so applications and people can retrieve it when needed. In the cloud, engineers select storage by how applications access data, how quickly that data must be available, and what failures the design must tolerate. Capacity alone is not enough: a database, shared application directory, and long-term compliance archive have different storage requirements even if they contain the same number of bytes.

The three common storage models are object, block, and file storage. Object storage holds data as objects identified by keys and accessed through APIs; it suits images, backups, logs, and data lakes. Block storage exposes volumes that operating systems can format with file systems or use for databases. File storage presents directories and files through protocols such as NFS or SMB, making it useful when applications need familiar file operations and shared access.

On AWS, Amazon S3 provides object storage, Amazon EBS provides block volumes for EC2, and Amazon EFS and Amazon FSx provide managed file systems. EC2 instance store provides temporary, host-attached storage that can be useful for caches and scratch data. Unlike EBS volumes, instance-store data does not survive instance stop or termination, or failure of the underlying storage. EBS volumes can persist independently of an instance, but termination can delete attached volumes depending on their deletion settings. Persistence must therefore be an explicit architectural choice.

Storage pricing is not simply a price per gigabyte. Depending on the service, charges can include stored or provisioned capacity, requests, data retrieval, provisioned IOPS, throughput, snapshots, replication, and data transfer. EBS generally charges for provisioned volume capacity even when much of that capacity is empty. S3 generally charges for stored data, subject to class-specific minimum billable sizes and other charges. Network transfer charges depend on the traffic path and destination; do not assume every read has the same transfer cost.

Storage tiers trade price against access frequency, retrieval cost, latency, and resilience. Amazon S3 Standard supports frequently accessed data with millisecond access and storage across multiple Availability Zones. S3 Standard-Infrequent Access, or Standard-IA, retains millisecond access and multi-AZ storage but adds retrieval charges and a 30-day minimum storage duration. S3 One Zone-Infrequent Access also has retrieval charges and a 30-day minimum, but stores data in one Availability Zone. It is appropriate for recreatable data or secondary copies when loss of that zone is an acceptable risk.

S3 Intelligent-Tiering automatically moves eligible objects among access tiers as usage changes and charges a monitoring and automation fee for eligible objects. Its Frequent Access, Infrequent Access, and Archive Instant Access tiers provide millisecond access without retrieval charges. Its optional Archive Access and Deep Archive Access tiers require restoration before access. Standard and bulk retrievals from these optional archive tiers are free, but expedited retrievals from Archive Access incur charges. Objects smaller than 128 KB are not monitored or automatically tiered and remain in the Frequent Access tier.

The S3 Glacier classes address different archive access requirements. S3 Glacier Instant Retrieval provides millisecond access for rarely read data, charges for retrieval, and has a 90-day minimum storage duration. S3 Glacier Flexible Retrieval requires restoration, with retrieval options ranging from minutes to hours, and also has a 90-day minimum. S3 Glacier Deep Archive has a 180-day minimum and restoration measured in hours. Retrieval pricing depends on the class and retrieval option. Minimum storage duration is a billing rule, not a prohibition on deletion: early deletion or transition can trigger charges for the remaining duration. S3 Express One Zone instead targets latency-sensitive workloads with consistent single-digit millisecond access in one Availability Zone; it is not an archival tier.

For example, an application might keep database files on SSD-backed block volumes, share working files through a managed file system, and retain exported records in object storage. Lifecycle rules can transition older records to cheaper classes, but expected retrievals, transition requests, object sizes, and retention periods must justify the change. Archiving records that users retrieve daily can cost more and provide a worse experience than leaving them in an immediately accessible tier.

Durability, availability, and backup are different properties. Durability concerns avoiding data loss; availability concerns being able to access data when required. Redundant storage does not automatically protect against accidental deletion or application corruption. Apply least-privilege permissions, encryption, versioning or immutable retention where appropriate, and tested recovery procedures. Select storage using the application's recovery objectives and access requirements, then compare the full expected bill rather than choosing the lowest advertised capacity price.

Key aspects of Storage

Effective storage design matches access semantics, performance, resilience, protection, and lifecycle requirements to the complete cost of retaining and retrieving data.

Access model

Choose object, block, or file storage according to application behavior. An application expecting a mounted shared file system generally cannot use an object-storage API as a drop-in replacement without adaptation.

Performance requirements

Evaluate latency, IOPS, throughput, and concurrency separately. Small random database operations and large sequential media transfers can require different storage configurations.

Access frequency and tiering

Match frequently accessed, infrequently accessed, and archived data to suitable tiers. Verify whether access is immediate or requires restoration before applying lifecycle transitions.

Total cost and billing constraints

Include capacity, requests, retrievals, data transfer, and performance charges in cost estimates. Minimum billable object sizes and minimum storage durations can make a seemingly cheaper tier uneconomical.

Persistence and failure scope

Distinguish temporary storage from persistent storage, and single-zone designs from multi-zone designs. Persistent data can still require snapshots, backups, or replication to meet recovery objectives.

Protection and recovery

Use permissions, encryption, retention controls, and recoverable copies to protect stored data. Test restores because redundancy alone does not establish that a workload can recover from deletion or corruption.

Cloud services for Storage

A workload can use Amazon EBS for database volumes, Amazon EFS or Amazon FSx for shared files, and Amazon S3 for objects, exports, and archives. These services implement different access models rather than interchangeable forms of disk space. AWS Storage Gateway connects existing on-premises workflows to cloud-backed storage, while AWS Backup coordinates protection for supported resources. Together, they support designs that separate active application data from recovery copies and long-term retention. Each component still needs its own performance, resilience, access-control, and cost assessment; moving data between services or tiers can introduce transfer, request, retrieval, or restore charges.

Amazon Simple Storage Service image Amazon S3

Provides object storage with classes for frequent access, infrequent access, latency-sensitive workloads, and archival retention. Lifecycle rules and Intelligent-Tiering help manage placement, but retrieval behavior, minimum durations, and billing details differ by class.

Open Amazon S3 →
Amazon FSx image Amazon FSx

Provides managed file systems for workloads requiring interfaces and capabilities such as Windows File Server, Lustre, NetApp ONTAP, or OpenZFS. Choose the file-system type and deployment configuration based on protocol compatibility, performance, availability, and cost.

Open Amazon FSx →
AWS Storage Gateway image AWS Storage Gateway

Connects on-premises applications to cloud-backed storage through file, volume, or virtual tape interfaces. It supports hybrid storage patterns, with local caching and network connectivity influencing access performance.

Open AWS Storage Gateway →
AWS Backup image AWS Backup

Centralizes backup policies, scheduling, retention, and recovery for supported resources. It complements primary storage by managing recovery copies, with charges that can include backup storage and restores.

Open AWS Backup →