AWS Elasticache is an in memory cache based db for AWS cloud. Fully managed, easy to deploy, operate and scale as per customers needs
Reduces the disk access by saving the most used and most critical data in the memory thus reduces latency
Supports two popular cacheing engines
Memcached
Not persistent, memory only
Port (11211)
Parameter Group: acts as a container for engine configuration values that can be applied to one or more clusters.
node type (Eg: cache.r4.large or cache.t2.small)
Specify security groups, subnets (for assigning private ips to nodes)
Specify upto 20 nodes in your cluster. A node is a partition of your data.
Redis is a in memory key-value store (persistent db) that supports structured data sets such as lists, tables. Redis can be used as db, cache and message broker
Cluster mode is optional
Port 6379
parameter group
node type (Eg: cache.r4.large or cache.t2.small)
number of shards. A shard is a partition of your data and is comprised of one primary and up to five read replicas
number of replicas per shard
Multi AZ with auto failover
Encryption at rest/transit
Backups
For saving web server sessions, use AWS Elasticache (Better than DynamoDB)