OVH Community, your new community space.

VPS Charges and API questions

16-10-2016, 03:13
Hi. My answers are regarding Public Cloud Instances, as i understand that's what you are interested in.

1. The hourly charge is per hour of existence, no matter the instance is running or not. This is based in the fact that the resources are reserved no matter the instance status; hourly charge makes sense only when you need extra power to handle a high load for a brief time. The only eay you won't get chsrged for a stopped instance is by deleting it.
2. You cannot shutdown an instance via API - you would have to do it via installed OS or some management agent. There's an API call "/cloud/project/{serviceName}/instance/{instanceId}/reboot", which is intended to reboot an instance. I suppose it will also start the instance if it was shut down from the installed OS.
3. You can use the following API calls to create and delete an instance:


15-10-2016, 10:37
Hi All,

I have a few questions:

1) Does the per hour VPS gets charged for if you shut it down? If so, is the only way of getting it to stop charging to delete it?
2) Can you use the OVH API to start up/stop a VPS?
3) Can you use the API to create/delete a VPS ?