Are there any references on how to deploy Frappe on AWS ECS?

You will need to implement Redis with cluster mode disabled. That way you will have one primary node automatically replicating to all replica nodes and with failover enabled, if primary fails another node will become primary. This should work with a minimal configuration when routing traffic to Redis. You will
probably need to find a way to route all writes to primary endpoint and load balance reads to write nodes.

Also have a look at this alternative approach, which is docker based but not necessarily what you are looking for. This is the documentation of Press one of the key pieces of Frappe Cloud implementation.

Proxies you can have look at:

Some discussions: