Intermediateautomation

GCP Orphaned Network Ingredient Bisque

Professional PowerShell script that identifies orphaned Google Cloud Platform resources (Persistent Disks, Static IPs, and Load Balancer Forwarding Rules) for cost optimization. Features gcloud CLI integration, beautiful HTML reports, and chef-themed automation that transforms forgotten cloud ingredients into substantial monthly savings.

⏱️ Prep Time:10 minutes setup + automated monthly inspections
🧩 Difficulty:Intermediate

πŸ” What It Does

  • πŸ₯” Disk Potatoes (Persistent Disks) detection - finds unattached disks bleeding $0.04/GB monthly
  • πŸ§… Crying Onions (Static IPs) identification - discovers reserved IPs costing $7.30/month each
  • πŸ„ Load Balancer Mushrooms (Forwarding Rules) scanning - locates rules with no targets costing $18.25/month
  • 🏒 Multi-project scanning capabilities covering all GCP projects or selected project pantries
  • πŸ’° Real-time cost calculation engine with current GCP pricing for accurate savings estimates
  • πŸ“Š Beautiful chef-themed HTML reports with executive summaries and detailed resource breakdowns
  • βš™οΈ gcloud CLI integration for reliable resource discovery and native GCP authentication support
  • πŸ” Automatic authentication handling with gcloud auth login prompts for seamless setup

βš™οΈ Requirements Checklist

  • βœ… PowerShell 5.1+ or PowerShell Core 6.0+ for running the cloud optimization recipes
  • βœ… Google Cloud SDK (gcloud CLI) installed and configured for resource discovery
  • βœ… GCP account with Compute Engine and Project Viewer permissions for comprehensive scanning
  • βœ… Active GCP authentication with gcloud for multi-project access and resource enumeration
  • βœ… Project-level access permissions for all target projects in your organization

πŸ“Œ Talk Nerdy Tip:

Start with highest-cost resources (Forwarding Rules, Static IPs) for maximum immediate impact. Always verify resources are truly unused before cleanupβ€”check for planned deployments or scheduled tasks. Like maintaining a clean cloud kitchen, regular monthly scans prevent waste accumulation and keep your GCP pantry organized. πŸ‘¨β€πŸ³

gcp-cost-optimizationorphaned-persistent-disksunused-static-ipsidle-forwarding-rulesgoogle-cloud-optimizationpowershell-automationgcloud-cli-integrationmulti-project-detectioncloud-waste-eliminationchef-themed-reports