Section 9: Block and File Storage Flashcards
Block vs File vs Object Storage
Block storage (operating system) = Elastic Block Store (EBS). Like on Windows hard disk, how you can partition a C drive and D drive. Use case: OS, database.
File Storage (user) = like network storage hard disk for saving files from multiple users. Use case: sharing user data, web content.
**Object Storage **(API) = AWS S3, object storage of data. Use case: images, PDF, video.
https://cloud.google.com/blog/topics/developers-practitioners/map-storage-options-google-cloud
EBS Volume snapshots
EBS Volume snapshots are a snapshot of the volume at that point in time that are stored in S3 bucket.
EBS Volumes are tied to an availability zone
What is Amazon Data Lifecycle Manager?
Amazing Data Lifecycle Manager (DLM) is a way to automate backups of EBS Volume snapshots.
You can also automate deleting outdated backups.
What is an Amazon Machine Image (AMI)?
Amazon Machine Image (AMI) is used to create virtual servers (Amazon Elastic Compute Cloud or EC2 instances) in the Amazon Web Services (AWS) environment. Different types of instances can be launched from a single AMI to support the hardware of the host computer used for the instance.
What is the difference between AMI and EC2?
AMI stands for Amazon Machine Image. It is a template that contains the information required to launch an instance, such as an operating system, application software, and data.
EC2 stands for Elastic Compute Cloud. It is a web service that provides resizable compute capacity in the cloud.An Amazon Machine Image (AMI) is a master image for the creation of virtual servers – known as EC2 instances – in the Amazon Web Services (AWS) environment.
EBS vs Instance Stores
Elastic Block Store (EBS) are attached over the network
Instance Store volumes are physically attached to the host. These are ephemeral (data is lost when the instance is powered down)
When would you use an Instance Store
Instance Stores are ideal for temporary storage of information that changes frequently, such as buffers or caches
What is RAID (redundant array of independent disks)?
RAID (redundant array of independent disks) is a way of storing the same data in different places on multiple hard disks or solid-state drives (SSDs) to protect data in the case of a drive failure.
https://www.ionos.co.uk/digitalguide/server/security/raid/
RAID 0 vs RAID 1
RAID 1 offers redundancy through mirroring, i.e., data is written identically to two drives. RAID 0 offers no redundancy and instead uses striping, i.e., data is split across all the drives. This means RAID 0 offers no fault tolerance; if any of the constituent drives fails, the RAID unit fails.
https://techgenix.com/raid-0-vs-raid-1/
What is Amazon Elastic File System (EFS)
Amazon Elastic File System (EFS) is a file storage service for use with Amazon compute (EC2, containers, serverless) and on-premises servers
Amazon S3 vs EBS vs EFS
S3 - Amazon S3 (Amazon Simple Storage Service) is an object storage designed for storing large numbers of user files and backups.
EFS - Amazon EFS (Amazon Elastic File System) provides scalable network file storage for Amazon EC2 cloud computing service users.
EBS - Amazon EBS (Amazon Elastic Block Storage) is block storage for Amazon EC2 compute instances - it is similar to hard drives attached to your computers or laptops, but in a virtualized environment.
More info - https://www.msp360.com/resources/blog/amazon-s3-vs-ebs-vs-efs/
What is Amazon FSx
Amazon FSx provides full managed third-party file systems
It provides you with two file systems to choose from:
* Amazon FSx for Windows Filer Server (for Windows-based applications)
* Amazong FSx for Lustre (for compute-intensive workloads). Use cases include machine learning, video processing. Integrates with S3 (Windows does not)
Amazon FSx benefits
Amazon FSx key features:
* high availabiliy: replicated data within an Availability Zone (AZ)
* Multi-AZ: file systems include an ative and standby file server in seperate AZs
More details - https://digitalcloud.training/amazon-fsx/
What is AWS Storage Gateway
AWS Storage Gateway is a set of hybrid cloud storage services that provide on-premises access to virtually unlimited cloud storage (S3, FSx for Windows File Server etc).
https://aws.amazon.com/storagegateway/
Use cases for AWS Storage Gateway?
- Hybrid cloud workflows store - File data as objects using data generated by on-premises applications for processing by AWS services such as machine learning or big data analytics.
- Migrate application data to EBS - Use a snapshot of your on-premises volumes to recreate the data on EBS and use with Amazon EC2-based applications.
- Back up data to the cloud - Provide cloud-based backup for on-premises files and database applications for low-cost, virtually unlimited scale.