GCP Cost Optimization Project

Sushant

Sushant Sonbarse

GCP Cost Optimization Project

This project is designed to help you optimize your Google Cloud Platform (GCP) costs. It provides scripts and tools to analyze your GCP usage, identify cost-saving opportunities, and automate cost optimization tasks.

Project Structure

scripts/: Contains scripts for cost optimization tasks.
data/: Stores data collected from GCP, such as billing reports and resource usage information.
reports/: Contains reports generated from the analysis of your GCP data.

Getting Started

Using Docker (Recommended)

This project includes a Docker-based monitoring stack using Prometheus and Grafana.
Prerequisites:
Docker and Docker Compose installed.
gcloud CLI configured with your GCP account.
Run the Monitoring Stack:
docker-compose up --build
View the Dashboard:
Prometheus: http://localhost:9090
Grafana: http://localhost:3000 (admin/admin)

Manual Script Execution

If you prefer to run the scripts manually:
Configure GCP Credentials:
Make sure you have the gcloud CLI installed and configured with your GCP account.
You can authenticate using gcloud auth application-default login.
Enable Required APIs:
You may need to enable the following APIs in your GCP project:
Cloud Billing API
Compute Engine API
Cloud Storage API
Run the Scripts:
The scripts in the scripts/ directory can be used to perform various cost optimization tasks.
See the README file in each script's directory for more information on how to use it.
This project was created by Sushant Sonbarse. You can find his GitHub profile here.
Like this project

Posted Jul 13, 2025

Developed tools for optimizing Google Cloud Platform costs.