Get started with Aiven for Dragonfly®
Get started with Aiven for Dragonfly by creating your service, integrating it with other services, and connecting to it with your preferred programming language.
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.
Prerequisites
- Console
- CLI
- Terraform
- Access to the Aiven Console
- Aiven CLI installed
- A personal token
Create an Aiven for Dragonfly® service
- Console
- CLI
- Terraform
-
In your project, click Services.
-
Click Create service.
-
Select Dragonfly.
-
Enter a name for your service.
importantYou cannot change the name after you create the service.
You can fork the service with a new name instead.
-
Optional: Add tags.
-
Select the cloud provider, region, and plan.
noteAvailable plans and pricing for the same service can vary between cloud providers and regions.
-
Optional: Add disk storage.
-
In the Service summary, click Create service.
The status of the service is Rebuilding during its creation. When the status is Running, you can start using the service. This typically takes couple of minutes and can vary between cloud providers and regions.
Use Aiven CLI to create your service:
-
Determine the service plan, cloud provider, and region to use for your Aiven for Dragonfly service.
-
Run the following command to create Aiven for Dragonfly service named dragonfly-demo:
avn service create dragonfly-demo \
--service-type dragonfly \
--cloud google-europe-north1 \
--plan startup-4 \
--project dev-sandbox
To see:
- A full list of default flags, run
avn service create -h
- Type-specific options, run
avn service types -v
The following example files are also available in the Aiven Terraform Provider repository on GitHub.
-
Create a file named
provider.tf
and add the following:Loading...
-
Create a file named
service.tf
and add the following:Loading...
-
Create a file named
variables.tf
and add the following:Loading...
-
Create the
terraform.tfvars
file and add the values for your token and project name.
To apply your Terraform configuration:
-
Initialize Terraform by running:
terraform init
The output is similar to the following:
Initializing the backend...
Initializing provider plugins...
- Finding aiven/aiven versions matching ">= 4.0.0, < 5.0.0"...
- Installing aiven/aiven v4.9.2...
- Installed aiven/aiven v4.9.2
...
Terraform has been successfully initialized!
... -
To create an execution plan and preview the changes, run:
terraform plan
-
To deploy your changes, run:
terraform apply --auto-approve
Create service integrations
Integrate Aiven for Dragonfly® with other Aiven services or third-party tools using the integration wizard available on the Aiven Console, Aiven CLI, or Aiven Terraform Provider. Learn how to create service integrations.
Connect to Aiven for Dragonfly
Learn how to connect to Aiven for Dragonfly using different programming languages:
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.
Explore other resources
- Learn about how Aiven for Dragonfly supports high availability.
- Migrate data from Aiven for Caching to Aiven for Dragonfly.
- Migrate data from external Dragonfly to Aiven for Dragonfly.