Deleting Data Proc clusters
You can delete a cluster along with all the data stored in it. Note that data backups are not created automatically: if you want to save data for cluster recovery or future use, you can do that, for example, using Yandex Object Storage.
Before deleting a cluster
Disable deletion protection for the cluster if it is enabled.
Deleting the cluster
- Go to the folder page and select Data Proc.
- Click the icon for the desired cluster and select Delete.
- (optionally) Specify the decommissioning timeout.
- Confirm cluster deletion.
Data Proc runs the delete cluster operation.
With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it by configuration files. They store the infrastructure description in HashiCorp Configuration Language (HCL). Terraform and its providers are distributed under the Mozilla Public License.
If you change the configuration files, Terraform automatically determines which part of your configuration is already deployed and what should be added or removed.
Read more about Terraform in the documentation.
To delete a cluster created using Terraform:
In the command line, go to the folder with the current Terraform configuration file with an infrastructure plan.
Delete resources using the command:
Terraform will delete all the resources that you created using it, such as clusters, networks, subnets, and VMs.
Confirm the deletion of resources.