1/31
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.
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 ___ 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 ____ 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 ____ 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.