Istio 1.9 Virtual Machine integration with AWS Ec2

Hi team,
I have a mysql running in AWS EC2. I followed all the steps and setup mentioned in the Istio / Virtual Machine Installation but am always getting this error while starting the istio via sudo systemctl start istio in the vm am getting this error.

2021-03-22T18:44:04.251227Z warn sds failed to warm certificate: failed to generate workload certificate: create certificate: rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing dial tcp: lookup istiod.istio-system.svc on 10.8.0.2:53: no such host”
2021-03-22T18:44:04.849207Z warn ca ca request failed, starting attempt 1 in 91.182413ms

Request somebody to help on this, as i have been stuck in this for more than 3 days!!!

It looks like the dns is not able to resolve istiod.istio-system.svc. Depending on your cluster setup, you will have to provide the ip address so that it can reach istiod. I hope this helps. Without understanding your cluster setup, it is difficult to provide more details. A few things u can try is to add the ip address to your /etc/hosts file so that it can reach istiod. Another is to make an entry in route53 so that it can resolve the host name.

same problem!

Is the IP address the public IP of the k8s host?

my problem install istio on virtual machine, cann't access url from vm · Issue #34471 · istio/istio · GitHub

I think it should be your ingress gateway like your internal ELB, not one of the k8s host ec2.