Amazon ElastiCache

Create ElastiCache for Redis database and Memcache memory caching

Amazon ElastiCache is a serverless, Redis- and Memcached-compatible caching service delivering real-time, cost-optimized performance for modern applications.

Creating an ElastiCache in the DuploCloud Portal

  1. In the DuploCloud Portal, navigate to Cloud Services -> Database.

  2. Click the ElastiCache tab.

  3. Click Add. The Create a ElastiCache page displays.

  4. Select the ElastiCache Type and complete the required fields based on your type selection.

  5. Optionally, select Enable Cluster Mode to scale the ElastiCache instance for performance.

  6. Click Create.

Pass the cache endpoint to your application through the Environment Variables via the AWS Service.

Troubleshooting Redis Connection Issues in the AWS Environment

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

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates