Power an Aiven for DataHub service off or on Limited availability
You can power off an Aiven for DataHub service at any time to stop all processes and reduce costs. Powering off a DataHub service also powers off its component services.
Metadata ingestion stops and you cannot access the DataHub UI or API. Ingestion restarts and access is restored when you power the service back on.
Power off a service
When you power off a service:
- All virtual machines are removed from the public cloud.
- The service configuration is stored on the Aiven Platform.
- If there are no backups, all service data is lost.
- If the service has time-based or point in time recovery backups, the backups remain on the Aiven Platform.
Services powered off for more than 180 days are automatically deleted.
- Console
- CLI
- In your project, click Services.
- Select the service to open the Overview page.
- Click Actions > Power off service.
To power off a service, run:
avn service update SERVICE_NAME --power-off
Power on a service
When you power on a service:
- New virtual machines are created on the service's public cloud.
- The service starts with the stored configuration parameters.
- The latest time-based backup is restored.
- Maintenance updates are automatically applied.
- If a point in time recovery backup is available, the database transaction logs are replayed to recover the service data to a specific point in time.
The restoration takes from a few minutes to a few hours, depending on the network bandwidth, the disk IOPS allocated to the service, and the size of the backup.
- Console
- CLI
- In your project, click Services.
- Select the service to open the Overview page.
- Click Actions > Power on service.
To power on a service, run:
avn service update SERVICE_NAME --power-on
To see when the service is running, run:
avn service wait SERVICE_NAME