Error saying OperationalError could not translate host name when trying to connect RDS with AWS - Kubernetes

0 votes

I'm trying to connect my Django instance to RDS service and I end up with this error message

django.db.utils.OperationalError: could not translate host name
Jan 4, 2019 in Kubernetes by Ali
• 11,360 points
7,150 views

1 answer to this question.

0 votes

Hey @Ali, First of all, make sure that your AWS deployment and your RDS are connected to the same VPC. If not connect them to the same VPC. Then change your host to use your private IP. To do so, ping RDS endpoint and you'll be displayed the private IP address. Use this IP address in your host. I think it should then work. 

If this does not work, please provide more details.

answered Jan 4, 2019 by Viky

Related Questions In Kubernetes

0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,360 points
892 views
+1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP