1/86
Looks like no tags are added yet.
STORAGE
AWS provides cloud storage services for storing, accessing, and managing data according to different application requirements. These services allow organizations to store data without maintaining physical storage infrastructure and support workloads ranging from application files to long-term archives.
AWS storage services differ in how data is organized, accessed, and shared. Selecting an appropriate service depends on factors such as data type, access frequency, performance requirements, availability, and storage cost
Amazon Elastic Block Store (Amazon EBS)
provides block-level storage for use with Amazon Elastic Compute Cloud (Amazon EC2) instances.
____ stores data in volumes that can be attached to EC2 instances and used similarly to storage drives in a physical computer.
____ volumes provide persistent storage, meaning that data can remain available independently of the running state of an EC2 instance. They are commonly used for operating systems, applications, databases, and other workloads that require consistent storage performance
Amazon EBS Volumes
An ________ is a storage resource that can be created and attached to a compatible EC2 instance. After attachment, the volume can be formatted with a file system and used to store application files or other data.
_______ are created within a specific Availability Zone. They can be attached to compatible EC2 instances in the same Availability Zone, subject to the volume type and attachment limitations.
An _______ can serve as the root volume of an EC2 instance, storing the operating system and files required to run the instance. Additional EBS volumes can be attached to provide separate storage for application data, such as database files.
Solid State Drive (SSD) volumes
Amazon EBS Volume Types;
Designed for workloads that require frequent read and write operations with low latency.
They are commonly used for boot volumes, transactional databases, and applications that require responsive storage.
Hard Disk Drive (HDD) volumes
Amazon EBS Volume Types;
Designed for throughput-intensive workloads that process large amounts of sequential data. They are suitable for applications such as log processing and large-scale data processing.
Amazon EBS Snapshots
is a point-in-time backup of an EBS volume. Snapshots can be used to protect stored data and create new EBS volumes when recovery or duplication is required.
______ are incremental by default. After the initial snapshot, subsequent snapshots store the blocks that have changed since the previous snapshot, helping reduce the amount of additional backup storage required.
______ are stored in Amazon S3 infrastructure managed by AWS and can be used to create new volumes in different Availability Zones within the same Region. To create a volume in another Region, the snapshot must first be copied to that Region.
Persistent storage
Benefits of Amazon EBS;
Data can remain available when an instance is stopped or when a volume is detached, subject to the configured deletion settings.
Flexible capacity
Benefits of Amazon EBS;
Storage capacity and supported performance settings can be modified as workload requirements change.
Storage performance options
Benefits of Amazon EBS;
SSD and HDD volume types support different workload requirements.
Data protection
Benefits of Amazon EBS;
Snapshots provide a way to back up and restore volume data
Encryption
Benefits of Amazon EBS;
EBS supports encryption of volumes and snapshots to help protect stored data
Amazon Simple Storage Service (Amazon S3)
is an object storage service that allows users to store and retrieve data from the AWS Cloud. Unlike block storage, which organizes data into volumes, Amazon S3 stores data as objects within containers called buckets.
is designed to store large amounts of data and supports various types of files, including documents, images, videos, application backups, and website assets. It is commonly used for data backup, content storage, static website hosting, and data analytics.
Amazon S3 Buckets and Object
Amazon S3 organizes data using buckets and objects.
A bucket is a container for storing objects
object consists of the stored data and its associated metadata.
For example, an organization can create a bucket for its website assets and store images, documents, and other files as separate objects. Each object can be accessed using its corresponding key and appropriate permissions.
Buckets
The main components of Amazon S3 storage;
Containers used to organize and store objects. Each general purpose bucket has a globally unique name within an AWS partition and is created in a specific AWS Region
Objects
The main components of Amazon S3 storage;
Individual files or data stored in a bucket, together with their associated metadata
Object keys
The main components of Amazon S3 storage;
Unique identifiers used to locate objects within a bucket. Each object is identified by its key within the bucket.
Metadata
The main components of Amazon S3 storage;
Information associated with an object, such as its content type and other properties.
Amazon S3 Storage Classes
Amazon S3 provides different storage classes to accommodate varying data access patterns and storage requirements. These classes differ in cost, availability characteristics, retrieval options, and minimum storage duration requirements.
Selecting a storage class depends on how frequently the data is accessed, how quickly it must be retrieved, and the cost requirements of the workload.
S3 Standard
Common Amazon S3 storage classes;
Designed for frequently accessed data that requires high availability and low-latency access.
S3 Intelligent-Tiering
Common Amazon S3 storage classes;
Automatically moves eligible objects between access tiers based on changing access patterns to help optimize storage costs.
S3 Standard-Infrequent Access (S3 Standard-IA)
Common Amazon S3 storage classes;
Designed for data that is accessed less frequently but requires rapid retrieval when needed.
S3 One Zone-Infrequent Access (S3 One Zone-IA)
Common Amazon S3 storage classes;
Stores data in a single Availability Zone and is suitable for infrequently accessed data that can be recreated or is protected by another copy.
S3 Glacier Instant Retrieval
Common Amazon S3 storage classes;
Designed for rarely accessed archival data that still requires retrieval in milliseconds.
S3 Glacier Flexible Retrieval
Common Amazon S3 storage classes;
Designed for archival data that can tolerate retrieval times ranging from minutes to hours.
S3 Glacier Deep Archive
Common Amazon S3 storage classes;
Designed for long-term archival data that is rarely accessed and can tolerate retrieval times measured in hours.
Amazon S3 Versioning
allows multiple versions of an object to be maintained within the same bucket. When versioning is enabled, uploading an object with the same key creates a new version rather than permanently replacing the existing version.
Versioning helps protect data against accidental overwriting and deletion. Previous versions can be retrieved when needed, making it useful for applications that require recovery from unintended changes.
Versioning must be enabled at the bucket level. Once enabled, it can be suspended, but the bucket cannot return to an unversioned state.
Amazon S3 Lifecycle Management
Allows users to define rules that automatically manage objects throughout their storage lifecycle. These rules can transition eligible objects to different storage classes or expire objects when they are no longer required
For example, an organization can configure a lifecycle rule to transition older backup files to an archival storage class and delete them after the required retention period.
Transitioning objects
Amazon S3 Lifecycle;
Moving eligible objects to lower-cost storage classes as their access requirements change.
Expiring objects
Amazon S3 Lifecycle;
Automatically deleting objects after a specified period.
Managing previous versions
Amazon S3 Lifecycle;
Transitioning or expiring noncurrent object versions when versioning is enabled.
Removing incomplete uploads
Amazon S3 Lifecycle;
Aborting incomplete multipart uploads after a specified number of days.
Amazon S3 Security and Access Management
Amazon S3 provides security features that help control access to stored data and protect objects from unauthorized use.
Access permissions should follow the principle of least privilege, granting only the permissions required to perform authorized tasks.
IAM policies
Amazon S3 Security Mechanism;
Define permissions that allow or deny users and roles access to Amazon S3 resources.
Bucket policies
Amazon S3 Security Mechanism;
Resource-based policies that control access to buckets and their objects.
S3 Block Public Access
Amazon S3 Security Mechanism;
Settings that help prevent unintended public access to buckets and objects
Encryption
Amazon S3 Security Mechanism;
Protects stored data through server-side encryption. Amazon S3 automatically encrypts new object uploads by default.
Access logging
Amazon S3 Security Mechanism;
Provides records of requests made to buckets when server access logging is configured.
Scalability
Benefits of Amazon S3;
Supports storing large amounts of data without requiring users to provision storage capacity in advance
Durability
Benefits of Amazon S3;
Designed for 99.999999999% (11 nines) durability of objects across its storage classes
Storage flexibility
Benefits of Amazon S3;
Provides storage classes for different access patterns and retention requirements
Data protection
Benefits of Amazon S3;
Supports versioning, encryption, and access controls to help protect stored objects
Automated management
Benefits of Amazon S3;
Lifecycle rules help manage data retention and storage costs.
Amazon Elastic File System (Amazon EFS)
is a managed file storage service that provides shared file storage for applications running in the AWS Cloud. Unlike block storage, which provides storage volumes for individual computing resources, Amazon EFS uses a file system that can be accessed by multiple computing resources simultaneously.
Supports the Network File System (NFS) protocol and is designed for Linux-based workloads. It is commonly used for applications that require shared access to files, such as web applications, content management systems, and data processing workloads
Amazon EFS File Systems
An _______ is a storage resource that organizes data into files and directories. Applications can access these files using standard file system operations, such as creating, reading, modifying, and deleting files.
______ can be mounted on multiple compatible Amazon EC2 instances simultaneously. This allows applications running on different instances to access the same files without maintaining separate copies.
______ automatically grows and shrinks as files are added or removed, reducing the need to provision and manage storage capacity manually.
Amazon EFS Storage Classes
Amazon EFS provides storage classes that support different data access patterns and cost requirements. These classes allow organizations to balance storage performance and cost based on how frequently files are accessed.
Amazon EFS can use lifecycle management policies to move files between eligible storage classes based on their access patterns.
EFS Standard
Amazon EFS storage classes;
Designed for frequently accessed files that require low-latency access
EFS Infrequent Access (EFS IA)
Amazon EFS storage classes;
Designed for files that are accessed less frequently and can tolerate higher access latency.
EFS Archive
Amazon EFS storage classes;
Designed for files that are rarely accessed and can tolerate higher access latency in exchange for lower storage costs.
Amazon EFS Performance and Throughput
Amazon EFS provides performance and throughput options to support different application requirements.
Elastic Throughput automatically adjusts throughput based on workload activity. Provisioned Throughput allows users to specify a throughput level, while Bursting Throughput provides throughput based on the amount of data stored and available burst credits.
The appropriate throughput option depends on the application's access patterns and performance requirements.
Performance
Two important aspects of EFS performance;
Amazon EFS supports General Purpose performance mode, which is designed for applications that require low-latency file operations.
Throughput
Two important aspects of EFS performance;
Amazon EFS provides Elastic Throughput, Provisioned Throughput, and Bursting Throughput options to accommodate different levels of file system activity.
Amazon EFS Availability and Scalability
Amazon EFS supports file storage across AWS Availability Zones, depending on the file system configuration.
Amazon EFS can scale automatically as storage requirements change. Multiple compatible computing resources can access the same file system, allowing applications to share data as their computing capacity increases
Regional file systems
Amazon EFS file system types;
Store data redundantly across multiple Availability Zones within an AWS Region to support high availability and durability.
One Zone file systems
Amazon EFS file system types;
Store data within a single Availability Zone and are suitable for workloads that do not require multi-AZ storage resilience.
Amazon EFS Security and Access Management
Amazon EFS provides security features to help protect stored files and control access to file systems
IAM policies
Amazon EFS security mechanisms;
Control permissions for managing EFS resources and can authorize supported client access operations.
Security groups
Amazon EFS security mechanisms;
Control network traffic between file system mount targets and connected computing resources.
Encryption at rest
Amazon EFS security mechanisms;
Protects data stored in an EFS file system.
Encryption in transit
Amazon EFS security mechanisms;
Protects data transferred between supported clients and the file system.
EFS access points
Amazon EFS security mechanisms;
Provide application-specific entry points that can enforce a root directory and POSIX user identity for file access.
Shared file access
Benefits of Amazon EFS;
Allows multiple compatible computing resources to access the same files simultaneously.
Automatic scaling
Benefits of Amazon EFS;
Adjusts storage capacity as files are added or removed.
Managed infrastructure
Benefits of Amazon EFS;
Reduces the need to provision and maintain file storage servers.
Storage flexibility
Benefits of Amazon EFS;
Provides storage classes and throughput options for different workload requirements.
Data protection
Benefits of Amazon EFS;
Supports encryption, access controls, and multi-AZ storage configurations for workloads requiring higher availability.
Amazon S3 Glacier
________ Is a set of low-cost archival storage classes within Amazon Simple Storage Service (Amazon S3). These storage classes are designed for data that is accessed infrequently but must be retained for extended periods.
________ storage classes are commonly used for long-term backups, historical records, compliance archives, and disaster recovery data. They allow organizations to reduce storage costs by selecting retrieval options that match how frequently and how quickly archived data must be accessed.
S3 Glacier Instant Retrieval
Amazon S3 Glacier Storage Classes;
Designed for rarely accessed data that requires immediate access. Objects can be retrieved in milliseconds.
S3 Glacier Flexible Retrieval
Amazon S3 Glacier Storage Classes;
Designed for archival data that does not require immediate access. It provides retrieval options ranging from minutes to hours
S3 Glacier Deep Archive
Amazon S3 Glacier Storage Classes;
Designed for long-term archival data that is accessed very rarely. It offers low-cost storage with retrieval times measured in hours
Amazon S3 Glacier Retrieval Options
Retrieving archived objects depends on the storage class and the urgency of the request.
Objects in S3 Glacier Instant Retrieval can be accessed directly without initiating a restore operation. For Flexible Retrieval and Deep Archive, a restore request is generally required before the archived object can be accessed.
Expedited retrieval
S3 Glacier Flexible Retrieval retrieval options;
Provides access to archived data in approximately 1–5 minutes, subject to capacity availability.
Standard retrieval
S3 Glacier Flexible Retrieval retrieval options;
Typically completes within 3–5 hours.
Bulk retrieval
S3 Glacier Flexible Retrieval retrieval options;
Typically completes within 5–12 hours and is suitable for retrieving large amounts of archived data at a lower cost.
Standard retrieval
S3 Glacier Deep Archive retrieval options;
Typically completes within 12 hours.
Bulk retrieval
S3 Glacier Deep Archive retrieval options;
Typically completes within 48 hours.
Amazon S3 Glacier Data Management
Amazon S3 Lifecycle rules can automatically transition eligible objects from other S3 storage classes to Glacier storage classes as their access requirements change.
For example, an organization can store recently created backup files in S3 Standard and configure a lifecycle rule to transition them to S3 Glacier Flexible Retrieval when they are no longer accessed regularly.
Lifecycle rules can also expire archived objects after their required retention period. However, Glacier storage classes have minimum storage duration requirements. Deleting or transitioning objects before the required duration ends may result in early deletion charges
Amazon S3 Glacier Security and Durability
Amazon S3 Glacier storage classes use Amazon S3 security and data protection mechanisms to help protect archived information. These features help organizations protect archived data while meeting applicable retention and access requirements.
Encryption
Amazon S3 Glacier Security and Durability;
Protects archived objects through server-side encryption.
Access control
Amazon S3 Glacier Security and Durability;
Uses IAM policies and bucket policies to manage permissions for archived objects.
Durability
Amazon S3 Glacier Security and Durability;
Designed for 99.999999999% (11 nines) durability of stored objects.
Versioning
Amazon S3 Glacier Security and Durability;
Supports retaining previous versions of objects when S3 Versioning is enabled.
S3 Object Lock
Amazon S3 Glacier Security and Durability;
Can prevent object versions from being deleted or overwritten for a specified retention period when properly configured.
Lower storage costs
Benefits of Amazon S3 Glacier;
Offer cost-effective options for data that is accessed infrequently.
Flexible retrieval
Benefits of Amazon S3 Glacier;
Provide different retrieval options based on how quickly archived data is needed.
Long-term retention
Benefits of Amazon S3 Glacier;
Support archival requirements for backups, records, and historical information.
Automated archiving
Benefits of Amazon S3 Glacier;
Work with S3 Lifecycle rules to transition eligible objects between storage classes.
Data protection
Benefits of Amazon S3 Glacier;
Support encryption, access controls, and retention features through Amazon S3.