Get started with Aiven for Caching
The first step in using Aiven for Caching is to create a service. You can do so either using the Aiven Console or the Aiven CLI.
Create an Aiven for Caching service
- Console
- CLI
-
From your project, in the Services page, click Create service.
-
From the Select service page, click Aiven for Caching.
-
Select the cloud provider and region to host your service on.
noteThe pricing for the same service can vary between different providers and regions. The service summary shows you the pricing for your selected options.
-
Select a service plan.
noteThis determines the number of servers and the memory, CPU, and disk resources allocated to your service. See Plans & Pricing.
-
Optional: Add disk storage.
-
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.
-
Click Create service.
The Overview page of the service opens. It shows the connection parameters for your service, its current status, and the configuration options.
The status of the service is Rebuilding during its creation. When the status becomes 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 Caching service.
-
Run the following command to create a Caching service named demo-caching:
avn service create demo-caching \
--service-type redis \
--cloud CLOUD_AND_REGION \
--plan PLAN \
--project PROJECT_NAME
To see:
- A full list of default flags, run
avn service create -h
- Type-specific options, run
avn service types -v
Connect to Aiven for Caching
Learn how to connect to Aiven for Caching using different programming
languages or through redis-cli
:
Explore other resources for Aiven for Caching
-
High availability in Aiven for Caching.
Learn about how Aiven for Caching supports high availability.
-
Check how Aiven for Caching supports SSL connections and how can be configured.
-
Memory usage, on-disk persistence and replication in Aiven for Caching.
See how Aiven for Caching solves the challenges related to high memory usage and high change rate.
-
Estimate maximum number of connections in Aiven for Caching.
Learn how estimate the max number of simultaneous connections in Aiven for Caching service.
-
Lua scripts with Aiven for Caching.
Learn about inbuilt support for running Lua scripts in Aiven for Caching service.
-
Learn how to benchmark the performance of Aiven for Caching service.