Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Cohesity Cloud Scale Technology Deployment Guide Using Terraform for AWS
  3. Troubleshooting and cleanup environment steps
  4. Cleanup steps
Cohesity Cloud Scale Technology Deployment Guide Using Terraform for AWS

Cleanup steps

These steps are to be followed if you wish to cleanup the resources which are created during the deployment including infrastructure and product deployment.

Terraform destroy command can be used to destroy the resources created during the deployment. The destroy operation is performed in reverse order from that of creation. It is used instead of deleting the assets individually.

Sequence to cleanup the deployment infrastructure

Pass the input variable files (.tfvars) which were used during creation. Navigate to the respective directories and execute the following commands:

  1. Deployment:

    cd aws/deployment

    terraform destroy -var-file <vars-file>.tfvars

    You may need to run the destroy command twice to cleanup the environment.

    Note:

    It may happen that even after executing the destroy command, the environment is not cleaned. Execute the manual steps to cleanup the remains. Refer to the pt.2 from the See Troubleshooting issues.

  2. Addons

    cd aws/addons

    terraform destroy

  3. Base

    cd aws/base

    terraform destroy -var-file <vars-file>.tfvars

Feedback

Was this page helpful?
Previous

Troubleshooting issues

Next

Introduction

Feedback

Was this page helpful?