SlideShare a Scribd company logo
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon Elastic File System (EFS) for File Storage
Darryl S. Osborne
Storage Specialist Solutions Architect
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
http://bit.ly/amazonefs20170906
AWS Storage Days | New York | September 6, 2017
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon EFS
• Highly available & durable
• Petabyte-scale
• Elastic
( capacity auto grows & shrinks )
• High performing
( high throughput & low latency )
• Shared
( mount to multiple instances )
• File system
( file system semantics )
( strong consistency & file locking )
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Do you need an EFS file system?
• If you have an application running on Amazon EC2 or a use case that
requires a file system…
• AND
– Requires multi-attach OR
– GBs/s throughput OR
– Multi-AZ availability/durability OR
– Requires automatic scaling (grow/shrink) of storage
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Shared file solutions in the cloud… before EFS
Third-party software
Do it yourself
Third-party hardware in AWS
AWS Direct Connect locations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Do it yourself – NFS architecture
NFS
Server
Volume Volume
NFS
Server
Volume Volume
NFS
Server
Volume Volume
NFS
Clients
NFS
Clients
NFS
Clients
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Do it yourself
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Do it yourself NFS architecture
NFS
Server
Volume Volume
NFS
Server
Volume Volume
NFS
Server
Volume Volume
NFS
Clients
NFS
Clients
NFS
Clients
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon EFS architecture
NFS
Clients
NFS
Clients
NFS
Clients
Mount
Target
Single Namespace
Mount
Target
Mount
Target
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Do it yourself NFS cost
NFS
Server
Volume Volume
NFS
Server
Volume Volume
NFS
Server
Volume Volume
NFS
Clients
NFS
Clients
NFS
Clients
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon EFS cost
NFS
Clients
NFS
Clients
NFS
Clients
Mount
Target
Single Namespace
Mount
Target
Mount
Target
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
EC2
EC2
…
EC2
EC2
…
EC2
EC2
…
• File systems distributed across
unconstrained number of
servers
– Avoids bottlenecks/constraints
of traditional file servers
– Enables high levels of
aggregate IOPS/throughput
• Data also distributed across
Availability Zones (durability,
availability)
Amazon EFS – distributed data storage design
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Take advantage of
the EFS distributed
architecture
Parallelize via multiple threads and/or multiple instances
0
5000
10000
15000
20000
25000
30000
0 20 40 60 80 100 120 140 160
IOPS
# of Total Threads
Aggregate IOPS of parallel writes using
10 m4.xlarge instances
Parallelize
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Parallelize
Amazon EC2
Instance
Amazon EFS
Amazon EFS
File System
Parallelize using multiple threads
Parallelize using
multiple instances
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
I/O size impacts
throughput of
serialized
operations
4 KB 32 KB 256 KB 2 MB 16 MB
I/O size
Throughput
I/O size implication
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Performance
• Based on size of file system
• Baseline throughput 50 MiB/s per TiB
• Credit system to allow file systems to burst
• Starts with 2.1 TiB burst credits
• Min. burst throughput 100 MiB/s
• Burst throughput 100 MiB/s Per TiB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Performance modes
Mode What it is for Advantages Tradeoffs When to use
General
purpose
(default)
Latency-sensitive
applications and
general-purpose
workloads
Lowest latencies
for file
operations
Limit of 7K
ops/sec
Best choice for
most workloads
Max I/O
Large-scale and
data-heavy
applications
Virtually
unlimited ability
to scale out
throughput/
IOPS
Slightly higher
latencies
Consider for large
scale-out
workloads
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Source Destination
Network
Tool
What effects transfer performance?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
http://bit.ly/amazonefs20170906
AWS Storage Days | New York | September 6, 2017
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Maximize performance
• Not all file transfer utilities are created equal
– Select the appropriate utility for the job
rsync cp fpsync mcp
cp+
GNU parallel
fpart+cpio+
GNU parallel
single-
threaded
single-
threaded
multi-
threaded
multi-
threaded
multi-threaded multi-threaded
Poor
(very chatty)
Good Better Better Better Best
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Maximize performance example
EC2 Instance: c4.xlarge Instance
Test 1: Transfer 5,000 - 1MB files (5 GB) from EBS to EFS
Test 2: Transfer 500 - 10MB files (5 GB) from EBS to EFS
Test rsync cp fpsync mcp
cp+
GNU parallel
fpart+cpio+
GNU parallel
1
~8.3 MB/s
~10m3s
~10.5 MB/s
~7m55s
~18.6 MB/s
~4m38s
~50.0 MB/s
~1m40s
~57.5 MB/s
~1m27s
~78.0 MB/s
~1m4s
2
~26.0 MB/s
~3m12s
~26.0 MB/s
~3m11s
~30.5 MB/s
~2m44s
~86.0 MB/s
~58s
~128.0 MB/s
~39s
~151.5 MB/s
~33s
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Maximize performance example
0
100
200
300
400
500
600
700
rsync cp fpsync mcp cp + GNU Parallel fpart + cpio + GNU
Parallel
Different File Transfer Tools
Duration Throughput
Transfer 5,000 1 MB files (~5,0 GB) from EBS to EFS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Amazon EFS Scale-out Demo
AWS Storage Days | New York | September 6, 2017
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Security
• Encrypt data at rest using keys managed in AWS KMS
• Control network traffic using VPC security groups and
network ACLS
• Control file and directory access by using POSIX
permissions
• Control administrative access (API access) to file
systems by using AWS Identity and Access Management
(IAM)
action-level and resource-level permissions
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Where is EFS available today?
• US West (Oregon)
• US East (N. Virginia)
• US East (Ohio)
• EU (Ireland)
• Asia Pacific (Sydney)
• EU (Frankfurt)
More coming soon!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Key recommendations
• Test your application!
• Use General Purpose mode for lowest latency, Max-I/O for
scale-out
• Use Linux kernel version 4.0 or newer, mount via NFSv4.1
• To optimize, look for opportunities to:
• Aggregate I/O
• Perform async operations
• Parallelize
• Cache
• Don’t forget to check your burst credit earn/spend rate when
testing – ensure sufficient amount of storage
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Reference
• AWS Loft EFS hands-on walkthrough – https://bit.ly/awsloft2017
• AWS 10-minute tutorials – https://aws.amazon.com/getting-started/tutorials/
• Amazon EFS webpage – https://aws.amazon.com/efs/
• What is a Cloud File System? – https://aws.amazon.com/what-is-cloud-file-storage/
• Amazon EFS TCO – https://aws.amazon.com/efs/tco/
• YouTube AWS channel – https://www.youtube.com/user/amazonwebservices
• Reference architecture – https://aws.amazon.com/architecture/
• QuickStarts – https://aws.amazon.com/architecture/
• Qwiklabs – https://aws.qwiklabs.com/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
aws.amazon.com/activate
Everything and Anything Startups
Need to Get Started on AWS

