Redis - Get started
How do I provision a Redis PaaS?
To get started, go to ITCare and search for your target global service where you'll create your new Redis deployment.
Search for your Global Service in the top search bar and click on it to display its information page.
Once in your Global Service, click on the Create Resource button, select Redis and the required version.
Fill in the form:
Select a topology
Define the name of the future deployment
Sizing
Storage requirements for each instance
Target location
Target network
Management options (backup, monitoring, 24/7, remote site replication)
Click Next once all fields have been filled in.
In the customization step :
Enter the password for the administrator account to be provided
Select the required persistence options
Enable or disable TLS encryption
Then click on Next.
Passwords are not saved by cegedim.cloud. Be sure to save your password!
Review the summary before submitting the form.
Once the deployment is ready, you'll be notified by e-mail.
How to connect to a standalone Redis instance?
This code describes how to connect to Redis when the topology is a single instance. This code is deliberately simplified (errors are not handled), and is intended for demonstration purposes only.
The Python language is used. We assume that the Redis instance is named pcluredis01.hosting.cegedim.cloud.
How do I connect to a Redis cluster?
This code describes how to connect to Redis in a cluster topology (with Sentinel). This is deliberately simplified (errors are not handled), and is intended for demonstration purposes only.
The Python language is used.
We assume that the Redis cluster is named redis-cluster with a "pclu" prefix. There are therefore 3 instances in this cluster:
pcluredis01.hosting.cegedim.cloud
pcluredis02.hosting.cegedim.cloud
pcluredis03.hosting.cegedim.cloud
Two samples are available, with and without TLS.
Last updated