By using AWS re:Post, you agree to the Terms of Use

Use FSx windows filesystem in c# lambda


Besides using the SMBLibrary, is there any way to access a windows FSx filesystem from a lambda function written in C#?

Is there a way to mount the FSx filesystem in the lambda so it can be used?

1 Answer


You would want to use the SMSMBLibrary client implementation. SMBLibrary gives .NET developers an easy way to share a directory / file system / virtual file system, with any operating system that supports the SMB protocol. SMBLibrary is modular, you can take advantage of Integrated Windows Authentication and the Windows storage subsystem on a Windows host or use independent implementations that allow for cross-platform compatibility. Having said that, pls have a look at this BlogPost here and the accompanying source code in GitHub that walks you through the necessary code fragments to show two operations (store file and list shares) on a preexisting FSx for Windows File Server share in a AWS Lambda function. Hope you find this useful.

answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions