The problem is Ratel UI fails to connect to the dgraph cluster.
I have tried using the alpha endpoint as well as the ratel endpoint. Where am I going wrong?
Have you checked about the URL? I think you are using an internal URL created just for k8s contex. You should use localhost or the IP provided by your cloud provider.
It could take some time for the ELB to be created and further propagation for public DNS on Route53.
Does the ELB come up, and you can access through that ELB dns name? What happens if you curl using ELB address and DNS address for both https and http? For example*:
Lastly, assuming that this is external-dns is using public Route53 DNS w/ permissions, i.e. IAM role on EKS worker nodes or service account with trust to IAM Role.
All of this time, I was under that thinking that Ratel was not coming up, but it is the Alpha instead. DId you expose your alpha service resource in the similar way?
Ratel is a pure react client, so it accesses alpha through a exposed endpoint.
Assuming the alpha is also exposed with targetPort port 8080 with prot to either 80 or 443, you would access using (fictitious URL for example):
http://dev-eks-dgraph-alpha-mt-c01.domain.example.com
or
https://dev-eks-dgraph-alpha-mt-c01.domain.example.com
If you accessed ratel from using https url, then alpha has to be https url as well because the web browser could block it due to mixed content security.
Also, if you have data on the dgraph cluster that you don’t want to exposed to the public Internet when alpha is exposed, you may consider using internal LB, which is then accessed from bastion jump host or vpn, or at least add a SG to restrict to IP white list that can access the service.