I am hosting a reaction commerce implementation on an EC2 Instance on AWS.
To run this I need 2 hydra tasks (one private and one public one).
To do so I created 2 tasks with this container:
These are temporary test environments so I am oke with sharing them.
These tasks seems to be running fine, but when the create-client script is called. My private load balancer DNS can not be found.
getaddrinfo ENOTFOUND http://internal-bylder-hydra-admin-lb-2098419206.eu-west-2.elb.amazonaws.com http://internal-bylder-hydra-admin-lb-2098419206.eu-west-2.elb.amazonaws.com:80
This is the right loadbalancer address though.
The loadbalancer is open on 80 and 443.
The health check is successful (path: /, successcode:404)
Is there something I am missing in this setup? I can’t figure out what’s wrong.