I am trying to federate Istio and Consul service mesh on AWS.
A service deployed in Istio is trying to access a service in Consul using Consul ingress gateway.
The external IP allocated to Consul ingress gateway from AWS is something like: 1212232323.eu-central-1.elb.amazonaws.com and it is running on port 8080
When I add a service entry in Istio cluster to access the Consul ingress gateway external IP, It does not work as expected.
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name: info-ext
spec:
hosts:
- ad6111f7b9.eu-central-1.elb.amazonaws.com
ports:
- number: 8080
name: http
protocol: HTTP
resolution: DNS
location: MESH_EXTERNAL
Can someone help me understand why the service entry is not working. Thanks!