Amazon FSx – Understanding and Optimizing Costs with AWS Storage Services Course
Amazon FSx is another storage service that focuses on file systems, much like EFS. However, FSx comes in 2 forms, firstly Amazon FSx for Windows File Server, and also Amazon FSx for Lustre. Each FSx option has been designed for very different needs and requirements. We can summarize the differences as shown in the following table.
Amazon FSx for Windows File Server Provides a fully managed native Microsoft Windows file system on AWS. You can easily move and migrate your windows-based workloads requiring file storage. The solution is built upon Windows Server, it operates as shared file storage. It has full support for: SMB protocol, Windows NTFS, Active Directory (AD) integration, and Distributed File System (DFS). And it uses SSD storage for enhanced performance and throughput providing sub-millisecond latencies.
Amazon FSx for Lustre is a fully managed file system designed for compute-intensive workloads, for example, Machine Learning and high-performance computing. It has the ability to process massive data sets. Performance can run up to hundreds of GB per second of throughput, millions of IOPS, and sub-millisecond latencies. It has integration with Amazon S3 and supports and supports cloud-bursting workloads from on-premises over Direct Connect and VPN connections.
As you can see, they are both designed to solve very different solutions depending on your workloads.
The pricing for each of these options operates in a different way, firstly, let’s take a look at the FSx for Windows, which has 3 price points: Capacity, Throughput, and Backups.
Again, much like EFS, there are no setup fees for the use of this service, however, you do pay for the amount of storage capacity that you consume. This is priced on the average storage provisioned per month and uses the metric of gigabyte-months and offers varied pricing between a single or multi-AZ deployment.
In addition to the actual storage that you use there is also a cost of for the amount of throughput that you configure for your file systems, this metric is based upon MBps-months. Again, cost variations exist between single and multi-AZ deployment. One point to bear in mind is that any data transfer costs when using multi-AZ is included in the pricing you see for the multi-AZ deployment.
Because Amazon FSx performs incremental backups (either manual or automatic) of your file systems, it optimizes your storage costs as only the changes since the last backup are saved. Much like your storage capacity, backup storage is also charged based on the average metric of gigabyte-months, meaning the average amount of capacity you have used in the month.
This table shows the cost for both single and multi-az deployments for each of the price points I just discussed. As you can see, there is a significant increase in cost should you need to deploy your FSx file system across multiple AZs.
One benefit that you currently get with Amazon FSx for Windows File Server over Amazon FSx for Lustre is that of data deduplication. This can be activated for your file system and can save you up to 80% is storage costs depending on what data you are storing. Data deduplication simply means FSx will automatically store duplicate files or portions of files a single time, this helps you save on your storage capacity costs and remains invisible to the user that the data has been deduplicated.
As you can see in the table, savings range from 30% – 80% depending on what type of content is being saved within your file system. Data deduplication doesn’t add any additional costs, so it’s a great way to help optimize and reduce your storage costs.
The costs associated with Amazon FSx for Lustre differs to that of Windows File Server and offers a simpler cost model.
Again, there are no set up fees and you only pay for the storage capacity that you use, based on the GB-month metric. For data transfer between availability zones you will pay the standard data transfer costs for the associated region.
Depending on your workload and use case for your data you will use either Windows Server or Lustre. The Windows Server option does offer more flexibility from a pricing point of view with the added advantage of data deduplication to help save up to 80% of storage costs. Although it does also have a cost associated with throughput capacity, which Amazon Lustre does not.
For more information on Amazon FSx for Lustre, please see our existing blog post here.