What is the procedure for Installation and Configuration of Redis and ElastiCache?
- Create Redis Server in AWS
- Configuration in the Orchestrator server
Create Redis in AWS
- Go to AWS console https://aws.amazon.com
- Click on Services Search for Redis and Click on the ElastiCache as shown in the screenshot
- Click Create to launch the new Redis server
- Cluster engine should be Redis and click the same, since Orchestrator supports Redis for session syncing. To create a cluster environment, check the cluster mode for High Availability.
- Fill all necessary fields that are required as shown in below screen shot. Do not select “Cluster Mode Enabled."
Description: Any description for your cluster, such as “UiPath Redis Cluster”
Engine Version Compatibility: We recommend the latest version of Redis
Certain Redis functionality, such as Encryption requires versions 4.0 or newer.
Port: 6379
The port number can be changed if desired.
Parameter Group: default
Node Type: Redislabs recommends 15GB of memory in Production
Redis Requirements
Number of Replicas: We recommend a minimum of 2 replicas in Production Environments
Feel free to use 0 for a Dev environment or for a Test/POC deployment.
- Click on the Advance Redis Settings.
- Provide the necessary information click on create as shown the below screenshot.
Multi-AZ with Auto-Failover: For High Availability of the Redis Nodes
This option is only listed if you have 2 or more nodes.
Subnet Group: If you are using AWS for Orchestrator, select your subnet group of the rest of your deployment. Otherwise “Not in VPC” or Creating a new VPC are both viable options.
Preferred Availability Zones: Either select zones manually or allow AWS to automatically spread your deployment through availability zones by selecting “No Preference”
Security Groups: AWS Security Groups can be selected here as per company protocols and standards
Encryption at-rest: This option is currently being tested, enabling it may cause problems with the Orchestrator.
Encryption in-transit: This option enables encryption of data on-the-wire.
·Requires Redis version 3.2.6 or all versions since 4.0.
Seed RDB file S3 location: Data does not currently need to be imported to AWS ElastiCache.
Backups: Automatic backups are not required for an HA Setup of Redis for Orchestrator.
Maintenance: No preference, or select a window based on internal policies.
Note: Redis and Orchestrator server should be in same network on the AWS.
- Once Redis server created, the below is available and up to date. Copy the Primary Endpoint as shown in the below screenshot
Configuration in the Orchestrator server
- Go to web.config file and edit below setting
- Restart IIS and run Orchestrator.