Redis

Redis is deployed as a service in DigitalOcean with primary and standby nodes. It functions as a cache for a PostgreSQL database and does not include critical data.

Steps to Create a Redis Service in DigitalOcean:

  1. Navigate to Managed Databases:

    • Go to the "Databases" section in the control panel.

    • Click on "Create Database."

  2. Select Redis:

    • Choose Redis as the database engine.

    • Select the version: Redis 7 (Caching).

  3. Configure Cluster Settings:

    • Choose the region (FRA1), node size, set Eviction policy as allkeys-lru`

    • Enable high availability by selecting primary and standby nodes.

    • Add trusted sources (IP addresses) that can access the Redis cluster.

  4. Assign a name to Redis cluster (according to naming convention) and click "Create Database."

Redis Cluster Details:

Name

Endpoint

Port

vCPU

RAM

Disk

Version

redis-db-prod

redis-db.prod.rockengroup.com

25061

1

2

30

Caching 7

The communication between the application and the Redis cluster is exclusively routed through the internal VPC, with access to the public endpoint restricted.

Comments

Leave a Reply