- Newest
- Most votes
- Most comments
Amazon FSx for Windows File Server is designed to provide fully managed, highly reliable, and scalable file storage that is accessible over the industry-standard Server Message Block (SMB) protocol. It's fully compatible with Windows and provides features like user quotas, end-user file restore, and Microsoft Active Directory integration. However, it is indeed more expensive compared to other services like Amazon S3.
Amazon S3 is a simple storage service that offers industry-leading scalability, data availability, security, and performance. S3 can be integrated with AWS Glacier to archive data in a cost-effective manner. However, it's important to note that S3 does not support SMB directly, and you would need to use something like an Amazon EC2 instance to facilitate this connection.
S3 does not natively support the same permissions model as an SMB file share. S3 uses a bucket and object-based permissions model, rather than the NTFS file permissions model used by SMB. However, you can use AWS Identity and Access Management (IAM) to manage access to your S3 resources.
If maintaining exact NTFS permissions is important, FSx may be your best option despite its higher cost. If you're willing to adapt to the S3 permissions model and manage file access through IAM, you could save costs by using S3.
To transfer files directly from your SMB shares to S3, you can use AWS DataSync. AWS DataSync is a data transfer service that makes it easy for you to automate moving data between on-premises storage and Amazon S3 or Amazon Elastic File System (Amazon EFS). You can use DataSync to migrate active datasets, archive data, replicate data for business continuity, or transfer data to the cloud for analysis and processing.
To automate moving data from S3 to Glacier, you can set up a lifecycle policy on your S3 bucket. A lifecycle policy is a set of rules that define actions that Amazon S3 applies to a group of objects. These rules can make transitions between different storage classes, for example from STANDARD to GLACIER to optimize costs.
So while FSx for Windows File Server may be a more direct solution in terms of preserving SMB shares with their existing permissions, a combination of S3, IAM, DataSync, and S3 Lifecycle Policies can achieve similar results at a potentially lower cost. But it will require more initial setup and possibly adaptation by your end users.
You could read the following CloudFromation template from the AWS Samples repo to understand the configuration required to move data from SMB to S3: AWS DataSync CloudFormation Sample - SMB to S3
Based on your brief description, I'd explore using an S3 file gateway which you can spin up on EC2, and not necessarily have on-prem. You can use that for your SMB access to copy data, spin it down when not in use. Your data would then be on S3 and you could use lifecycle policies to move that over to glacier. Since this may be a one time move to get off the old server, this might work for you.
It doesn't sound like you require all of the fully functioned Windows server environment - so I'd shy away from the FSx for Windows.
From OnPrem Solution 1: You should be able to map SMB permissions to S3 object permissions. Amazon S3 file gateway supports two different methods for controlling access to files and directories that are stored through an SMB file share: POSIX permissions, or Windows ACLs. For details see https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html#:~:text=Note,using%20the%20UpdateSMBFileShare%20API%20operation.
You can use an AWS Storage Gateway, which allows you to create an SMB file share that essentially acts as a "wrapper" around an S3 bucket, effectively translating the granular SMB user/group permissions to corresponding S3 access controls at the bucket and object level, enabling fine-grained access management for your S3 data through the familiar SMB interface.
From AWS/OnPrem Solution 2: Another way to sync SMB to S3 in AWS, then use AWS DataSync to transfer data from an SMB file server (can be OnPrem or in AWS) to an S3 bucket. For details see Configuring AWS DataSync transfers with an SMB file server. Also review AWS DataSync now supports transferring files to and from Amazon FSx for Windows File Server
Relevant content
- asked 8 months ago
- asked 2 months ago
- asked 5 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 8 months ago