More Related Content

What's hot

Amazon EFS
Amazon EFSAmazon EFS
Amazon Elastic File System (Amazon EFS) Introduction & Demo
Amazon Elastic File System (Amazon EFS) Introduction & DemoAmazon Elastic File System (Amazon EFS) Introduction & Demo
Amazon Elastic File System (Amazon EFS) Introduction & Demo
Amazon Web Services
 
DEV317_Deep Dive on AWS CloudFormation
DEV317_Deep Dive on AWS CloudFormationDEV317_Deep Dive on AWS CloudFormation
DEV317_Deep Dive on AWS CloudFormation
Amazon Web Services
 
STG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data WorkloadsSTG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data Workloads
Amazon Web Services
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
Amazon Web Services
 
Pitt Immersion Day Module 4 - storage in AWS
Pitt Immersion Day Module 4 - storage in AWSPitt Immersion Day Module 4 - storage in AWS
Pitt Immersion Day Module 4 - storage in AWS
EagleDream Technologies
 
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
Amazon Web Services
 
STG320_Storage
STG320_StorageSTG320_Storage
STG320_Storage
Amazon Web Services
 
Amazon EFS: Leverage the Power of a Distributed Shared File System in the Clo...
Amazon EFS: Leverage the Power of a Distributed Shared File System in the Clo...Amazon EFS: Leverage the Power of a Distributed Shared File System in the Clo...
Amazon EFS: Leverage the Power of a Distributed Shared File System in the Clo...
Amazon Web Services
 
