First, review the resource-specific restoration options to understand the impact of deprovisioning each type of resource and make any necessary preparations, such as exporting Database data, before proceeding.

Apps

Deprovisioning an App also deprovisions its Endpoints. Apps can be deprovisioned using the aptible apps:deprovision CLI command or through the Dashboard:

  • Select the App

  • Select the Deprovision tab

  • Follow the prompt

Database Backups

Automated Backups are deleted per the Environment’s backup retention policy when the Database is deprovisioned. Manual backups, created using the aptible db:backup CLI command, must be deleted using the aptible backup:purge CLI command or through the Dashboard:

  • Select the Backup Management tab within the desired Environment.

  • Select “Permanently remove this backup” for backups marked as Manual.

Databases

Databases can be deprovisioned using the aptible db:deprovision CLI command or through the Dashboard:

  • Select the desired Database.

  • Select the Deprovision tab.

  • Follow the prompt.

Log and Metric Drains

Delete Log and Metric Drains in the Dashboard:

  • Select the Log Drains or Metric Drains tabs within each Environment.

  • Select Delete on the top right of each drain.

Environments

Environments can only be deprovisioned after all of the resources in the Environment have been deprovisioned. Environments can only be deprovisioned through the Dashboard:

  • Select the Deprovision tab within the Environment.

  • Follow the prompt.