Last active
March 17, 2023 18:17
-
-
Save Intelrunner/ad66406009c75ee251ae44fbc99e2763 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcp_machine_family_pricing = { | |
'N1': { | |
'us-central1': { | |
'core_cost': 0.031611, # Cost per core-hour | |
'ram_cost': 0.004237, # Cost per GB-hour of RAM | |
'cud_discount': { | |
'1-year': 0.3, # 30% discount | |
'3-year': 0.57 # 57% discount | |
} | |
} | |
}, | |
'N2': { | |
'us-central1': { | |
'core_cost': 0.046980, # Cost per core-hour | |
'ram_cost': 0.006250, # Cost per GB-hour of RAM | |
'cud_discount': { | |
'1-year': 0.2, # 20% discount | |
'3-year': 0.49 # 49% discount | |
} | |
} | |
}, | |
'E2': { | |
'us-central1': { | |
'core_cost': 0.020484, # Cost per core-hour | |
'ram_cost': 0.002680, # Cost per GB-hour of RAM | |
'cud_discount': { | |
'1-year': 0.1, # 10% discount | |
'3-year': 0.2 # 20% discount | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment