AWS ElastiCache
Create ElastiCache for Redis database and Memcache memory caching
Amazon ElastiCache is a serverless caching service delivering real-time, cost-optimized performance for modern applications. DuploCloud supports ElastiCache instances of the following types:
Memcached
Redis
Valkey
Creating a Memcached ElastiCache Instance
In the DuploCloud Portal, navigate to Cloud Services -> Database.
Select the ElastiCache tab, and click Add. The Create a ElastiCache page displays.
The Create an ElastiCache page in the DuploCloud Portal Enter a database Name.
Specify the number of Replicas.
In the Type list box, select Memcached.
Select the Memcached Version.
Select the node size in the Size list box.
Click Create. The Memcached ElastiCache instance is created.
Creating a Redis or Valkey ElastiCache Instance
In the DuploCloud Portal, navigate to Cloud Services -> Database.
Select the ElastiCache tab, and click Add. The Create an ElastiCache page displays.

Enter a database Name.
Specify the number of Replicas.
Optionally, enable Automatic Failover: if the primary node in the cluster fails, one of the read replicas is automatically promoted. This setting requires at least two replicas.
Optionally, enable Cluster Mode and specify the No Of Shards.
In the Type field, select Redis or Valkey.
In the Size list box, select the node size.
Optionally, complete the following fields:
Redis Version or Valkey Version: Select the version number of the cache engine to be used. If not set, defaults to the latest version.
Parameter Group Name: Specify the name of the parameter group to associate with this cache cluster.
KMS: Select the KMS key.
Encryption At Transit: Select if Encryption At Transit is needed.
Optionally, complete the snapshot fields to configure backup:
Snapshot Name: Select the snapshot/backup you want to use for creating Redis/Valkey.
Snapshot ARNs: Specify the ARN of a Redis RDB snapshot file stored in Amazon S3. Example-
arn:aws:s3:::s3-backup-foldername/backupobject.rdb
Snapshot Retention Limit: Specify retention limit in days. Accepted values - 1-35.
Snapshot Window Start Time: The time when your automated snapshot process will begin.
Snapshot Window Duration in hours: The length of time allowed for taking the snapshots automatically.

Optionally, click the CloudWatch link above the Log Delivery Configuration field to enable exporting engine logs and slow logs to Amazon CloudWatch Logs.
Complete the fields to configure CloudWatch:
Log Format
Log Type
Log Group
Click Add Config. The configuration is added to the Log Delivery Configuration field.

Click Create. The Redis or Valkey database instance is created.
Troubleshooting Redis Connection Issues in AWS
When a Redis instance in an AWS environment is experiencing connection issues, ensure the Security Group (SG) configuration allows VPN traffic to port 6379
. Then, using the nc
command, verify the Redis instance's accessibility.
If you encounter local DNS resolution problems, consider changing your DNS provider or connecting directly using the Redis instance's IP address, which can be obtained via the dig
command.
For persistent DNS issues, resetting your router or using external DNS query tools may help. If other troubleshooting steps fail, exploring AWS network interfaces can offer additional insights.
Last updated
Was this helpful?