DAT340_Hands-On Journey for Migrating Oracle Databases to the Amazon Aurora P...
DAT340_Hands-On Journey for Migrating Oracle Databases to the Amazon Aurora P...DAT340_Hands-On Journey for Migrating Oracle Databases to the Amazon Aurora P...
DAT340_Hands-On Journey for Migrating Oracle Databases to the Amazon Aurora P...
Amazon Web Services
 
DAT305_Amazon ElastiCache Deep Dive
DAT305_Amazon ElastiCache Deep DiveDAT305_Amazon ElastiCache Deep Dive
DAT305_Amazon ElastiCache Deep Dive
Amazon Web Services
 
Using Sass in Your WordPress Projects
Using Sass in Your WordPress ProjectsUsing Sass in Your WordPress Projects
Using Sass in Your WordPress Projects
Jeremy Green
 
AWSomeDays 2018 TechTrack
AWSomeDays 2018 TechTrackAWSomeDays 2018 TechTrack
AWSomeDays 2018 TechTrack
Amazon Web Services
 
EC2 and VPC Workshop
EC2 and VPC WorkshopEC2 and VPC Workshop
EC2 and VPC Workshop
Amazon Web Services
 
CTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsCTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video Workflows
Amazon Web Services
 
CTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksCTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash Talks
Amazon Web Services
 
20180322 AWS Black Belt Online Seminar AWS Snowball Edge
20180322 AWS Black Belt Online Seminar AWS Snowball Edge20180322 AWS Black Belt Online Seminar AWS Snowball Edge
20180322 AWS Black Belt Online Seminar AWS Snowball Edge
Amazon Web Services Japan
 
Quilt - Distributed Load Simulation from AWS
Quilt - Distributed Load Simulation from AWSQuilt - Distributed Load Simulation from AWS
Quilt - Distributed Load Simulation from AWS
Ajith Jose
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
Amazon Web Services
 
NET201_Creating Your Virtual Data Center
NET201_Creating Your Virtual Data CenterNET201_Creating Your Virtual Data Center
NET201_Creating Your Virtual Data Center
Amazon Web Services
 

What's hot (20)

Amazon EFS
Amazon EFSAmazon EFS
Amazon EFS
 
Amazon Elastic File System (Amazon EFS) Introduction & Demo
Amazon Elastic File System (Amazon EFS) Introduction & DemoAmazon Elastic File System (Amazon EFS) Introduction & Demo
Amazon Elastic File System (Amazon EFS) Introduction & Demo
 
DEV317_Deep Dive on AWS CloudFormation
DEV317_Deep Dive on AWS CloudFormationDEV317_Deep Dive on AWS CloudFormation
DEV317_Deep Dive on AWS CloudFormation
 
STG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data WorkloadsSTG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data Workloads
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
AWS re:Invent 2016: Deep Dive on Amazon Elastic File System (STG202)
 
Pitt Immersion Day Module 4 - storage in AWS
Pitt Immersion Day Module 4 - storage in AWSPitt Immersion Day Module 4 - storage in AWS
Pitt Immersion Day Module 4 - storage in AWS
 
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
 
STG320_Storage
STG320_StorageSTG320_Storage
STG320_Storage
 
Amazon EFS: Leverage the Power of a Distributed Shared File System in the Clo...
Amazon EFS: Leverage the Power of a Distributed Shared File System in the Clo...Amazon EFS: Leverage the Power of a Distributed Shared File System in the Clo...
Amazon EFS: Leverage the Power of a Distributed Shared File System in the Clo...
 
