sc_crawler.vendors._upcloud
Functions:
- inventory_compliance_frameworks – Manual list of known compliance frameworks at UpCloud.
- inventory_regions – List all regions via API call.
- inventory_zones – List all regions as availability zones.
- inventory_servers – List all server plans from UpCloud API.
- inventory_databases – List UpCloud managed PostgreSQL service plans.
- inventory_database_prices – List UpCloud managed PostgreSQL compute prices.
- inventory_database_storages – List managed PostgreSQL disk tiers (Standard SSD and MaxIOPS).
- inventory_database_storage_prices – List managed PostgreSQL disk tier prices from the UpCloud zone price list.
func inventory_compliance_frameworks
inventory_compliance_frameworks(vendor)
Manual list of known compliance frameworks at UpCloud.
Data collected from their Security and Standards docs at https://upcloud.com/security-privacy.
func inventory_regions
inventory_regions(vendor)
List all regions via API call.
Data manually enriched from https://upcloud.com/data-centres.
func inventory_zones
inventory_zones(vendor)
List all regions as availability zones.
There is no concept of having multiple availability zones withing a region (virtual datacenter) at UpCloud, so creating 1-1 dummy Zones reusing the Region id and name.
func inventory_servers
inventory_servers(vendor)
List all server plans from UpCloud API.
Lifecycle: current_offering == "no" -> RETIRED; GPU plans with zero stock
in /device/availability across all regions -> INACTIVE; otherwise ACTIVE.
See _upcloud_server_status.
func inventory_databases
inventory_databases(vendor)
List UpCloud managed PostgreSQL service plans.
- Flexible Developer/Standard/High Memory shapes from GET /1.3/database/plans.
- Legacy bundled plans from GET /1.3/database/service-types/pg.
- Supported versions come from service-types/pg
properties.version.enum. https://developers.upcloud.com/1.3/16-managed-database/ https://upcloud.com/docs/products/managed-postgresql/configurations/ https://upcloud.com/global/pricing/
func inventory_database_prices
inventory_database_prices(vendor)
List UpCloud managed PostgreSQL compute prices.
Legacy plans bill the full cluster under managed_database_{plan}.
Flexible plans bill per-node compute under
managed_database_compute_{plan_compute}. Node topology maps to:
1 node NONE/NONE, 2-node package SINGLE_ZONE/PASSIVE_STANDBY (1.9x),
3-node package SINGLE_ZONE/READABLE_CLUSTER (2.6x) with published
multi-node discounts (PASSIVE is only a price key when both 2 and 3
are orderable on the same compute shape).
https://upcloud.com/global/pricing/
func inventory_database_storages
inventory_database_storages(vendor)
List managed PostgreSQL disk tiers (Standard SSD and MaxIOPS).
Flexible plans bill all disk via these meters; legacy plans also use Standard tiered storage for additional disk above the bundled size. Size bounds are per tier (Developer/legacy → Standard; Std/HM → MaxIOPS). https://upcloud.com/global/pricing/ https://upcloud.com/docs/products/block-storage/tiers/ https://developers.upcloud.com/1.3/16-managed-database/
func inventory_database_storage_prices
inventory_database_storage_prices(vendor)
List managed PostgreSQL disk tier prices from the UpCloud zone price list.