_gcp
sc_crawler.vendors._gcp
#
Functions:
| Name | Description |
|---|---|
inventory_compliance_frameworks |
Manual list of compliance frameworks known for GCP. |
inventory_regions |
List all available GCP regions via API calls. |
inventory_zones |
List all available GCP zones via API calls. |
inventory_servers |
List all available GCP servers available in all zones. |
inventory_server_prices |
List all available GCP server ondemand prices in all regions. |
inventory_server_prices_spot |
List all available GCP server spot prices in all regions. |
inventory_storages |
List all available GCP disk storage options available in all zones. |
inventory_storage_prices |
List all available GCP disk storage prices in all regions. |
inventory_traffic_prices |
List inbound and outbound network traffic prices in all GCP regions. |
inventory_ipv4_prices |
List the price of an attached IPv4 address in all GCP regions. |
inventory_databases |
List all available GCP Cloud SQL for PostgreSQL database types via API calls. |
inventory_database_prices |
List all available GCP Cloud SQL for PostgreSQL on-demand prices in all regions. |
inventory_database_storages |
List all available GCP Cloud SQL for PostgreSQL storage options. |
inventory_database_storage_prices |
List all available GCP Cloud SQL for PostgreSQL storage prices in all regions. |
inventory_compliance_frameworks
#
Manual list of compliance frameworks known for GCP.
Resources: https://cloud.google.com/compliance?hl=en
Source code in sc_crawler/vendors/_gcp.py
inventory_regions
#
List all available GCP regions via API calls.
Some data sources are not available from APIs, and were collected manually:
- location: https://cloud.google.com/compute/docs/regions-zones#available and https://en.wikipedia.org/wiki/Google_data_centers,
- lon/lat coordinates: https://en.wikipedia.org/wiki/Google_data_centers#Locations and approximation based on the city when no more accurate data was available.
- energy carbon data: https://cloud.google.com/sustainability/region-carbon#data and https://github.com/GoogleCloudPlatform/region-carbon-info,
- launch dates were collected from Wikipedia and GCP blog posts, such as https://medium.com/@retomeier/an-annotated-history-of-googles-cloud-platform-90b90f948920 and https://cloud.google.com/blog/products/infrastructure/introducing-new-google-cloud-regions.
Note that many GCP regions use more than 90% green energy,
but the related flag in our database is set to False as not being 100%.
Source code in sc_crawler/vendors/_gcp.py
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 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 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 | |
inventory_zones
#
List all available GCP zones via API calls.
Source code in sc_crawler/vendors/_gcp.py
inventory_servers
#
List all available GCP servers available in all zones.
Source code in sc_crawler/vendors/_gcp.py
inventory_server_prices
#
inventory_server_prices_spot
#
inventory_storages
#
List all available GCP disk storage options available in all zones.
For more details on the disk types, check https://cloud.google.com/compute/docs/disks#disk-types.
Source code in sc_crawler/vendors/_gcp.py
inventory_storage_prices
#
List all available GCP disk storage prices in all regions.
Source code in sc_crawler/vendors/_gcp.py
inventory_traffic_prices
#
List inbound and outbound network traffic prices in all GCP regions.
Source code in sc_crawler/vendors/_gcp.py
inventory_ipv4_prices
#
List the price of an attached IPv4 address in all GCP regions.
Note that this data was not found using the APIs (only unattached static IPs), so the values are recorded manually from https://cloud.google.com/vpc/network-pricing#ipaddress.
Source code in sc_crawler/vendors/_gcp.py
inventory_databases
#
List all available GCP Cloud SQL for PostgreSQL database types via API calls.
Source code in sc_crawler/vendors/_gcp.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 | |
inventory_database_prices
#
List all available GCP Cloud SQL for PostgreSQL on-demand prices in all regions.
Source code in sc_crawler/vendors/_gcp.py
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 1536 1537 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 | |
inventory_database_storages
#
List all available GCP Cloud SQL for PostgreSQL storage options.
Source code in sc_crawler/vendors/_gcp.py
inventory_database_storage_prices
#
List all available GCP Cloud SQL for PostgreSQL storage prices in all regions.