_aws
sc_crawler.vendors._aws
#
Inventory of Amazon Web Services via boto3: servers, storages, traffic, IPv4 addresses and managed PostgreSQL (RDS), with their prices.
Functions:
| Name | Description |
|---|---|
inventory_compliance_frameworks |
Manual list of compliance frameworks known for AWS. |
inventory_regions |
List all available AWS regions via |
inventory_zones |
List all available AWS availability zones via |
inventory_servers |
List all available AWS instance types in all regions via |
inventory_server_prices |
List all on-demand instance prices in all regions via |
inventory_server_prices_spot |
List all spot instance prices in all availability zones via |
inventory_storages |
List all storage types via |
inventory_storage_prices |
List all storage prices in all regions via |
inventory_traffic_prices |
List all inbound and outbound traffic prices in all regions via |
inventory_ipv4_prices |
List IPV4 prices in all regions via |
inventory_databases |
List all available AWS RDS PostgreSQL instance types via |
inventory_database_prices |
List all on-demand AWS RDS PostgreSQL prices in all regions via |
inventory_database_storages |
List all AWS RDS PostgreSQL storage types via |
inventory_database_storage_prices |
List all AWS RDS PostgreSQL storage prices in all regions via |
inventory_compliance_frameworks
#
Manual list of compliance frameworks known for AWS.
Resources: https://aws.amazon.com/compliance/programs/
Source code in sc_crawler/vendors/_aws.py
inventory_regions
#
List all available AWS regions via boto3 calls.
Some data sources are not available from APIs, and were collected manually:
- launch date: https://aws.amazon.com/about-aws/global-infrastructure/regions_az/,
- energy source: https://sustainability.aboutamazon.com/products-services/the-cloud?energyType=true#renewable-energy and https://www.aboutamazon.com/news/sustainability/amazon-renewable-energy-goal,
- lon/lat coordinates: https://gist.github.com/martinheidegger/88950cb51ee5bdeafd51bc55287b1092 and approximation based on the city when no more accurate data was available.
Source code in sc_crawler/vendors/_aws.py
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 2250 2251 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 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 | |
inventory_zones
#
List all available AWS availability zones via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
inventory_servers
#
List all available AWS instance types in all regions via boto3 calls.
Lifecycle is reconciled after spot price collection via
_reconcile_server_status (offerings + recent spot in ACTIVE regions ->
ACTIVE, on-demand price without Reserved terms -> RETIRED, else INACTIVE).
Source code in sc_crawler/vendors/_aws.py
inventory_server_prices
#
List all on-demand instance prices in all regions via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 | |
inventory_server_prices_spot
#
List all spot instance prices in all availability zones via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 | |
inventory_storages
#
List all storage types via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
inventory_storage_prices
#
List all storage prices in all regions via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
inventory_traffic_prices
#
List all inbound and outbound traffic prices in all regions via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
inventory_ipv4_prices
#
List IPV4 prices in all regions via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
inventory_databases
#
List all available AWS RDS PostgreSQL instance types via boto3 calls.
Lifecycle (DescribeOrderableDBInstanceOptions): no orderable options ->
RETIRED, with the retirement date from _AWS_RDS_RETIREMENT_RULES;
otherwise ACTIVE.
Source code in sc_crawler/vendors/_aws.py
3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 | |
inventory_database_prices
#
List all on-demand AWS RDS PostgreSQL prices in all regions via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
inventory_database_storages
#
List all AWS RDS PostgreSQL storage types via boto3 calls.
Source code in sc_crawler/vendors/_aws.py
inventory_database_storage_prices
#
List all AWS RDS PostgreSQL storage prices in all regions via boto3 calls.