After you delete a database cluster, its backups are kept for 7 days for recovery purposes.
- Open the folder page in the management console.
- Select Managed Service for Redis.
- Click for the necessary cluster and select Delete.
- In the window that opens, check Delete cluster and click Delete.
If you don't have the Yandex.Cloud command line interface yet, install it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the
To delete a cluster, run the command:
$ yc managed-redis cluster delete <cluster name or ID>
The cluster name and ID can be requested with a list of clusters in the folder.
With Terraform, you can quickly create a cloud infrastructure in Yandex.Cloud. The infrastructure components are identified through configuration files that specify the required cloud resources and their parameters.
Read more about Terraform in the documentation.
If you created a cluster using Terraform, you can delete it:
In the command line, use the
cd <folder path>command to go to the folder with the Terraform configuration file.
Delete resources using the command:
Terraform will delete all the resources that you created using it: clusters, networks, subnets, VMs, and so on.
Confirm the deletion of resources.