Storage in AWS
Storage in AWS
• Introduction
• Storage Primer
• Block Storage
• Shared File Systems
• Object Store
• On-Premises Storage Integration
2 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introduction: Why choose AWS for storage
Compelling Speed,
Economics Easy to Use Reduce risk Agility, Scale
Pay as you go Self service Durable and Secure Reduce time to
administration market
Avoid risks of
No risky capacity SDKs for simple physical media Focus on your
planning integration handling business, not your
No need to infrastructure
No Commitment
provision Global Scale
for redundancy
or overhead
3 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0
Storage Primer
4 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Block vs File vs Object
Block Storage
Raw Storage
Data organized as an array of unrelated blocks
Host File System places data on disk
Ex: Hard Disks, Storage Area Network (SAN) Storage Arrays
File Storage
Unrelated data blocks managed by a file (serving) system
Native file system places data on disk
Ex: Network Attached Storage (NAS) Appliances, Windows File Servers
Object Storage
Stores Virtual containers that encapsulate the data, data attributes, metadata and Object IDs
API Access to data
Metadata Driven, Policy-based, etc.
Ex: Ceph, OpenStack Swift
5 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage - Characteristics
Some of the ways we look at storage
Durability Availability Security Cost Scalability Performance Integration
Measure of Measure of Security Amount per Upward Performance Ability to
expected data expected measures for storage unit, flexibility, metrics interact via API
loss downtime at-rest and in- e.g. $ / GB storage size, (bandwidth or with other
transit data number of services
users
6 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Understanding Durability
Standard IA Glacier
7 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability vs Durability
% Availability Durability
99.999 5 minutes 15 seconds 1 in 100,000
99.9999 31 seconds 1 in 1,000,000
99.99999 3 seconds 1 in 10,000,000
99.999999999 300 uSeconds 1 in 100,000,000,000
8 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
More choice for more applications
Block storage File storage
General Purpose SSD EFS Standard
Provisioned IOPS SSD EFS Infrequent Access
Amazon AWS Storage
Throughput-Optimized HDD EFS Gateway Family FSx for Windows
Amazon EC2
Cold HDD FSx for Lustre
Amazon FSx
for Windows
Amazon EBS
File Server
Amazon FSx Object storage
for Lustre
Backup S3 Standard
S3 Standard-IA
S3 One Zone-IA
S3 Intelligent-Tiering
Amazon S3
S3 Glacier
S3 Glacier Deep Archive
9 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1
Block Storage
10 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is Amazon EBS?
EC2
instance
• Block storage as a service
• Create, attach volumes through an API
• Service accessed over the network
EBS
volume
11 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS EBS Features
Durable Secure Scalable
Designed for 99.999 Identity and Capacity when
reliability Access Policies you need it
Redundant storage Encryption Easily scale up
across multiple devices and down
within an AZ
Performance Backup
Low-latency SSD Point-in-time Snapshots
Consistent I/O Performance Copy snapshots across AZ
Stripe multiple volumes for and Regions
higher I/O performance
12 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EBS
Network attached block device
• Independent data lifecycle
• Multiple volumes per EC2 instance
• Only one EC2 instance at a time per volume
• Can be detached from an instance and attached to a different one
13 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EBS volume types
SSD HDD
14 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EBS use cases
SSD HDD
15 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EBS volume types: General Purpose SSD
16 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EBS volume types: Provisioned IOPS
Latency: Single-digit ms
17 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EBS volume types: Throughput
Provisioned
Baseline: 40 MiB/s per TiB up to 500 MiB/s
st1
Throughput Optimized HDD
18 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EBS volume types: Cold HDD
sc1
Cold HDD
19 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EBS Snapshots
• Point-in-time snapshots of volume blocks
• Stored in Amazon S3 and accessed via EBS APIs
• Key Features:
• Immediate access to EBS volume data
• Resizing EBS volumes
• Sharing EBS Snapshots
• Copying EBS Snapshots across AWS regions
21 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EBS Snapshots – Delta Block Changes
AWS Cloud
EC2 Availability Zone Amazon S3
Create Snapshot
EBS EBS EBS EBS EBS EBS
EBS Snapshot
Internet
22 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How Do EBS Snapshots Work?
Time
X
Snapshot 1 Snapshot 2 Snapshot 3
S3
EBS Volume
Block 11
Chunk
Block 22
Chunk
Block 33
Chunk
Block 44
Chunk
23 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is Amazon EC2 instance store?
EC2 instances
• Local to instance
• Non-persistent data store
• Available on certain EC2
families
Instance Store – Ex: d2, i3, r5d, m5d
• Data is not replicated (by
or
default)
• No snapshot support
Physical Host • SSD or HDD
24 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2
Shared file system
25 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic File System (EFS)
26 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1 Amazon EFS is Simple
Fully managed
- No hardware, network, file layer
- Create a scalable file system in seconds!
Seamless integration with existing tools and apps
- NFS v4.1—widespread, open
- Standard file system access semantics
- Works with standard OS file system APIs
Simple pricing = simple forecasting
27 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2 Amazon EFS is Elastic
28 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3 Amazon EFS is Scalable
29 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Highly Durable and Highly Available
30 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Example use cases
Mount on machine
sudo mount -t nfs4 mount-target-DNS:/ ~/efs-mount-point
32 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EFS Lifecycle Management
34 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
FSx for Windows
SMB AD
NTFS Native SMB Integrates with DFS
Microsoft AD Namespaces
2.0 to 3.1.1 and supports and
Native Windows Windows ACLs DFS Replication
compatibility
Windows Server
36 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3
Object Stores
38 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3 (Simple Storage Service)
39 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Your choice of object storage classes
S3 Glacier
S3 Standard S3 Intelligent-Tiering S3 Standard-IA S3 One Zone-IA S3 Glacier
Deep Archive
Frequent Access Frequency Infrequent
• Active, frequently • Data with changing • Infrequently • Re-creatable, less • Archive data • Archive data
accessed data access patterns accessed data accessed data • Select minutes or • Select 12 or 48
• Milliseconds access • Milliseconds access • Milliseconds access • Milliseconds access hours hours
• > 3 AZ • > 3 AZ • > 3 AZ • 1 AZ • > 3 AZ • > 3 AZ
• $0.0210/GB • $0.0210 to • $0.0125/GB • $0.0100/GB • $0.0040/GB • $0.00099/GB
$0.0125/GB • Retrieval fee per GB • Retrieval fee per GB • Retrieval fee per GB • Retrieval fee per GB
• Monitoring fee per • Min storage duration • Min storage duration • Min storage duration • Min storage duration
Obj. • Min object size • Min object size • Min object size • Min object size
• Min storage duration
40 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
S3 Management Features
41 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
S3 Access Management & Security
• Deep integration with AWS Identity and Access Management (IAM)
• Access Control Lists (ACLs) & S3 bucket policies
• Query String Authentication
• Audit Logs
• S3 supports both server-side & client-side encryption
• S3 Inventory to check the encryption status of S3 objects
• S3 Block Public Access to ensure S3 buckets and objects do not have
public access
• Amazon Macie to discover, classify, and protect sensitive data stored
in Amazon S3
42 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4
On-Premises Storage
45
Integration
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Many Options for Data Transfer
46 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage Gateway hybrid storage solutions
Enables using standard storage protocols to access AWS storage services
Files Amazon S3
Amazon EBS
Tapes
snapshots
47 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage Gateway – Files, volumes, and tapes
48 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Storage Gateway – Common capabilities
49 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Tape gateway
Virtual tape storage in Amazon S3 and Glacier with VTL management
Customer Premises
CHANGER
MEDIA
iSCSI HTTPS
DRIVE
TAPE
Gateway Tapes stored in
Server stored in Amazon Glacier
Amazon S3
Virtual tape storage in S3 and Glacier accessed via tape gateway
Data compressed in-transit and at-rest
Unlimited virtual tape storage, with up to 1PB of tapes active in library
Supports leading backup applications:
50 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
File gateway
On-premises file storage maintained as objects in Amazon S3
Customer Premises
NFS
v3 / v4.1
HTTPS
51 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Volume gateway
On-premises volume storage backed by Amazon S3 with EBS snapshots
Customer Premises
iSCSI HTTPS
53 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EW
AWS DataSync
N
AWS
54 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EW
On-Premise Region
AWS storage resources
Amazon S3
bucket
NFS TLS
AWS
Shared AWS DataSync DataSync
file systems agent Amazon EFS
file system
55 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Snowball & Snowball Edge
56 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is Snowball?
Terabyte scale data transport
Ruggedized Rain & dust
case resistant
“8.5G Impact”
E-ink shipping
label Tamper-resistant
case & electronics
• Less than 1 day to transfer 250TB via 5x10G connections with 5 Snowballs,
less than 1 week including shipping
• Number of days to transfer 250TB via the Internet at typical utilizations
58 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Snowmobile
https://www.youtube.com/watch?v=8vQmTZTq7nw
59 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Any Questions?
60 © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.