Skip to main content
Version: Next

Caching

ElasticCache

  • Managed service of Memcached and Redis
  • Helps reduce load of databases for read intensive workloads
  • Helps make your application stateless
  • Memcached
    • Simple database caching solution
    • Not a database by itself
    • No failover or Multi-AZ support
    • No backups
    • Multi-node for partitioning of data (sharding)
  • Redis
    • Supported as a caching solution
    • Functions as a standalone database
    • Read Replicas to scale reads and have high availability
    • Failover and Multi-AZ support
    • Supports backups
    • Data Durability using AOF persistence
    • Supports Sets and Sorted Sets

Cache Security

  • Supports IAM Authentication for Redis
  • IMA policies on ElasticCache are only used for AWS API-level security
  • Redis AUTH
    • You can set a "password/token" when you create a Redis cluster
    • This is an extra level of security for your cache (on top of security group)
    • Support SSL in flight encryption
  • Memcached
    • Support SASL-based authentication (advanced)

DynamoDB Accelerator (DAX)

  • Is a fully managed, highly available, in-memory cache for DynamoDB
  • Can reduce DynamoDB response times from milliseconds to microseconds
  • Highly available and lives inside the VPC you specify