Cyclenerd / google-cloud-pricing-cost-calculator
💸 Calculate estimated monthly costs of Google Cloud Platform products and resources via YAML files and CLI program (Linux, macOS, Windows)
View on GitHubAI Architecture Analysis
This repository is indexed by RepoMind. By analyzing Cyclenerd/google-cloud-pricing-cost-calculator in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewGoogle Cloud Platform Pricing and Cost Calculator | 🏆 Awarded | |------------| | This project was the winner of the Google Open Source Peer Bonus in 2022 🥳 | Calculate estimated monthly costs of Google Cloud Platform products and resources. Optimized for DevOps, architects and engineers to quickly see a cost breakdown and compare different options upfront: • Mapping of resource usage is done in easy to learn **YAML** usage files • Price information is read from a local file ( ) • Calculation is done via **CLI** program • Calculated costs are saved in **CSV** file optimized for non-technical audience Full control and no disclosure of any information and costs to third parties. Everything is calculated on your local computer. No need to have a connection to the Internet. Everything tested and matched against the actual invoice in large Google Cloud migration projects. Over **493 automated tests** ensure reliability. works on various OS and terminals, including Windows CMD, macOS iTerm2, and in CI systems like GitHub Actions. | 1️⃣ Create YAML file | 2️⃣ Run CLI program | 3️⃣ Open CSV file | |---------------------|-----------------------------|------------------| | | | | ☁️ Supported resources The cost of a resource is calculated by multiplying its price by its usage. | 💡 Google Cloud Free Program | |------------------------------------------------| | Free tiers and free trial (90-day, $300), which are usually not a significant part of cloud costs, are ignored. For example: 1x free non-preemptible VM instance per month, free NAT for 32 VMs, 30 GB-months standard persistent disk, 1 GB network egress and everything else are not taken into account. | Resources that supports, and Google charges for: 🖥️ Compute Engine Instances • [x] All machine types are supported • [x] and accelerator optimized machines • [x] , and compute optimized machine series • [x] , , and memory optimized machine series • [x] , , , , , , , , , , , , and general purpose machine series • [x] Sustained use discounts (SUD) are applied to monthly costs • [x] Spot provisioning model (Spot VM) is supported • [ ] Flexible committed use discounts (Flexible CUD) are not supported • [x] 1 year and 3 year committed use discounts (CUD) are supported • [x] Paid "premium" operating system licenses (paid images) are supported • [x] SUSE Linux Enterprise Server • [x] SLES for SAP (1y and 3y committed use discounts (CUD) are also supported) • [x] Red Hat Enterprise Linux (1y and 3y committed use discounts (CUD) are also supported) • [x] RHEL for SAP (1y and 3y committed use discounts (CUD) are also supported) • [x] Windows Server • [x] Custom machine types are supported (have to be created manually) • [ ] Sole-tenant VMs are not supported 💾 Compute Engine Disks • [x] All persistent disk (PD) types are supported • [x] Zonal persistent disk • [x] Regional persistent disk • [x] Local SSD • [ ] Provisioned IOPS 🪣 Cloud Storage • [x] All storage classes and location types are supported • [x] region • [x] dual-region • [x] multi-region • [x] Retrieval fees are calulated 🚇 Hybrid Connectivity • [x] VPN tunnel • [ ] Interconnect is currently not calculated 🔗 Cloud NAT • [x] NAT gateway • [x] Data processing (both egress and ingress) 🚦 Cloud Monitoring (Operations Suite) • [x] Monitoring data 🕸️ Network • [x] Premium Tier internet egress • [x] Worldwide destinations (excluding China & Australia, but including Hong Kong) • [x] China destinations (excluding Hong Kong) • [x] Australia destinations 🏗️ TODO The following services are not currently supported, but are on the TODO list: • [ ] BigQuery • [ ] Cloud SQL Please suggest other resources worth covering by upvoting existing issue or opening new issue. 🧑🏫 Start the interactive tutorial This guide is available as an interactive Cloud Shell tutorial. To get started, please click the following button: 🏃 Quick start • Get program Download the ready complied and executable CLI program for your operating system and architecture. Linux Download: • x86_64 Intel or AMD 64-Bit CPU • arm64 Arm-based 64-Bit CPU (i.e. in Raspberry Pi) To determine your OS version, run or at the command line. Execute : macOS Download: • x86_64 Intel 64-bit • arm64 Apple silicon 64-bit To determine your OS version, run at the command line. Execute : Windows Download: • x86_64 Intel or AMD 64-Bit CPU • arm64 Arm-based 64-Bit CPU To determine your OS version, run at the command line. Execute : • Download price information Download the latest and tested price information file . The price information is automatically regenerated on a weekly basis. Download the updated pricing file regularly. Linux Download : macOS Download : Windows Download : • Run it Prepare a separate directory (i.e. ) just for your YAML usage files and create your first YAML usage file ( ) in this directory: > **Warning** > If the price list ( ) is in the same directory, errors occur because the YAML file is also parsed. Execute the CLI program: Linux Execute : macOS Execute : Windows Execute : Without extra specification of the directory all YAML files ( ) of the current directory are imported and the costs of the resources are calculated. You can specify the directory: The calculated costs are exported to one CSV (comma-separated values) file. Without specifying the file location, the file is named and is saved in the current directory. You can specify the CSV export file: You can import the CSV file with MS Excel, Apple Numbers, LibreOffice or Google Sheets. • Get familiar Continue to familiarize yourself with the options. The following documentations are prepared for this purpose: • Create usage files • Build pricing information file **🤓 Tip** Add to your Shell aliases with absolute pathnames. You can then execute anywhere. Alias ( ): ❤️ Contributing Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted. • Please read how to con…