I have two same task in a service.
this task has the httpd.
It has different IP address 56.XX.XX.12
,56.XX.XX.15
I can access both address and get response. 56.XX.XX.12
,56.XX.XX.15
Now I try to attach original domain name to this fargate though, from my understanding, I should access to LoadBalancer IP address and LoadBalancer select the target task automatically am I wrong?
If so where can I find the LoadBalancer IP?
CodePudding user response:
From the AWS documentation:
The IP addresses for Classic Load Balancers and Application Load Balancers change over time. Avoid using this information to statically configure your applications to point to these IP addresses.
You should use the provided DNS name of the LoadBalancer instead.