_upcloud
sc_crawler.vendors._upcloud
#
Inventory of UpCloud via its API: servers, storages, traffic, IPv4 addresses and managed PostgreSQL, with their prices.
Functions:
| Name | Description |
|---|---|
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_server_prices |
List all on-demand server prices in all zones from the UpCloud price list. |
inventory_server_prices_spot |
List all spot server prices in all zones from the UpCloud price list. |
inventory_storages |
Block storage tiers collected manually. |
inventory_storage_prices |
List block storage prices in all zones from the UpCloud price list. |
inventory_traffic_prices |
List outbound traffic prices in all zones from the UpCloud price list. |
inventory_ipv4_prices |
List IPv4 address prices in all zones from the UpCloud price list. |
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. |
inventory_compliance_frameworks
#
Manual list of known compliance frameworks at UpCloud.
Data collected from their Security and Standards docs at https://upcloud.com/security-privacy.
Source code in sc_crawler/vendors/_upcloud.py
inventory_regions
#
List all regions via API call.
Data manually enriched from https://upcloud.com/data-centres.
Source code in sc_crawler/vendors/_upcloud.py
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 | |
inventory_zones
#
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.
Source code in sc_crawler/vendors/_upcloud.py
inventory_servers
#
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.
Source code in sc_crawler/vendors/_upcloud.py
inventory_server_prices
#
List all on-demand server prices in all zones from the UpCloud price list.
GPU plans are listed only in the zones where they are available. Servers are billed hourly up to a monthly cap of 672 hours, described as tiered prices.
Source code in sc_crawler/vendors/_upcloud.py
inventory_server_prices_spot
#
List all spot server prices in all zones from the UpCloud price list.
GPU plans are listed only in the zones where they are available.
Source code in sc_crawler/vendors/_upcloud.py
inventory_storages
#
Block storage tiers collected manually.
Source code in sc_crawler/vendors/_upcloud.py
inventory_storage_prices
#
List block storage prices in all zones from the UpCloud price list.
UpCloud charges storage per hour, converted to monthly prices as at other vendors.
Source code in sc_crawler/vendors/_upcloud.py
inventory_traffic_prices
#
List outbound traffic prices in all zones from the UpCloud price list.
Inbound traffic is free.
Source code in sc_crawler/vendors/_upcloud.py
inventory_ipv4_prices
#
List IPv4 address prices in all zones from the UpCloud price list.
Source code in sc_crawler/vendors/_upcloud.py
inventory_databases
#
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/
Source code in sc_crawler/vendors/_upcloud.py
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 | |
inventory_database_prices
#
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/
Source code in sc_crawler/vendors/_upcloud.py
1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 | |
inventory_database_storages
#
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/
Source code in sc_crawler/vendors/_upcloud.py
inventory_database_storage_prices
#
List managed PostgreSQL disk tier prices from the UpCloud zone price list.