DAT340_Hands-On Journey for Migrating Oracle Databases to the Amazon Aurora P...
DAT340_Hands-On Journey for Migrating Oracle Databases to the Amazon Aurora P...DAT340_Hands-On Journey for Migrating Oracle Databases to the Amazon Aurora P...
DAT340_Hands-On Journey for Migrating Oracle Databases to the Amazon Aurora P...
 
DAT305_Amazon ElastiCache Deep Dive
DAT305_Amazon ElastiCache Deep DiveDAT305_Amazon ElastiCache Deep Dive
DAT305_Amazon ElastiCache Deep Dive
 
Using Sass in Your WordPress Projects
Using Sass in Your WordPress ProjectsUsing Sass in Your WordPress Projects
Using Sass in Your WordPress Projects
 
AWSomeDays 2018 TechTrack
AWSomeDays 2018 TechTrackAWSomeDays 2018 TechTrack
AWSomeDays 2018 TechTrack
 
EC2 and VPC Workshop
EC2 and VPC WorkshopEC2 and VPC Workshop
EC2 and VPC Workshop
 
CTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video WorkflowsCTD405_Building Serverless Video Workflows
CTD405_Building Serverless Video Workflows
 
CTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash TalksCTD301_Amazon CloudFront Flash Talks
CTD301_Amazon CloudFront Flash Talks
 
20180322 AWS Black Belt Online Seminar AWS Snowball Edge
20180322 AWS Black Belt Online Seminar AWS Snowball Edge20180322 AWS Black Belt Online Seminar AWS Snowball Edge
20180322 AWS Black Belt Online Seminar AWS Snowball Edge
 
Quilt - Distributed Load Simulation from AWS
Quilt - Distributed Load Simulation from AWSQuilt - Distributed Load Simulation from AWS
Quilt - Distributed Load Simulation from AWS
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
 
NET201_Creating Your Virtual Data Center
NET201_Creating Your Virtual Data CenterNET201_Creating Your Virtual Data Center
NET201_Creating Your Virtual Data Center
 

Similar to Amazon Elastic File System (EFS) for File Storage

Amazon Elastic File System (Amazon EFS) for File Storage
Amazon Elastic File System (Amazon EFS) for File StorageAmazon Elastic File System (Amazon EFS) for File Storage
Amazon Elastic File System (Amazon EFS) for File Storage
Amazon Web Services
 
Amazon EFS 深入採討
Amazon EFS 深入採討Amazon EFS 深入採討
Amazon EFS 深入採討
Amazon Web Services
 
STG307_Deep Dive on Amazon Elastic File System (Amazon EFS)
STG307_Deep Dive on Amazon Elastic File System (Amazon EFS)STG307_Deep Dive on Amazon Elastic File System (Amazon EFS)
STG307_Deep Dive on Amazon Elastic File System (Amazon EFS)
Amazon Web Services
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
Amazon Web Services
 
STG309_Deep Dive Using Hybrid Storage with AWS Storage Gateway to Solve On-Pr...
STG309_Deep Dive Using Hybrid Storage with AWS Storage Gateway to Solve On-Pr...STG309_Deep Dive Using Hybrid Storage with AWS Storage Gateway to Solve On-Pr...
STG309_Deep Dive Using Hybrid Storage with AWS Storage Gateway to Solve On-Pr...
Amazon Web Services
 
Data Migration Best Practices
Data Migration Best PracticesData Migration Best Practices
Data Migration Best Practices
Amazon Web Services
 
Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million Users
Amazon Web Services
 
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Amazon Web Services
 
Amazon Elastic Block Store for Application Storage
Amazon Elastic Block Store for Application StorageAmazon Elastic Block Store for Application Storage
Amazon Elastic Block Store for Application Storage
Amazon Web Services
 
Data Migration Best Practice
Data Migration Best PracticeData Migration Best Practice
Data Migration Best Practice
Amazon Web Services
 
Building a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage ServicesBuilding a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage Services
Amazon Web Services
 
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngXây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Amazon Web Services
 
