

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 成本优化支柱
<a name="cost"></a>

AWS Well-Architected Framework 的成本优化支柱侧重于避免不必要的成本。以下建议可以帮助您满足适用于 Windows File Server 的 Amazon FSx 的成本优化设计原则和架构最佳实践。

**关键重点领域：**
+ 了解一段时间内的支出并控制资金分配
+ 选择类型和数量正确的资源
+ 在不超支的情况下进行扩展以满足业务需求

## 实施云财务管理
<a name="financial-mgmt"></a>
+ 使用 [AWS Cost Explorer](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-what-is.html) 预测 FSx for Windows File Server 成本。
+ 使用 [AWS Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) 规划并设定围绕 FSx for Windows File Server 成本的预期。
+ 随时了解可用于优化 FSx for Windows File Server 的新服务版本。
+ 考虑通过[统一的标记策略](https://aws.amazon.com/blogs/mt/implement-aws-resource-tagging-strategy-using-aws-tag-policies-and-service-control-policies-scps/)合并 FSx for Windows File Server 账单。

## 采用消费成本模型
<a name="consumption"></a>
+ 评估 FSx for Windows File Server 文件系统部署选项（单可用区或多可用区）。以最低的价格选择满足您需求的部署选项。有关更多信息，请参阅 Amazon FSx 文档中的 [Availability and durability: Single-AZ and Multi-AZ file systems](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html)。
+ 评估 FSx for Windows File Server 文件系统存储类型：固态硬盘（SSD）或硬盘驱动器（HDD）。以最低的价格选择满足您需求的存储类型。有关更多信息，请参阅 Amazon FSx 文档中的 [Price and performance flexibility](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html#price-perf-flexibility)。

## 仅按实际用量付费
<a name="pay-for-use"></a>
+ 为存储 FSx for Windows File Server 日志的 Amazon CloudWatch 日志组设置保留期。有关更多信息，请参阅博客文章 [Reduce log-storage costs by automating retention settings in Amazon CloudWatch](https://aws.amazon.com/blogs/infrastructure-and-automation/reduce-log-storage-costs-by-automating-retention-settings-in-amazon-cloudwatch/)。
+ 使用 Microsoft Data Deduplication in Windows 功能来识别和消除冗余数据。有关更多信息，请参阅 Amazon FSx 文档中的 [Data deduplication](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-data-dedup.html)。
+ 在文件系统上设置用户存储配额，以限制用户可以消耗的数据存储量。有关更多信息，请参阅 Amazon FSx 文档中的 [Storage quotas](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-user-quotas.html)。
+ 设置 FSx for Windows File Server 文件系统备份和清理的保留期。有关更多信息，请参阅 Amazon FSx 文档中的 [Working with backups](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html)。