Power on/off and delete your Aiven for MySQL® service
Power off your Aiven for MySQL® service to release resources and save credits, power it back on when you need it, or delete it permanently.
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.
- To power off a service, 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.
- To power on a service, 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
When you power on an Aiven for MySQL service, the latest backup is restored and the binary log (binlog) is replayed to recover the data to the latest available point in time.
Static IP addresses are not removed when a service is powered off or deleted. They continue to generate the usual costs. To avoid these costs, remove the static IP addresses.
Delete a service
- Console
- CLI
- In your project, click Services.
- Open the service to delete, and click Actions > Delete service.
To delete a service, run:
avn service terminate SERVICE_NAME
Related pages