_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
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 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 | |
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
896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 | |
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
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 1387 1388 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 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 | |
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
1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 | |
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.