Skip to content

About

Samples and documentation for using the Amazon ElastiCache Redis and Memcached

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

97 stars

Watchers

9 watching

Forks

Latest commit

 

History

317 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon ElastiCache Samples

Code Samples, tools and documentation for using with Amazon ElastiCache for Valkey, Memcached and Redis OSS.


Blogs

Hands-On Tutorials

The following are tutorials covering various use cases for Amazon ElastiCache.

  • Database Caching - Learn how to create a query cache for a relational database using Amazon ElastiCache with Redis OSS compatibility. In this tutorial, we take you through the process of deploying an Amazon Relational Database Service RDS MySQL database and integrating an Amazon ElastiCache with Redis OSS compatibility cluster in front of the RDS instance in order to reduce query latency for often run MySQL queries.

  • Session Store - Discover how to manage user sessions in a web-based application using Amazon ElastiCache with Redis OSS compatibility. In this tutorial, you will learn how to use ElastiCache with Redis OSS compatibility as a distributed cache for session management. You will also learn the best practices for configuring your ElastiCache nodes and how to handle the sessions from your application.

  • Lambda Feature Store - Learn how Amazon ElastiCache can serve as the focal point for a custom-trained ML model to present recommendations to application and web users. Lambda functions are used to facilitate the interactions between ElastiCache with Redis OSS compatibility and Amazon S3. Then review how AWS Lambda interacts with Amazon ElastiCache with Redis OSS compatibility with insights loaded from a custom-built ML recommendation engine.

  • Spring Framework with GLIDE - See an example implementation of Spring Boot caching using the Valkey GLIDE client.

  • Multi-Tenant Isolation - Isolate many tenants on a shared Amazon ElastiCache for Valkey cluster using numbered databases (Valkey 9.0) and database-level ACLs (Valkey 9.1), so that the engine, not the application, blocks cross-tenant access. Includes a hardened CloudFormation deployment, scripts that prove isolation with pass/fail checks, and an optional multi-tenant storefront demo.

  • Durable Session Store - Keep shopping carts and session state durable on Amazon ElastiCache for Valkey 9.1 (cluster mode enabled, one primary and two replicas, synchronous durability), so carts survive app restarts and a primary failover. Includes a Flask storefront on ECS Fargate behind an HTTPS-only load balancer, an AWS CDK deployment, and a live "fail over the primary" demo.

Webinars

DevOps

Deploy infrastructe as code

AWS CDK [Cloud Development Kit]

TypeScript


Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

Samples and documentation for using the Amazon ElastiCache Redis and Memcached

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

97 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages