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 in Kubernetes by Ali
• 10,290 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 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
• 35,720 points
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.