您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

预留实例Reserved instances

许多服务提供Azure 保留,以降低成本。Azure Reservations are offered on many services as a way to lower cost. 你保留一段时间的预付容量,一般为一年或三年。You reserve a prepaid capacity for a period, generally one or three years. 使用预订实例,与即用即付定价相比,可提供显著的折扣。With reserved instances, there’s a significant discount when compared with pay-as-you-go pricing. 您可以提前或按月支付,价格应相同。You can pay up front or monthly, price wise both are same.

使用模式Usage pattern

在选择预留实例之前,请在某个时间段内使用即用即付价格分析使用情况数据。Before opting for reserved instances, analyze the usage data with pay-as-you-go prices over a time duration.

工作负荷中的服务是间歇性运行还是遵循长期模式?Do the services in the workload run intermittently or follow long-term patterns? ****

Azure 提供了多个选项,这些选项可以通过将保留价格与现用现付价格进行比较来帮助分析使用情况和提出建议。Azure provides several options that can help analyze usage and make recommendations by comparing reservations prices with pay-as-you-go price. 一种简单的方法是查看 "Azure 门户中的" 建议 "选项卡。An easy way is to view the _ Recommended * tab in the Azure portal. Azure 顾问 还提供适用于整个订阅的建议。Azure Advisor also provides recommendations that are applicable to an entire subscription. 如果需要以编程方式使用 保留建议 REST apiIf you need a programmatic way, use the Reservation Recommendations REST APIs.

保留实例可降低长时间运行的工作负荷的成本。Reserved instances can lower cost for long running workloads. 对于间歇工作负荷,预付容量可能会不使用,并且不会结转到下一个计费周期。For intermittent workloads, prepaid capacity might go unused and it doesn't carry over to the next billing period. 超过预留数量的用量将按照更高的即用即付费率收费。Usage exceeding the reserved quantity is charged using more expensive pay-as-you-go rates. 但有一些灵活的选项。But there are some flexible options. 你可以在限制内交换或退款预订。You can exchange or refund a reservation within limits. 有关详细信息,请参阅 Azure 预留的自助交换和退款For more information, see Self-service exchanges and refunds for Azure Reservations.

范围Scope

保留可以应用于特定的作用域:订阅、资源组或单个资源。Reservations can be applied to a specific scope—subscription, resource group, or a single resource. 假设你将作用域设置为资源组,保留节省将应用到该组中预配的适用资源。Suppose you set the scope as the resource group, the reservation savings will apply to the applicable resources provisioned in that group. 有关详细信息,请参阅 作用域保留For more information, see Scope reservations.

服务、订阅和产品/服务类型Services, subscription, and offer types

许多服务都有资格预留。Many services are eligible for reservations. 此范围涵盖虚拟机以及各种托管服务。This range covers virtual machines and a wide variety of managed services. 有关符合预订条件的服务的信息,请参阅 预订涵盖的费用For information about the services that are eligible for reservations, see Charges covered by reservation.

某些订阅和产品类型支持预订。Certain subscriptions and offer types support reservations. 有关此类订阅的列表,请参阅 折扣订阅和产品/服务类型For a list of such subscriptions, see Discounted subscription and offer types.