Articles → AWS → Elasticache In AWS
Elasticache In AWS
Purpose
Elasticache Engines
- Redis
- Memcache
Steps Of Creating An Elastic Cache
- Enable port 6379 in the security group
- Launch an EC2 instance
- Create an elasticache
- Install Redis agent on the EC2 instance
- Test the elasticache
Enable Port 6379 In The Security Group
Launch An EC2 Instance
Create An Elasticache
Install Redis Agent On The EC2 Instance
redis-cli -c -h myfirstesnode.lqatbt.ng.0001.use2.cache.amazonaws.com -p 6379
Test The Elasticache
set <keyname><value>
get <keyname>
Difference Between Different Cluster Engine
| Feature | Memcache | Redis (Cluster Mode Disabled) | Redis (Cluster Mode Enabled) |
|---|
| Data persistence | No | Yes | Yes |
| Data types | Simple | Complex | Complex |
| Data partitioning | Yes | No | Yes |
| Encryption | No | Yes | Yes |
| High Availability (Replication) | No | Yes | Yes |
| Multi-Az | Yes | Yes, with auto failover | Yes, with auto failover |
| Multithreaded | Yes | No | No |
| Backup and restore | No | Yes | Yes |
| Posted By - | Karan Gupta |
| |
| Posted On - | Tuesday, November 9, 2021 |
| |
| Updated On - | Monday, August 22, 2022 |