Skip to content

Cloud native system to decommission Google Cloud resources when they aren't needed anymore.

Notifications You must be signed in to change notification settings

JonnyDaenen/ZUNA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZUNA

Zap Unused and Non-permanent Assets (Dutch version: Zet Uwe Nest Af)

Cloud native system to decommission Google Cloud test resources. Resources should be labeled with autodelete:true.

Features

Core

  • List active dataflow jobs
  • Drain dataflow jobs
  • List BigQuery datasets
  • Delete BigQuery datasets
  • Pub/Sub subscription list
  • Pub/Sub subscription deletion
  • Pub/Sub topic list
  • Pub/Sub topic deletion
  • GCS bucket list
  • GCS bucket deletion

Basic

  • Main script with ordered execution
  • Local invocation possible
  • BigQuery table deletion
  • BigQuery non-EU datasets
  • Dataflow drain/cancel wait
  • Dataflow cancel option (env var)

Usage

  • Pass in project id (env var)
  • Cloud function support
  • Cloud scheduler support
  • Installer: resource creation script
  • Dedicated service account
  • Standard roles on service account (project-level)
  • Dockerize
  • Publish to docker hub
  • Flag to override input (Y/n)

Installation

export GCP_PROJECT_ID=<your projecy id>
bash ./scripts/001_deploy.sh

About

Cloud native system to decommission Google Cloud resources when they aren't needed anymore.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published