Migrate external Redis®* or Valkey databases to Aiven for Dragonfly®
Migrate external Redis® or Valkey databases to Aiven for Dragonfly® using the Aiven Console migration tool.
The migration of databases from Google Cloud Memorystore for Redis is not supported at this time.
Aiven for Dragonfly is fully supported by Aiven's service level agreements (SLAs), ensuring its capability to manage production workloads. As the latest addition to Aiven services, we recommend initiating a proof of concept (PoC) with Aiven for Dragonfly to thoroughly evaluate its capabilities and confirm its fit for your production requirements.
Compatibility check
Before migrating an external Redis or Valkey database to Aiven for Dragonfly, review your current database setup.
- Review database setup: Examine the data structures, storage patterns, and configurations in your Redis or Valkey database. Identify any unique features, custom settings, or specific configurations.
- API compatibility: While Dragonfly closely mirrors Redis API commands, some differences exist, especially with newer versions of Redis and Valkey. For information on command compatibility, refer to the Dragonfly API compatibility documentation.
Prerequisites
Before starting the migration process, ensure the following:
- Confirm a target Aiven for Dragonfly service set up and ready. For more information, see Get started with Aiven for Dragonfly®.
- Source database information:
- Hostname or connection string: The public hostname, connection string, or IP address used to connect to the database, accessible from the public Internet.
- Port: The port number used for connecting to the database.
- Username: The username with appropriate permissions to access the data for migration.
- Password: The password associated with the username.
- Firewall rules allow traffic between databases or temporarily disabled firewalls.
- An SSL-secured connection is recommended for data transfer during the source Redis database migration.
- If the source Redis service is not publicly accessible, establish a VPC peering connection between the private networks. You need the VPC ID and cloud name for the migration.
Instances such as AWS ElastiCache for Redis that do not have public IP addresses will require a VPC and peering connection to establish a migration.
Migration limitations
Aiven for Dragonfly does not support automatic migration of users, access control lists (ACLs), or service configurations from Redis or Valkey.
If you customized your Aiven for Caching or Aiven for Valkey service with specific settings, manually apply these configurations to Aiven for Dragonfly. Automatic transfer of custom configurations is unavailable due to differences in service configurations.
Database migration steps
To migrate a Redis or Valkey database to Aiven for Dragonfly:
- Log in to the Aiven Console and select the Aiven for Dragonfly service for your database migration.
- On the Overview page, click Service settings in the sidebar.
- In the Service management section, click Actions > Migrate database.
- Follow the wizard to guide you through the database migration process.