mngr OVH Cloud Provider
OVH Cloud VPS provider backend plugin for mngr. Runs agents in Docker containers on OVH classic VPS instances (e.g. vps-2025-model1 with 1 vCPU / 8 GB RAM / 80 GB SSD at ~$7.99/mo).
See mngr_vps for the base architecture and shared infrastructure.
Setup
OVH's API requires either OAuth2 service-account credentials or the legacy AK/AS/CK signed-request credentials. The plugin uses the official python-ovh SDK, so it can also read credentials from the standard ~/.ovh.conf file.
Set the env vars or add to ~/.mngr/config.toml:
[providers.ovh]
backend = "ovh"
endpoint = "ovh-us"
# Either OAuth2:
client_id = "..."
client_secret = "..."
# Or AK/AS/CK:
application_key = "..."
application_secret = "..."
consumer_key = "..."
Recognised env vars (in order of precedence after explicit config):
OVH_ENDPOINT(defaultovh-us)OVH_CLIENT_ID,OVH_CLIENT_SECRETOVH_APPLICATION_KEY/OVH_APP_KEY,OVH_APPLICATION_SECRET/OVH_APP_SECRET,OVH_CONSUMER_KEY
If none are set, ~/.ovh.conf is consulted via python-ovh's normal discovery.
Usage
mngr create my-agent --provider ovh
mngr create my-agent --provider ovh -b --ovh-plan=vps-2025-model1 -b --ovh-datacenter=US-EAST-VA
mngr list
mngr exec my-agent "echo hello"
mngr stop my-agent
mngr start my-agent
mngr destroy my-agent
Operator inspection
mngr ovh list # show all mngr-tagged OVH VPSes (plan, datacenter, state, expiration, cancel?, IAM tags)
mngr ovh list --all # include untagged VPSes too -- useful for sanity-checking the account contents
OVH-specific configuration
These fields extend the base VpsProviderConfig (see mngr_vps):
| Field | Default | Description |
|---|---|---|
backend |
ovh |
Provider backend (always 'ovh' for this type) |
endpoint |
ovh-us |
python-ovh endpoint id ('ovh-eu', 'ovh-ca', ...). Falls back to OVH_ENDPOINT. |
application_key |
None |
OVH application key (AK). Falls back to OVH_APPLICATION_KEY/OVH_APP_KEY env vars or ~/.ovh.conf. |
application_secret |
None |
OVH application secret (AS). Falls back to OVH_APPLICATION_SECRET/OVH_APP_SECRET env vars or ~/.ovh.conf. |
consumer_key |
None |
OVH consumer key (CK). Falls back to OVH_CONSUMER_KEY env var or ~/.ovh.conf. |
client_id |
None |
OVH OAuth2 client id. Falls back to OVH_CLIENT_ID env var or ~/.ovh.conf. |
client_secret |
None |
OVH OAuth2 client secret. Falls back to OVH_CLIENT_SECRET env var or ~/.ovh.conf. |
project_id |
None |
OVH cloud project ID. Reserved for future Public Cloud support; unused for classic VPS. |
default_region |
US-EAST-VA |
Default VPS datacenter (e.g. US-WEST-OR for US accounts). |
default_plan |
vps-2025-model1 |
Default VPS plan code (1 vCPU / 8 GB RAM / 80 GB SSD, ~$7.99/mo). |
default_image_name |
Debian 13 |
Default OS image name, as listed in OVH's catalog (Docker is installed by the shared host setup). |
bootstrap_ssh_user |
debian |
Non-root user the OVH image installs the rebuild key for. Override only if you change default_image_name to a non-Debian image (e.g. ubuntu, almalinux). |
pricing_mode |
DEFAULT |
OVH pricing mode. UPFRONT6 / UPFRONT12 get a discount in exchange for prepayment. |
duration |
P1M |
ISO-8601 commitment duration. OVH classic VPS only supports monthly billing. |
instance_boot_timeout |
600.0 |
Seconds to wait for the OVH order to deliver a VPS. |
ovh_subsidiary |
US |
OVHcloud subsidiary code used for ordering. Must match the account region. |
enable_recycle_cancelled |
true |
Whether mngr create may reuse a cancelled-but-still-alive VPS instead of ordering fresh. |
recycle_safety_margin_hours |
2 |
Minimum hours of remaining expiration for a cancelled VPS to be recyclable. |
recycle_max_candidates_considered |
10 |
Cap on provider-tagged VPSes evaluated before falling through to a fresh order. Applied to the raw tagged-VPS list before the cancellation/state/expiration filters run, so on accounts with many active mngr-tagged VPSes a recyclable candidate further down the list may be missed. |
Billing caveat
OVH classic VPS is billed monthly (no hourly option). mngr stop my-agent halts the Docker container only — the VPS keeps running, and you keep being billed until the next renewal anniversary. mngr destroy my-agent cancels auto-renewal (no email confirmation needed), but the VPS keeps running until its OVH-side expiration date and then auto-decommissions (OVH does not prorate classic VPS cancellations). For monthly subscriptions that's the rest of the current month; for upfront6 / upfront12 it can be up to 6 / 12 months of prepaid balance.
Auto-reuse of cancelled VPSes
To avoid wasting the remainder of a paid month, mngr create --provider ovh first looks for a cancelled VPS (tagged by this provider instance) that matches the requested plan + datacenter and has enough buffer until expiration. If one is found, it is un-cancelled and reused instead of ordering fresh. Only when no eligible cancelled VPS exists does a new order go out.
This is opt-in via enable_recycle_cancelled (default True). Set enable_recycle_cancelled = false if you'd rather see fresh VPS deliveries on every mngr create. Intended usage is to keep a VPS pool warm (e.g. via mngr_imbue_cloud) so that destroy → create within the same billing month is essentially free.
Security caveat (first connect)
OVH's VPS API exposes no way to inject SSH host keys at install time or retrieve the freshly generated host key out-of-band. So the first SSH connection from mngr to a new VPS trusts the host key on first use.
Because the OS rebuild already installed our SSH client public key, key-auth is enforced from connection #1. An attacker positioned to MITM the brief first-connect window can passively read the session but cannot impersonate the VPS (they would need our SSH private key). This is comparable to a first-time git clone git@github.com:... on a machine that hasn't cached GitHub's host key. After the first connection, strict host-key checking is enforced on every subsequent connection.
Metadata
Release files for imbue-mngr-ovh 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| imbue_mngr_ovh-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for imbue_mngr_ovh-0.2.0-py3-none-any.whl |
Release files / imbue_mngr_ovh-0.2.0-py3-none-any.whl
| Download URL | imbue_mngr_ovh-0.2.0-py3-none-any.whl |
|---|---|
| Size | 56.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df6f50a3db61a7929b1048bd7a36504231e1491e507f53fdb33843f88796dfd4
|
|
BLAKE2b-256 checksum How to use checksums |
a3c4f28184d292eec9e32c0922beae85093dd45e0a6a11b72387fac458ee4f4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logSecurity for imbue-mngr-ovh 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for imbue_mngr_ovh-0.2.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.