# `sc_crawler.vendors._ovh`

> Inventory of OVHcloud Public Cloud via its API: servers, storages, traffic, IPv4 addresses and managed PostgreSQL, with their prices.

# `sc_crawler.vendors._ovh`

**Functions:**

- [**inventory_compliance_frameworks**](#inventory_compliance_frameworks) – Manual list of known compliance frameworks on OVHcloud.
- [**inventory_regions**](#inventory_regions) – List all available OVHcloud Public Cloud regions.
- [**inventory_zones**](#inventory_zones) – List all availability zones.
- [**inventory_servers**](#inventory_servers) – List all server types (called "flavors" at OVHcloud).
- [**inventory_server_prices**](#inventory_server_prices) – Fetch server pricing and regional availability.
- [**inventory_server_prices_spot**](#inventory_server_prices_spot) – There are no spot instances in OVHcloud Public Cloud.
- [**inventory_storages**](#inventory_storages) – List all block storage offerings.
- [**inventory_storage_prices**](#inventory_storage_prices) – Extract storage prices from OVHCloud catalog.
- [**inventory_traffic_prices**](#inventory_traffic_prices) – OVHcloud Public Cloud bandwidth pricing.
- [**inventory_ipv4_prices**](#inventory_ipv4_prices) – OVHcloud Public Cloud IPv4 pricing.
- [**inventory_databases**](#inventory_databases) – List Public Cloud Databases for PostgreSQL compute SKUs.
- [**inventory_database_prices**](#inventory_database_prices) – Fetch Public Cloud Databases for PostgreSQL on-demand compute prices.
- [**inventory_database_storages**](#inventory_database_storages) – List extra disk for Public Cloud PostgreSQL.
- [**inventory_database_storage_prices**](#inventory_database_storage_prices) – Fetch extra PostgreSQL disk prices (GB-month) from the public catalog.

## func <code class="doc-name">inventory_compliance_frameworks</code> [_ovh.py:983–1018](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L983-L1018)

```python
inventory_compliance_frameworks(vendor)
```

Manual list of known compliance frameworks on OVHcloud.

Data sources:

- General information and list of supported compliance programs: <https://www.ovhcloud.com/en/compliance/>
- ISO/IEC 27001/27017/27018: <https://www.ovhcloud.com/en/compliance/iso-27001-27017-27018/>
- SOC 1, SOC 2, SOC 3 with SOC 2 Type 2 details: <https://www.ovhcloud.com/en/compliance/soc-1-2-3/>

## func <code class="doc-name">inventory_regions</code> [_ovh.py:1021–1189](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1021-L1189)

```python
inventory_regions(vendor)
```

List all available OVHcloud Public Cloud regions.

Data sources:

- <https://www.ovhcloud.com/en/public-cloud/regions-availability/>
- <https://www.ovhcloud.com/en/about-us/global-infrastructure/expansion-regions-az/>
- <https://vms.status-ovhcloud.com/>
- Google Maps search for the datacenter location or city-level coordinates

## func <code class="doc-name">inventory_zones</code> [_ovh.py:1192–1222](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1192-L1222)

```python
inventory_zones(vendor)
```

List all availability zones.

Data sources:

- `/cloud/project/{serviceName}/region/{regionName}` API endpoint provides AZs for 3AZ regions
- 1AZ zones have a standard "a" suffix as per <https://www.ovhcloud.com/en/about-us/global-infrastructure/expansion-regions-az/>

## func <code class="doc-name">inventory_servers</code> [_ovh.py:1225–1465](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1225-L1465)

```python
inventory_servers(vendor)
```

List all server types (called "flavors" at OVHcloud).

Lifecycle: `active` catalog tag (`blobs.tags`) or available in any region
of the project's flavor API (so the server has ACTIVE prices) -> ACTIVE,
otherwise INACTIVE (e.g. untagged t1/t2 flavors are ACTIVE, flavors with
the `legacy` tag are not in the flavor API). There is no retirement date.

Flex flavors are listed as separate servers with their own local disk
size, except when it matches the classic flavor (see `_get_flex_flavors`).

## func <code class="doc-name">inventory_server_prices</code> [_ovh.py:1468–1564](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1468-L1564)

```python
inventory_server_prices(vendor)
```

Fetch server pricing and regional availability.

Region availability information is fetched from the
`/cloud/project/{serviceName}/flavor` API endpoint, then the related prices
are fetched from the `/order/catalog/public/cloud` API endpoint.

Flex flavors share the hourly plan code with the related classic flavor,
so these are mapped to their own server id via the flavor name.

The mandatory local storage of Gen3 instances is billed separately, so its
price (for the flavor's disk size) is added to the instance price.

## func <code class="doc-name">inventory_server_prices_spot</code> [_ovh.py:1567–1569](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1567-L1569)

```python
inventory_server_prices_spot(vendor)
```

There are no spot instances in OVHcloud Public Cloud.

## func <code class="doc-name">inventory_storages</code> [_ovh.py:1572–1622](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1572-L1622)

```python
inventory_storages(vendor)
```

List all block storage offerings.

Data sources:

- <https://www.ovhcloud.com/en-ie/public-cloud/block-storage/>
- <https://www.ovhcloud.com/en-ie/public-cloud/prices/>
- API endpoint: `/order/catalog/public/cloud` with `publiccloud-volume-classic` product name

Sizes are in GB (decimal) and throughput values are in MB/s as per the documentation.
Maximum volume size is 12 TB (12,000 GB) as stated on the product page.

## func <code class="doc-name">inventory_storage_prices</code> [_ovh.py:1625–1657](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1625-L1657)

```python
inventory_storage_prices(vendor)
```

Extract storage prices from OVHCloud catalog.

The catalog does not provide a detailed price list, only differentiates the
prices of the known 3 storage types between regions with a single or three
zones. Availability is checked per region via `_get_region_storage_ids`.

## func <code class="doc-name">inventory_traffic_prices</code> [_ovh.py:1660–1720](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1660-L1720)

```python
inventory_traffic_prices(vendor)
```

OVHcloud Public Cloud bandwidth pricing.

As per <https://www.ovhcloud.com/en/public-cloud/prices>:

> Outbound public network traffic is included in the price of instances on
> all locations, except the Asia-Pacific region (Singapore, Sydney and
> Mumbai). In the tree regions, 1 TB/month of outbound public traffic is
> included for each Public Cloud project. Beyond this quota, each additional
> GB of traffic is charged. Inbound network traffic from the public network
> is included in all cases and in all regions.

The overage traffic priced at €0.01 ex. VAT/GB (see on the homepage after
selecting one of the Asia-Pacific regions).

## func <code class="doc-name">inventory_ipv4_prices</code> [_ovh.py:1723–1756](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1723-L1756)

```python
inventory_ipv4_prices(vendor)
```

OVHcloud Public Cloud IPv4 pricing.

Since 2026-10-01, public IPv4 addresses are billed separately at
€0.0027/hour as per the announcement. Note that the API catalog endpoint
still states the "publiccloud-publicip-ip" product to be included on the
single-AZ and 3AZ regions (as of 2026-10-27).

The IPv4 price is stored per region and not per server family, as OVH
bills it separately on every instance range (including Gen2 and earlier,
not only Gen3 as the announcement says it was previously included in),
so no IPv4 is included in the servers (see the `ipv4` field).

Data sources:

- <https://blog.ovhcloud.com/en/posts/public-cloud-pricing-update-october-2026/>
- <https://us.ovhcloud.com/resources/blog/public-cloud-our-prices-are-changing/>
- <https://www.ovhcloud.com/en/public-cloud/prices>

## func <code class="doc-name">inventory_databases</code> [_ovh.py:1785–2009](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L1785-L2009)

```python
inventory_databases(vendor)
```

List Public Cloud Databases for PostgreSQL compute SKUs.

The availability API returns one row per region, version, and network mode.
Rows sharing the same engine/plan/flavor are collapsed into a single SKU.

Lifecycle (`availability[].lifecycle.status`): `END_OF_LIFE` -> RETIRED,
`STABLE`/`BETA` -> ACTIVE, otherwise INACTIVE. An ACTIVE SKU with an
`endOfSale` date in the lifecycle of its plan or flavor (`capabilities`) is
PLANNED_FOR_RETIREMENT or RETIRED, with that retirement date (see
`_database_end_of_sale`).

Data sources:

- `GET /cloud/project/{serviceName}/database/availability`
- `GET /cloud/project/{serviceName}/database/capabilities`
- https://docs.ovhcloud.com/en/guides/public-cloud/databases/postgresql-capabilities
- https://docs.ovhcloud.com/en/guides/public-cloud/databases/postgresql-concept-high-availability

## func <code class="doc-name">inventory_database_prices</code> [_ovh.py:2012–2103](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L2012-L2103)

```python
inventory_database_prices(vendor)
```

Fetch Public Cloud Databases for PostgreSQL on-demand compute prices.

Hourly consumption addons come from `/order/catalog/public/cloud`.
Catalog lookup uses `databases.{planCode}` with `.apac` / `.3az` suffixes.
Price is the full cluster amount (per-node catalog rate * included nodes).

## func <code class="doc-name">inventory_database_storages</code> [_ovh.py:2106–2165](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L2106-L2165)

```python
inventory_database_storages(vendor)
```

List extra disk for Public Cloud PostgreSQL.

Each flavor includes a base volume; extra GB can be attached up to the
availability maximum and is billed separately per plan.
https://docs.ovhcloud.com/en/guides/public-cloud/databases/resize-cluster-storage
https://docs.ovhcloud.com/en/guides/public-cloud/databases/pricing

## func <code class="doc-name">inventory_database_storage_prices</code> [_ovh.py:2168–2232](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/vendors/_ovh.py#L2168-L2232)

```python
inventory_database_storage_prices(vendor)
```

Fetch extra PostgreSQL disk prices (GB-month) from the public catalog.
