Decomissioning a DSS instance deployed with terraform¶
Clean up¶
Danger
Note that the following operations can't be reverted and all data will be lost.
- Navigate to the workspace folder and run
./get-credentials.shto login to kubernetes; see corresponding services deployment documentation - To delete all resources, run
tk delete .in the tanka workspace folder (Tanka) orhelm uninstall --kube-context=${cluster_context} dss(Helm). - (AWS) Make sure that all load balancers and target groups have been deleted from the AWS region before next step.
- (GCP) If
google_delete_protectionistrue(default), set it tofalsein yourterraform.tfvarsand runterraform applyin your infrastructure folder, otherwiseterraform destroyfails. This protection is stored in the Terraform state only and can't be changed from the Google Cloud console. terraform destroyin your infrastructure folder.- (AWS) On the EBS page, make sure to manually clean up the persistent storage. Note that the correct AWS region shall be selected.
- (GCP) Manually clean up the persistent storage