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 no running services that use a custom cloud to be deleted.
- 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 no running services that use a custom cloud to be deleted.
- You have the Aiven CLI client installed.
- You have the organization admin role in your Aiven organization.
Delete your cloud
- 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"
Remember to 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. Unless you've removed
them earlier, use the terraform destroy
command to delete them. See
the guidelines on how to use the destroy
command in Command:
destroy.
When running terraform destroy
, add -var-file=FILE_NAME.tfvars
as an option.