Skip to main content

Delete a custom cloud

Delete a custom cloud so that it's no longer available in your Aiven organization, units, or projects.

After deleting a custom cloud, the data co-hosted in this cloud will no longer be available from the Aiven platform. Before deleting your custom cloud, make sure there are no active services using this cloud.

Impact on your Aiven resources

The deletion impacts mostly resources on the Aiven site, such as cloud configuration files.

Impact on your remote cloud resources

A bastion service and the corresponding compute instance are deleted as a consequence of your custom cloud's removal. As for resources created when applying the Terraform template to create the custom cloud, they are not removed after deleting the custom cloud. Unless you've removed them earlier, you're advised to do that after deleting your cloud.

Prerequisites

Delete your cloud

Delete BYOC-deployed services

Before deleting your custom cloud, delete all services hosted in it.

important
  • You cannot delete your custom cloud until all services deployed in it are deleted.
  • Deleting BYOC-deployed services permanently removes all hosted data, service backups, and configurations.

Delete the cloud from Aiven

  1. Log in to the Aiven Console, and go to your organization.
  2. Click Admin in the top navigation, and click Bring your own cloud in the sidebar.
  3. In the Bring your own cloud view, select a cloud.
  4. On the selected cloud's page, click Actions > Delete.
  5. Click Delete in the Warning window.

Delete cloud resources from Terraform

Remove the resources created in your remote cloud account when applying the Terraform template to create the custom cloud. They are not removed automatically after deleting the cloud.

To delete the resources, run:

terraform destroy -var-file=FILE_NAME.tfvars
important

Since running terraform destroy requires specifying the variables file, add -var-file=FILE_NAME.tfvars as an option.

Related pages