Skip to content
LogScale Self-Hosted Deployment
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

### GCP Deployment Cleanup

The cleanup process for a GCP deployment includes infrastructure removal using Terraform destroy commands and manual deletion steps. The process involves executing specific commands from the logscale-gcp-components directory, removing DNS records, and deleting the GCS bucket named 'logscale-terraform-state' through the console.

1. It's possible to run an individual kubectl delete on each resource or you can run terraform destroy

   You'll need to run the following commands:

   shell

       $ cd logscale-gcp-components/gcp
       $ terraform destroy
       Do you really want to destroy all resources?
         Terraform will destroy all your managed infrastructure, as shown above.
         There is no undo. Only 'yes' will be accepted to confirm.

         Enter a value: yes

2. Delete the DNS records which were created for `$INGRESS_HOSTNAME`

3. Delete the GCS bucket - `logscale-terraform-state` using the console

#### Enter search term