asked on
How design AWS storage volume for file sharing
Hi
I have currently an on-premise a linux server that is attached to network storage with 500 GB of files on it. The files on storage are also accessed by a windows server.
If i want to setup similar configuration on AWS, and I create an EC2 machine with EBS storage would the second windows server still be able to access the files on EBS or not?
My understanding is that EFS or FSX is used for file sharing between linux and windows machines but would the EBS still work or not?
Yes, that’s correct.
ASKER
If that is correct, setting FSx file share will not work/
Yes - that’s correct.
If you want to use both Linux and Windows, then use EFS as FSx will not work on Linux
ASKER
They also mention that EFS is not compatible with windows. I am not sure if this is accurate.
https://pilotcoresystems.com/insights/ebs-efs-fsx-s3-how-these-storage-options-differ/#:~:text=EFS%20works%20with%20Linux%20and,with%20all%20Window%20Server%20platforms.
While most EBS volumes can only bind to one server at a time, the launch of Amazon EBS Multi-Attach as outlined in this announcement for provisioned IOPS volumes offers greater flexibility in some scenarios. AWS EBS multi-attach allows you to connect a single EBS volume to multiple instances of supported types, a feature that has been long awaited by many.
EFS is not compatible with Windows.
Yes -I’ve just had a good read and the AWS EFS is not compatible with windows!
Its seems the S3 is often used and may be a good option:
https://www.nakivo.com/blog/mount-amazon-s3-as-a-drive-how-to-guide/
From what I can see, the EBS Multi-attach does have some limitations - and looks only to be supported on Windows Servers rather than workstations:
“In order to access an EBS volume from multiple instances, the operating system must support a cluster file system, such as the Microsoft Cluster Shared Volume (CSV), which is only available on Windows Server instances. Without support for a cluster file system, it would not be possible for multiple instances to access the same EBS volume simultaneously without causing data inconsistencies.”
ASKER
They said EFS and FSx are the two file shares to be used for sharing.
Hi,
I’ve flagged this question for more assistance as I’m not sure I can help any further - and you would benefit from someone with more knowledge.
ASKER
It does not seem there any AWS storage experts on the site. However, it seems based on this page the only storage solution would be "FSx for windows File Server" which can be mounted by both Linux and windows machines.
https://tutorialsdojo.com/amazon-efs-vs-amazon-fsx-for-windows-vs-amazon-fsx-for-lustre/#:~:text=FSx%20for%20Lustre%20can%20only,system%20using%20standard%20Linux%20commands.
Amazon FSx for Windows File Server (Amazon FSx) supports access from mixed Windows and Linux environments by fully supporting the SMB protocol. This includes access from Linux using the Linux SMB client. It allows customers to easily move their shared file storage to the cloud and provides a fully managed, native Windows File Server on AWS. It automatically takes care of setup and provisioning, replication, failover, and maintenance. Moreover, it supports SMB protocol, Windows NTFS, and Active Directory integration, both on-premises integration and in-cloud.
ASKER
https://aws.amazon.com/fsx/netapp-ontap/
ASKER
ASKER
I think FSx can only be accessed by Windows machines. Does this mean we should create EFS volume so both machine can mount and access?