I have a dockerised web app that uses aws elasticache but while trying to deploy it on ECS I can't seem t connect to the elasticache. I have added the ECS security group to elasticache security group but it still doesn't work. I tried to curl the URL from instance but got response as :
- Could not resolve host: XXX.cache.amazonaws.com
- Closing connection 0 curl: (6) Could not resolve host: XXX.cache.amazonaws.com