Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔎 Spike: Investigate Migrating In-Cluster Redis to AWS ElastiCache #1704

Open
9 tasks
jasonBirchall opened this issue Feb 12, 2025 · 0 comments
Open
9 tasks

Comments

@jasonBirchall
Copy link
Collaborator

User Need

As a member of the AI Team and an SRE
I want to investigate replacing our in-cluster Redis instance with AWS ElastiCache
so that we can avoid memory constraints, reduce manual intervention, and ensure high availability for our application


Functional Requirements (What):

  • Work with the AI SRE team to set up a spike to understand the feasibility and benefits of using AWS ElastiCache versus in-cluster Redis
  • Get a working prototype of ElastiCache terraform module for users to insert into their applications.
  • Identify potential changes required in our application code/configuration to point to ElastiCache
  • Document the expected cost, performance implications, and any operational overhead
  • Ensure the AI SRE team can connect their application environment to their ElastiCache instance

Non-Functional Requirements (How):

  • Ian and Roch should have a clear understanding how to provision, access and maintain an ElastiCache instance.

Acceptance Criteria:

  • A proof of concept or test environment has been configured to trial AWS ElastiCache
  • A recommendation (and migration plan if proceeding) is presented to both the AI Team and Platform Engineering
  • Any risks or blockers are identified, with clear next steps for resolution

Notes:

  • This spike originates from a postmortem where our in-cluster Redis instance OOM’d and required manual scaling by Platform Engineering.
  • The aim is to prevent similar incidents by offloading Redis responsibilities to a managed solution.
  • The existing AI Team ticket about splitting read/write pods for Search API (Trello #4dC5b61X) can be considered separately, but this spike will inform that effort if caching is required.
  • Once completed, we can apply learnings and rollout similar migrations to other teams running Redis in-cluster if beneficial.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant