I've got an ECS that implements a REST API, which does some fairly heavy computing, but can massively profit from caching at the request level (since it'll receive many identical requests).
I currently have caching implemented on the ECS image itself, but that's not optimal since the cache obviously is neither shared across ECS tasks nor permanent if a task should stop.
So, what's the best way to solve this in AWS? Can I use a Redis cluster or something similar and put it in front of the ECS cluster?