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
- Aiven Console
- Aiven CLI
- You have at least one custom cloud created in your Aiven organization.
- You have access to the Aiven Console.
- You have the organization admin role in your Aiven organization.
- You have at least one custom cloud created in your Aiven organization.
- You have the Aiven CLI client installed.
- You have the organization admin role in your Aiven organization.
Delete your cloud
Delete BYOC-deployed services
Before deleting your custom cloud, delete all services hosted in it.
- 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
- Aiven Console
- Aiven CLI
- Log in to the Aiven Console, and go to your organization.
- Click Admin in the top navigation, and click Bring your own cloud in the sidebar.
- In the Bring your own cloud view, select a cloud.
- On the selected cloud's page, click Actions > Delete.
- Click Delete in the Warning window.
Use the avn byoc delete command to delete your custom cloud.
avn byoc delete \
--organization-id "ORGANIZATION_IDENTIFIER" \
--byoc-id "CUSTOM_CLOUD_IDENTIFIER"
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
Since running terraform destroy requires specifying the variables file, add
-var-file=FILE_NAME.tfvars as an option.
Related pages