Skip to content

Using AWS ElastiCache Redis with DataRobot

はじめに

DataRobot supports the integration of external caching solutions, including AWS ElastiCache Redis (version 7.0), to optimize performance and enhance data retrieval. This documentation provides step-by-step instructions on configuring DataRobot to utilize AWS ElastiCache Redis as a caching layer.

Steps to Configure AWS ElastiCache Redis (version 7.0) with DataRobot

1. Launch Redis Cache Instance

  • Log in to the AWS Management Console.
  • Navigate to the ElastiCache service.
  • Click "Create" and select "Redis" as the engine.
  • Choose Cluster mode disabled to create a non-clustered Redis cache.
  • Choose "Engine Version 7.0" as the engine version.
  • Choose an appropriate Node type based on our requirements.
  • Follow the on-screen instructions to configure your ElastiCache Redis cluster, specifying details such as vpc, and security group.

2. Configure Advanced Settings

  • Optionally, configure additional settings such as encryption, maintenance window, tags, etc., according to your requirements.
  • Review the settings and click Create to deploy the Redis cache instance.

3. Obtain ElastiCache Redis Cluster Endpoint

  • Once the ElastiCache Redis cluster is created, note down the Primary Endpoint. You'll need this for configuring DataRobot.

4. Configure DataRobot to Use AWS ElastiCache Redis

When Redis is configured to utilize an external service, additional YAML override values must be provided.

global:
  redis:
    internal: false
    hostname: "YOUR_AWS_ELASTICACHE_REDIS_PRIMARY_ENDPOINT"
    port: "YOUR_AWS_ELASTICACHE_REDIS_PORT"
    tls: true
    sentinel:
      enabled: false
    auth:
      password: YOUR_AWS_ELASTICACHE_REDIS_PASSWORD

core:
  config_env_vars:
    REDISPROXY_PORT: YOUR_AWS_ELASTICACHE_REDIS_PORT

buzok-onprem:
  buzok-worker:
    services:
      redis:
        tls: true
        cluster: false
        useSentinel: false
        host: YOUR_AWS_ELASTICACHE_REDIS_PRIMARY_ENDPOINT
        port: YOUR_AWS_ELASTICACHE_REDIS_PORT 

AWS ElastiCache for Redis Backup and Restore

AWS ElastiCache for Redis offers backup and restore capabilities to protect your cache data. You can configure automatic backups and snapshots to ensure data durability and recovery options in case of failures. Refer to the AWS documentation for more information on backup options and best practices.

成果

By following these steps, you can seamlessly integrate AWS ElastiCache Redis (version 7.0) with DataRobot, providing an efficient caching layer to enhance performance. This setup improves data retrieval and overall system responsiveness. If issues arise, refer to DataRobot documentation and AWS ElastiCache documentation for troubleshooting guidance.

Note: Always ensure that you follow best practices for security and compliance when configuring external caching solutions with DataRobot.