Moving your File Data to Amazon EFS - AWS Online Tech Talks
Moving your File Data to Amazon EFS - AWS Online Tech TalksMoving your File Data to Amazon EFS - AWS Online Tech Talks
Moving your File Data to Amazon EFS - AWS Online Tech Talks
Amazon Web Services
 
Files in AWS: Overcoming Storage Challenges for Common File Use Cases, with S...
Files in AWS: Overcoming Storage Challenges for Common File Use Cases, with S...Files in AWS: Overcoming Storage Challenges for Common File Use Cases, with S...
Files in AWS: Overcoming Storage Challenges for Common File Use Cases, with S...
Amazon Web Services
 
Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...
Amazon Web Services
 
SRV303 Deep Dive on Amazon EFS
 SRV303 Deep Dive on Amazon EFS SRV303 Deep Dive on Amazon EFS
SRV303 Deep Dive on Amazon EFS
Amazon Web Services
 
STG330_Case Study How Experian Leverages Amazon EC2, EBS, and S3 with Clouder...
STG330_Case Study How Experian Leverages Amazon EC2, EBS, and S3 with Clouder...STG330_Case Study How Experian Leverages Amazon EC2, EBS, and S3 with Clouder...
STG330_Case Study How Experian Leverages Amazon EC2, EBS, and S3 with Clouder...
Amazon Web Services
 
How to Migrate Your SaaS Apps to AWS for Increased Agility and Availability
 How to Migrate Your SaaS Apps to AWS for Increased Agility and Availability How to Migrate Your SaaS Apps to AWS for Increased Agility and Availability
How to Migrate Your SaaS Apps to AWS for Increased Agility and Availability
Amazon Web Services
 
Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기
Amazon Web Services Korea
 
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech TalksDeep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Amazon Web Services
 

Similar to Amazon Elastic File System (EFS) for File Storage (20)

Amazon Elastic File System (Amazon EFS) for File Storage
Amazon Elastic File System (Amazon EFS) for File StorageAmazon Elastic File System (Amazon EFS) for File Storage
Amazon Elastic File System (Amazon EFS) for File Storage
 
Amazon EFS 深入採討
Amazon EFS 深入採討Amazon EFS 深入採討
Amazon EFS 深入採討
 
STG307_Deep Dive on Amazon Elastic File System (Amazon EFS)
STG307_Deep Dive on Amazon Elastic File System (Amazon EFS)STG307_Deep Dive on Amazon Elastic File System (Amazon EFS)
STG307_Deep Dive on Amazon Elastic File System (Amazon EFS)
 
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
SRV401 Deep Dive on Amazon Elastic File System (Amazon EFS)
 
STG309_Deep Dive Using Hybrid Storage with AWS Storage Gateway to Solve On-Pr...
STG309_Deep Dive Using Hybrid Storage with AWS Storage Gateway to Solve On-Pr...STG309_Deep Dive Using Hybrid Storage with AWS Storage Gateway to Solve On-Pr...
STG309_Deep Dive Using Hybrid Storage with AWS Storage Gateway to Solve On-Pr...
 
Data Migration Best Practices
Data Migration Best PracticesData Migration Best Practices
Data Migration Best Practices
 
Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million Users
 
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
Optimizing Storage for Enterprise Workloads and Migrations (STG202) - AWS re:...
 
Amazon Elastic Block Store for Application Storage
Amazon Elastic Block Store for Application StorageAmazon Elastic Block Store for Application Storage
Amazon Elastic Block Store for Application Storage
 
Data Migration Best Practice
Data Migration Best PracticeData Migration Best Practice
Data Migration Best Practice
 
Building a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage ServicesBuilding a Strong Foundation with AWS Storage Services
Building a Strong Foundation with AWS Storage Services
 
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngXây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
 
Moving your File Data to Amazon EFS - AWS Online Tech Talks
Moving your File Data to Amazon EFS - AWS Online Tech TalksMoving your File Data to Amazon EFS - AWS Online Tech Talks
Moving your File Data to Amazon EFS - AWS Online Tech Talks
 
