Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Windows Server 2016 EC2 mount EFS?

I am new to AWS. I have seen numerous definitive answers saying Windows and AWS EFS can't work with each other. Is it still the case with Windows Server 2016?

like image 870
Silly Dude Avatar asked Jun 08 '17 12:06

Silly Dude


People also ask

Can EFS be mounted on Windows EC2?

Amazon EFS does not support mounting from Amazon EC2 Windows instances.

What are all the OS supported by EFS?

EFS is available in all versions of Windows except the home versions (see Supported operating systems below) from Windows 2000 onwards. By default, no files are encrypted, but encryption can be enabled by users on a per-file, per-directory, or per-drive basis.


4 Answers

Amazon now supports a fully managed native Microsoft Windows file system,look at Amazon FSx for Windows File Server

https://aws.amazon.com/fsx/windows/

like image 121
Hussein Al-Far Avatar answered Oct 19 '22 21:10

Hussein Al-Far


Yes they can but it's some work.

Amazon clearly states that EFS + Windows is not supported. But that doesn't mean it isn't possible. CITI @ University of Michigan made an NFSv4.1 client for Windows several years ago.

To use it with AWS EFS you have to comment out one definition so that it always uses OPEN4_SHARE_DENY_NONE for the share-deny value – AWS specifically states in its Unsupported Features page as disallowing any other value.

And then compile, sign and install. It's not a trivial process, but it's doable. I'm running EFS + Windows Server 2012 R2 on EC2.

More detail in an answer to a similar question: https://stackoverflow.com/a/46625030/137641

like image 22
davemyron Avatar answered Oct 19 '22 22:10

davemyron


No. Windows servers cannot currently (as at June 2017) mount Amazon EFS volumes.

(I don't know if it will be available in future, but I inserted the date because it might be introduced in future.)

like image 23
John Rotenstein Avatar answered Oct 19 '22 22:10

John Rotenstein


I did this the other way around, by using Samba to provide the Windows share, from Linux.

  • Create an AWS EC2 instance.
  • Mount the EFS on the EC2 instance (using mount point IP, ensure same security group)
  • Install Samba on EC2 instance
  • Create local Samba config entry for EC2 local mount point
  • Add security group inbound entry for "SMB" port for client IP.
  • Mount EC2 samba share on Windows

After that, I could successfully mount the EFS volume on Windows.

like image 23
David Thomas Avatar answered Oct 19 '22 20:10

David Thomas