I am trying to connect to an Aurora RDS cluster located in our private subnets from our managed grafana as a data source.
According to this answer, a VPC endpoint for Grafana is the way to accomplish this.
I have created a Managed Grafana Interface VPC endpoint in the RDS cluster VPC, and for the same region our managed grafana was created at (for com.amazonaws.us-east-2.grafana
service). I have also attached this endpoint to all the private subnets the RDS cluster's subnet group is configured on.
When I test the connection to our RDS cluster in Grafana it fails with the following text:
<html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> Gateway Time-out
I'm specifying the endpoint and port of a reader instance, which otherwise being accessed from our bastion host is reachable. The reader instance's VPC security group allows TCP incoming traffic from 0.0.0.0/0 towards port 5432 and allows all outbound traffic.
What could be the problem with my setup?
Thank you for your time.