Files in AWS: Overcoming Storage Challenges for Common File Use Cases, with S...
Files in AWS: Overcoming Storage Challenges for Common File Use Cases, with S...Files in AWS: Overcoming Storage Challenges for Common File Use Cases, with S...
Files in AWS: Overcoming Storage Challenges for Common File Use Cases, with S...
 
Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...
 
SRV303 Deep Dive on Amazon EFS
 SRV303 Deep Dive on Amazon EFS SRV303 Deep Dive on Amazon EFS
SRV303 Deep Dive on Amazon EFS
 
STG330_Case Study How Experian Leverages Amazon EC2, EBS, and S3 with Clouder...
STG330_Case Study How Experian Leverages Amazon EC2, EBS, and S3 with Clouder...STG330_Case Study How Experian Leverages Amazon EC2, EBS, and S3 with Clouder...
STG330_Case Study How Experian Leverages Amazon EC2, EBS, and S3 with Clouder...
 
How to Migrate Your SaaS Apps to AWS for Increased Agility and Availability
 How to Migrate Your SaaS Apps to AWS for Increased Agility and Availability How to Migrate Your SaaS Apps to AWS for Increased Agility and Availability
How to Migrate Your SaaS Apps to AWS for Increased Agility and Availability
 
Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기Amazon EFS (Elastic File System) 이해하고사용하기
Amazon EFS (Elastic File System) 이해하고사용하기
 
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech TalksDeep Dive on Elastic File System - February 2017 AWS Online Tech Talks
Deep Dive on Elastic File System - February 2017 AWS Online Tech Talks
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Amazon Elastic File System (EFS) for File Storage

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon Elastic File System (EFS) for File Storage Darryl S. Osborne Storage Specialist Solutions Architect
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved http://bit.ly/amazonefs20170906 AWS Storage Days | New York | September 6, 2017
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon EFS • Highly available & durable • Petabyte-scale • Elastic ( capacity auto grows & shrinks ) • High performing ( high throughput & low latency ) • Shared ( mount to multiple instances ) • File system ( file system semantics ) ( strong consistency & file locking )
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Do you need an EFS file system? • If you have an application running on Amazon EC2 or a use case that requires a file system… • AND – Requires multi-attach OR – GBs/s throughput OR – Multi-AZ availability/durability OR – Requires automatic scaling (grow/shrink) of storage
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Shared file solutions in the cloud… before EFS Third-party software Do it yourself Third-party hardware in AWS AWS Direct Connect locations
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Do it yourself – NFS architecture NFS Server Volume Volume NFS Server Volume Volume NFS Server Volume Volume NFS Clients NFS Clients NFS Clients
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Do it yourself
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Do it yourself NFS architecture NFS Server Volume Volume NFS Server Volume Volume NFS Server Volume Volume NFS Clients NFS Clients NFS Clients
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon EFS architecture NFS Clients NFS Clients NFS Clients Mount Target Single Namespace Mount Target Mount Target
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Do it yourself NFS cost NFS Server Volume Volume NFS Server Volume Volume NFS Server Volume Volume NFS Clients NFS Clients NFS Clients
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon EFS cost NFS Clients NFS Clients NFS Clients Mount Target Single Namespace Mount Target Mount Target
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved EC2 EC2 … EC2 EC2 … EC2 EC2 … • File systems distributed across unconstrained number of servers – Avoids bottlenecks/constraints of traditional file servers – Enables high levels of aggregate IOPS/throughput • Data also distributed across Availability Zones (durability, availability) Amazon EFS – distributed data storage design
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Take advantage of the EFS distributed architecture Parallelize via multiple threads and/or multiple instances 0 5000 10000 15000 20000 25000 30000 0 20 40 60 80 100 120 140 160 IOPS # of Total Threads Aggregate IOPS of parallel writes using 10 m4.xlarge instances Parallelize
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Parallelize Amazon EC2 Instance Amazon EFS Amazon EFS File System Parallelize using multiple threads Parallelize using multiple instances
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved I/O size impacts throughput of serialized operations 4 KB 32 KB 256 KB 2 MB 16 MB I/O size Throughput I/O size implication
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Performance • Based on size of file system • Baseline throughput 50 MiB/s per TiB • Credit system to allow file systems to burst • Starts with 2.1 TiB burst credits • Min. burst throughput 100 MiB/s • Burst throughput 100 MiB/s Per TiB
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Performance modes Mode What it is for Advantages Tradeoffs When to use General purpose (default) Latency-sensitive applications and general-purpose workloads Lowest latencies for file operations Limit of 7K ops/sec Best choice for most workloads Max I/O Large-scale and data-heavy applications Virtually unlimited ability to scale out throughput/ IOPS Slightly higher latencies Consider for large scale-out workloads
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Source Destination Network Tool What effects transfer performance?
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved http://bit.ly/amazonefs20170906 AWS Storage Days | New York | September 6, 2017
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Maximize performance • Not all file transfer utilities are created equal – Select the appropriate utility for the job rsync cp fpsync mcp cp+ GNU parallel fpart+cpio+ GNU parallel single- threaded single- threaded multi- threaded multi- threaded multi-threaded multi-threaded Poor (very chatty) Good Better Better Better Best
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Maximize performance example EC2 Instance: c4.xlarge Instance Test 1: Transfer 5,000 - 1MB files (5 GB) from EBS to EFS Test 2: Transfer 500 - 10MB files (5 GB) from EBS to EFS Test rsync cp fpsync mcp cp+ GNU parallel fpart+cpio+ GNU parallel 1 ~8.3 MB/s ~10m3s ~10.5 MB/s ~7m55s ~18.6 MB/s ~4m38s ~50.0 MB/s ~1m40s ~57.5 MB/s ~1m27s ~78.0 MB/s ~1m4s 2 ~26.0 MB/s ~3m12s ~26.0 MB/s ~3m11s ~30.5 MB/s ~2m44s ~86.0 MB/s ~58s ~128.0 MB/s ~39s ~151.5 MB/s ~33s
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Maximize performance example 0 100 200 300 400 500 600 700 rsync cp fpsync mcp cp + GNU Parallel fpart + cpio + GNU Parallel Different File Transfer Tools Duration Throughput Transfer 5,000 1 MB files (~5,0 GB) from EBS to EFS
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon EFS Scale-out Demo AWS Storage Days | New York | September 6, 2017
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Security • Encrypt data at rest using keys managed in AWS KMS • Control network traffic using VPC security groups and network ACLS • Control file and directory access by using POSIX permissions • Control administrative access (API access) to file systems by using AWS Identity and Access Management (IAM) action-level and resource-level permissions
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Where is EFS available today? • US West (Oregon) • US East (N. Virginia) • US East (Ohio) • EU (Ireland) • Asia Pacific (Sydney) • EU (Frankfurt) More coming soon!
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Key recommendations • Test your application! • Use General Purpose mode for lowest latency, Max-I/O for scale-out • Use Linux kernel version 4.0 or newer, mount via NFSv4.1 • To optimize, look for opportunities to: • Aggregate I/O • Perform async operations • Parallelize • Cache • Don’t forget to check your burst credit earn/spend rate when testing – ensure sufficient amount of storage
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Reference • AWS Loft EFS hands-on walkthrough – https://bit.ly/awsloft2017 • AWS 10-minute tutorials – https://aws.amazon.com/getting-started/tutorials/ • Amazon EFS webpage – https://aws.amazon.com/efs/ • What is a Cloud File System? – https://aws.amazon.com/what-is-cloud-file-storage/ • Amazon EFS TCO – https://aws.amazon.com/efs/tco/ • YouTube AWS channel – https://www.youtube.com/user/amazonwebservices • Reference architecture – https://aws.amazon.com/architecture/ • QuickStarts – https://aws.amazon.com/architecture/ • Qwiklabs – https://aws.qwiklabs.com/
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved aws.amazon.com/activate Everything and Anything Startups Need to Get Started on AWS