_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
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 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 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 | |
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.
Lifecycle (machineTypes.deprecated.state): DEPRECATED -> PLANNED_FOR_RETIREMENT,
OBSOLETE / DELETED -> RETIRED, empty / ACTIVE -> ACTIVE.
See _gcp_machine_type_status.
Source code in sc_crawler/vendors/_gcp.py
inventory_server_prices
#
List all available GCP server ondemand prices in all regions.
Prices cover the predefined vCPU, memory, attached GPUs, and bundled Local
SSD (from machineTypes.bundledLocalSsds).
Source code in sc_crawler/vendors/_gcp.py
inventory_server_prices_spot
#
List all available GCP server spot prices in all regions.
Same components as inventory_server_prices (including bundled Local SSD).
Source code in sc_crawler/vendors/_gcp.py
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
2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 | |
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
2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 | |
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.