[AWS SAA-C02 Study Note] Storage: EFS, EBS, FSx, Instance Store, Storage Gateway

EFS

Elastic File System

Scalable, elastic, cloud-native NFS file system

attach single file system to multiple EC2 instances

/img/AWS/Storage/Untitled.png

$0.30GB/month

  • like network file system: access file across instances

EFS Cheat Sheet

/img/AWS/Storage/Untitled%201.png

EBS

!!!EBS can only be attached to one instance one time!!!

Elastic Block Store

A virtual hard drive in the cloud.

create new volumes attach to EC2 instances, backup via snapshots and easy encryption

when you launch EC2 instance, you need to select storage of EC2 instance

/img/AWS/Storage/Untitled%202.png

Intro to EBS

/img/AWS/Storage/Untitled%203.png

/img/AWS/Storage/Untitled%204.png

Volume Type Usage

/img/AWS/Storage/Untitled%205.png

Storage Volumes

HDD

/img/AWS/Storage/Untitled%206.png

SSD

/img/AWS/Storage/Untitled%207.png

Magnetic Type

cheap, durable, etc.

/img/AWS/Storage/Untitled%208.png

Moving Volumes

From one AZ to another

  1. take a Snapshot of the volume
  2. create an AMI from the Snapshot
  3. launch new EC2 instance in desired AZ

/img/AWS/Storage/Untitled%209.png

From one region to another

  1. take a Snapshot of the volume
  2. create an AMI from the Snapshot
  3. copy the AMI to another region
  4. launch a new EC2 instance from the copied AMI

/img/AWS/Storage/Untitled%2010.png

Encrypted Root Volume

/img/AWS/Storage/Untitled%2011.png

work with KMS

EBS vs. Instance Store Volumes

An EC2 instance can be backed (root device) by an EBS or Instance Store Volume

/img/AWS/Storage/Untitled%2012.png

EBS Cheat Sheet

/img/AWS/Storage/Untitled%2013.png

FSx

/img/AWS/Storage/Untitled%2014.png

/img/AWS/Storage/Untitled%2015.png

Amazon FSx makes it easy and cost effective to launch and run popular file systems that are fully managed by AWS. With Amazon FSx, you can leverage the rich feature sets and fast performance of widely-used open source and commercially-licensed file systems, while avoiding time-consuming administrative tasks such as hardware provisioning, software configuration, patching, and backups. It provides cost-efficient capacity with high levels of reliability, and integrates with a broad portfolio of AWS services to enable faster innovation.

Amazon FSx provides two file systems to choose from: Amazon FSx for Windows File Server for business applications and Amazon FSx for Lustre for compute-intensive workloads.

For Windows File Server

!!!when WINDOWS appear!!!

Amazon FSx for Windows File Server provides fully managed, highly reliable, and scalable file storage that is accessible over the industry-standard Server Message Block (SMB) protocol. It is built on Windows Server, delivering a wide range of administrative features such as user quotas, end-user file restore, and Microsoft Active Directory (AD) integration. It offers single-AZ and multi-AZ deployment options, fully managed backups, and encryption of data at rest and in transit. You can optimize cost and performance for your workload needs with SSD and HDD storage options; and you can scale storage and change the throughput performance of your file system at any time. Amazon FSx file storage is accessible from Windows, Linux, and MacOS compute instances and devices running on AWS or on premises.

For Lustre

!!!when high performance appear!!!

Amazon FSx for Lustre is a fully managed service that provides cost-effective, high-performance, scalable storage for compute workloads. Many workloads such as machine learning, high performance computing (HPC), video rendering, and financial simulations depend on compute instances accessing the same set of data through high-performance shared storage.

Powered by Lustre, the world’s most popular high-performance file system, FSx for Lustre offers sub-millisecond latencies, up to hundreds of gigabytes per second of throughput, and millions of IOPS. It provides multiple deployment options and storage types to optimize cost and performance for your workload requirements.

FSx for Lustre file systems can also be linked to Amazon S3 buckets, allowing you to access and process data concurrently from both a high-performance file system and from the S3 API.

EC2 Instance Store

An instance store provides temporary block-level storage for your instance.

This storage is located on disks that are physically attached to the host computer. Instance store is ideal for temporary storage of information that changes frequently, such as buffers, caches, scratch data, and other temporary content, or for data that is replicated across a fleet of instances, such as a load-balanced pool of web servers.

Untitled

Storage Gateway

comment: aim to only use AWS Storage service, and run application on on-premise data center

Extending, backing up on-premise storage to the cloud

Intro

connects an on-premises software appliance with cloud-based storage

provides you seamless and secure integration between your organization’s on-premise IT environment and AWS’s storage infrastructure

/img/AWS/Storage/Untitled%2017.png

!!! There are 3 types of Gateways

/img/AWS/Storage/Untitled%2018.png

  • File Gateway (NFS/SMB): store you file in S3
  • Volume Gateway (iSCSI): store copies of your hard disk drives in S3
    • storage volumes
    • cached volumes
  • Tape Gateway (VTL): virtual tape library

File Gateway (NFS/SMB)

your files are as objects insider your S3 buckets

access your files through NFS or SMB mount point

/img/AWS/Storage/Untitled%2019.png

/img/AWS/Storage/Untitled%2020.png

Volume Gateway (iSCSI)

Volume Gateway presents your applications with disk volumes using the Internet Small Computer System Interface (iSCSI)

/img/AWS/Storage/Untitled%2021.png

EBS

/img/AWS/Storage/Untitled%2022.png

Stored Volumes

primary data is stored locally, while asynchronously backing up that data to AWS

[Advantages] provide your on-premises applications with low-latency access to their entire datasets, while still providing durable off-site backups

/img/AWS/Storage/Untitled%2023.png

Cached Volumes

Let you use AWS S3 as your primary data storage, while retaining frequently accessed data locally in your storage gateway.

[Advantages] Minimizes the need to scale your on-premise storage infrastructure, while still providing your applications with low latency data access.

/img/AWS/Storage/Untitled%2024.png

Tape Gateway (VTL)

[Long Storage]

A durable, cost-effective solution to archive your data in the AWS cloud

The VTL interface it provides let you leverage existing tape-based backup application infrastructure

/img/AWS/Storage/Untitled%2025.png

store data on virtual tape cartridges that you create on your tape gateway

Each tape gateway is pre-configured with a media changer and tape drives, which are available to your existing client backup applications as iSCSI devices

You add tape cartridges as you need to archive your data.

Supported by NetBackup, Backup Exec and Veeam (Tape Service).

/img/AWS/Storage/Untitled%2026.png

Storage Gateway Cheat Sheet

/img/AWS/Storage/Untitled%2027.png