---
title: "How to manage a Savings Plan"
description: "Learn how to manage a Savings Plan using different tools"
url: https://docs.ovhcloud.com/en/guides/public-cloud/cross-functional/compute-managing-savings-plan
lang: en
lastUpdated: 2025-04-28
---
# How to manage a Savings Plan

## Objective

This guide aims to provide a clear and detailed method for creating and updating Savings Plans for your resources. You will discover how to manage your Savings Plans using the OVHcloud Control Panel, the OVHcloud API and Terraform. By following this guide, you will be able to:

- Create a Savings Plan for your resources.
- Modify a Savings Plan.
- Automate the management of Savings Plans via the API or Terraform for greater efficiency and flexibility.


## Requirements

- A [Public Cloud project](https://www.ovhcloud.com/en-gb/public-cloud/) in your OVHcloud account.
- Access to the [OVHcloud API](https://eu.api.ovh.com/) (create your credentials using [this guide](/en/guides/manage-and-operate/api/first-steps.md))
- Being familiar with [Terraform](/en/guides/public-cloud/cross-functional/how-to-use-terraform.md) if you intend to use it.
- Being familiar with the principles of [Savings Plans](https://www.ovhcloud.com/en-gb/public-cloud/savings-plan/)

## Instructions


***

### OVHcloud Control Panel Access

- **Lien direct :** <ManagerLink to="/#/pci/projects">Projets Public Cloud</ManagerLink>
- **Pour accéder à vos services :** <code className="action">Public Cloud</code> > Sélectionnez votre projet

***



Click on `Savings Plans
` in the left-hand navigation bar under **Settings**
.

### Create a Savings Plan


You can create your Savings Plan for the type of resource you want by following these steps:


**Via the OVHcloud Control Panel**

Click the <code className="action">Create a Savings Plan</code> button.
![Savings Plan menu](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_menu.png)Select the type of resource for which the Savings Plan will apply, define the specific resource model and specify the number of resources affected by this plan.
![Savings Plan service](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_service.png)Choose the duration of your Savings Plan from the available durations and give it a name.
![Savings Plan duration name](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_duration_name.png)Read the Terms and Conditions carefully, then tick the box to confirm you accept them. Once all the parameters have been configured, click the <code className="action">Create a Savings Plan</code> button to finalise the creation.
![Savings Plan terms/conditions and create](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_terms_and_creation.png)

**Via Terraform**

To create a Savings Plan, you will need at least 5 elements:
- The ID of your Public Cloud project.
- The flavour concerned by your Savings Plan
- The duration of your Savings Plan (in standard ISO 8601 format)
- The number of resources concerned.
- The name of your Savings Plan
In our example, we are going to create a Savings Plan for 10 instances of type **b3-8**, for a duration of 1 month. Add the following lines to a file named _savings\_plan.tf_ :
```python
# creation of a Savings Plan
resource "ovh_savings_plan" "Savings_plan_simple_b3_8" {
  service_name = "<public cloud project ID>"
  flavor = "b3-8" # instance type or rancher/rancher_standard or rancher_ovhcloud_edition
  period = "P1M" #  P mandatory, number for duration and M for ‘month’, Y for ‘year’ ...
  size = 10
  display_name = "Savings_plan_simple_b3_8"
  auto_renewal = true # optional, ‘true’ to activate.
}
```
You can create your Savings Plan by entering the following command in your console:
```console
terraform apply
```



### Modifying a Savings plan



**Via the OVHcloud Control Panel**

:::info
Using the OVHcloud Control Panel, you can only edit the **name** of the Savings Plan and **activate/deactivate** its automatic renewal.
:::
![Savings Plan update menu](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_update_menu.png)If you wish to change the name, click the <code className="action">Change name</code> button, change the name and then click <code className="action">Confirm</code>.
![Savings Plan update name](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_update_name.png)If you wish to activate/deactivate the automatic renewal of your Savings Plan, click on the <code className="action">Activate/Disable automatic renewal</code> button and then on the <code className="action">Activate</code> / <code className="action">Disable</code> button as appropriate.
![Savings Plan update renewal](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_update_renewal.png)

**Via the OVHcloud API**

First find the id of your service in the list of your services, which can be obtained via the following endpoint:

🇪🇺EU▾

[GET/services](https://eu.api.ovh.com/console/?section=/services&branch=v1#get-/services)

You must enter the id of your Public Cloud project as a parameter in the **resourceName** field.
You will obtain a list containing the id of your services as follows:
![Savings Plan services list](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_list_service.png)You can use this route to check whether the service corresponds to the Public Cloud project concerned:

🇪🇺EU▾

[GET/services/{serviceId}](https://eu.api.ovh.com/console/?section=/services&branch=v1#get-/services/-serviceId-)

The **serviceId** corresponds to the id retrieved with the previous endpoint.
You'll get a list containing the details of your service as follows. Check that it's the right project, using the `vars.value` field:
![Savings Plan services list](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_list_service_details.png)You can find the id of your Savings Plan in the list of your Savings Plans obtained via this endpoint:

🇪🇺EU▾

[GET/services/{serviceId}/savingsPlans/subscribed](https://eu.api.ovh.com/console/?section=/services&branch=v1#get-/services/-serviceId-/savingsPlans/subscribed)

The **serviceId** corresponds to the previously retrieved id.
You get a list of Savings Plans as follows:
![Savings Plan list](/images/public-cloud/cross-functional/how-to-manage-savings-plan/savings_plan_list_svp.png)Then look for the Savings Plan concerned in the list and copy its **id**.

Changing the name of a Savings Plan

To change the name of a Savings Plan, use the following endpoint:

🇪🇺EU▾

[PUT/services/{serviceId}/savingsPlans/subscribed/{savingsPlanId}](https://eu.api.ovh.com/console/?section=/services&branch=v1#put-/services/-serviceId-/savingsPlans/subscribed/-savingsPlanId-)

The **savingsPlanId** corresponds to the id of your previously copied Savings Plan.

Activate/deactivate automatic renewal of a Savings Plan

To **activate/disable** the automatic renewal of the Savings Plan, use the following endpoint:

🇪🇺EU▾

[POST/services/{serviceId}/savingsPlans/subscribed/{savingsPlanId}/changePeriodEndAction](https://eu.api.ovh.com/console/?section=/services&branch=v1#post-/services/-serviceId-/savingsPlans/subscribed/-savingsPlanId-/changePeriodEndAction)

Increase the number of Savings Plan resources

To increase the number of resources subscribed to your Savings Plan, use this route:
:::info
The number of resources can only be increased.
:::

🇪🇺EU▾

[POST/services/{serviceId}/savingsPlans/subscribed/{savingsPlanId}/changeSize](https://eu.api.ovh.com/console/?section=/services&branch=v1#post-/services/-serviceId-/savingsPlans/subscribed/-savingsPlanId-/changeSize)


**Via Terraform**

Modify your resource in the _savings\_plan.tf_ Terraform file created earlier.
:::info
Note that only the **service\_name**, **size** and **auto\_renewal** fields can be modified. The **size** can only be increased.
:::



## Go further

Join our [community of users](https://community.ovhcloud.com/).
