Module 5: Storage and Databases (Part 1) Flashcards
What is an instance store in Amazon EC2?
An instance store provides temporary block-level storage for an Amazon EC2 instance. It is disk storage physically attached to the host computer for the instance. The data in an instance store is lost when the instance is stopped or terminated.
What is Amazon Elastic Block Store (Amazon EBS)?
Amazon Elastic Block Store (Amazon EBS) is a service that provides block-level storage volumes for use with Amazon EC2 instances. EBS volumes are persistent and independent of the instance lifecycle. Data on an EBS volume remains available even if the associated EC2 instance is stopped or terminated.
How can you back up data on Amazon EBS volumes?
You can back up data on Amazon EBS volumes by creating EBS snapshots. An EBS snapshot is an incremental backup, meaning that only the blocks of data that have changed since the most recent snapshot are saved. This allows for efficient storage and quicker backup times compared to full backups.
What is the difference between instance stores and Amazon EBS?
Instance stores provide temporary storage physically attached to an EC2 instance and do not persist data beyond the instance’s lifecycle. On the other hand, Amazon EBS provides persistent block-level storage volumes that can be attached to and detached from EC2 instances, allowing data to be retained even when instances are stopped or terminated. EBS volumes also support creating snapshots for incremental backups.
What is Amazon Simple Storage Service (Amazon S3)?
Amazon Simple Storage Service (Amazon S3) is a service provided by AWS that offers object-level storage. It allows you to store and retrieve any type of file, such as images, videos, and text documents. Amazon S3 uses buckets to organize and manage data, and it offers unlimited storage space with a maximum object size of 5 TB.
What are the different storage classes available in Amazon S3?
Amazon S3 offers a range of storage classes to meet different business and cost needs. The available storage classes are:
- Amazon S3 Standard: Designed for frequently accessed data and provides high availability.
- Amazon S3 Standard-Infrequent Access (S3 Standard-IA): Suitable for infrequently accessed data, with a lower storage price and higher retrieval price.
- Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA): Stores data in a single Availability Zone, offering lower storage costs than S3 Standard-IA.
- Amazon S3 Intelligent-Tiering: Ideal for data with unknown or changing access patterns, automatically moving objects between frequent and infrequent access tiers.
- Amazon S3 Glacier Instant Retrieval: Designed for archived data with immediate access requirements, providing fast retrieval within milliseconds.
- Amazon S3 Glacier Flexible Retrieval: Low-cost storage for data archiving, with retrieval times ranging from minutes to hours.
- Amazon S3 Glacier Deep Archive: Lowest-cost storage for long-term retention and digital preservation, with retrieval times ranging from 12 to 48 hours.
- Amazon S3 Outposts: Enables storage on AWS Outposts, allowing data to be stored and accessed locally in an on-premises environment.
What is the purpose of Amazon S3 buckets?
Amazon S3 uses buckets to store and organize data. A bucket is a logical container for objects within Amazon S3. It helps in managing access permissions, organizing data based on different use cases, and enables easy management and retrieval of objects stored in Amazon S3.
How does Amazon S3 Intelligent-Tiering storage class work?
Amazon S3 Intelligent-Tiering automatically monitors the access patterns of objects stored in this storage class. If an object hasn’t been accessed for 30 consecutive days, it is moved to the infrequent access tier (S3 Standard-IA). If the object is accessed again, it is moved back to the frequent access tier (S3 Standard). This storage class is suitable for data with unknown or changing access patterns, providing cost optimization based on actual usage.
What is Amazon Elastic File System (Amazon EFS)?
Amazon Elastic File System (Amazon EFS) is a scalable file storage service provided by AWS. It is designed to be used with AWS Cloud services and on-premises resources. Amazon EFS automatically grows and shrinks as files are added or removed, and it can scale to petabytes of data without disrupting applications. It offers concurrent access to data from multiple clients and supports access across multiple Availability Zones within a region.
What is the difference between Amazon EBS and Amazon EFS?
Amazon EBS (Elastic Block Store) is a block-level storage service that provides persistent storage for Amazon EC2 instances. It stores data in a single Availability Zone and requires the EC2 instance and EBS volume to be in the same Availability Zone.
Amazon EFS (Elastic File System) is a regional service that provides scalable file storage. It stores data in and across multiple Availability Zones within a region, allowing concurrent access from multiple instances and on-premises servers. EFS is designed for shared access to data across multiple resources.
What are the benefits of using Amazon EFS?
Scalability: Amazon EFS automatically scales to petabytes of data without disrupting applications, allowing you to grow and shrink your storage as needed.
Concurrent Access: Multiple clients, including EC2 instances and on-premises servers, can access data concurrently from all the Availability Zones within the region where the file system is located.
Shared File System: Amazon EFS provides a shared file system that can be accessed by multiple resources simultaneously, making it suitable for use cases where shared access to data is required.
Integration with AWS Services: Amazon EFS seamlessly integrates with other AWS services, enabling you to easily share and access data across your AWS infrastructure.
Data Durability: Amazon EFS automatically replicates data across multiple Availability Zones, ensuring durability and high availability of your files.