Amazon ElastiCache
Create ElastiCache for Redis database and Memcache memory caching
Last updated
Create ElastiCache for Redis database and Memcache memory caching
Last updated
© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates
Amazon ElastiCache is a serverless, Redis- and Memcached-compatible caching service delivering real-time, cost-optimized performance for modern applications.
In the DuploCloud Portal, navigate to Cloud Services -> Database.
Select the ElastiCache tab, and click Add. The Create a ElastiCache page displays.
Provide the database Name.
Select the number of replicas in the Replicas field.
In the Type list box, select Memcached.
Select the Memcache Version.
Select the node size in the Size list box.
Click Create. The Memcached ElastiCache instance is created.
Pass the cache endpoint to your application through the Environment Variables via the AWS Service.
In the DuploCloud Portal, navigate to Cloud Services -> Database.
Select the ElastiCache tab, and click Add. The Create an ElastiCache page displays.
Provide the database Name.
Select the number of Replicas.
Optionally, if you selected more than 2 replicas, enable Automatic Failover. When automatic failover is enabled and the primary Redis node in the cluster fails, one of the read replicas is automatically promoted to become the new primary node.
Optionally, enable Cluster Mode.
In the Type field, select Redis.
In the Size list box, select the node size.
Optionally, complete the Redis Version, Parameter Group Name, KMS (Optional), Encryption At Transit, Snapshot Name, Snapshot ARNs, and Snapshot Retention Limit fields.
Optionally, click the CloudWatch link above the Log Delivery Configuration field to configure the Redis instance to deliver its engine logs to Amazon CloudWatch Logs. The Add CloudWatch Logs: Log Delivery Configuration pane displays. Complete the Log Format, Log Type, and Log Group fields. Click Add Config. The configuration is added to the Log Delivery Configuration field.
Click Create. The Redis database instance is created
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.