Skip to content

amcginlay/gcp-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 

Repository files navigation

gcp-cleanup

Steps to clean up a project after typical use

  • Network services

    • Cloud DNS - delete all record set entries and containing zones
    • Load Balancers - delete all LBs plus attached resources as prompted (e.g. frontends, backends, certificates, etc.)
  • Compute Engine

    • VM instances - stop and delete all
    • Instance groups - delete all
    • Disks - delete all
    • Images - delete only the images created by your project name
    • Metadata - delete all SSH Keys and Metadata
    • Health Checks - delete all
  • Storage

    • Browser > Buckets - delete all
  • SQL

    • Delete all
  • VPC Networks

    • VPC network peering - delete all, one by one
    • VPC Networks - Delete non-default networks and all sub-components
    • External IP addresses - Release Static Addresses
    • Firewall rules - Delete non-default rules
  • IAM & Admin (look for names like terraform, opsman, pks, blobstore but be careful to not remove yourself!)

    • IAM - delete any accounts the install explicitly created
    • Service Accounts - delete any accounts the install explicitly created
  • Disable APIs (optional)

    • APIs and Services -> Dashboard - hide used APIs then disable all that remain

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published