- Newest
- Most votes
- Most comments
Hi,
This KB article show how to connect SageMaker to an RDS instance (proxy doesn't change anything: just use address of proxy instead of RDS instance): https://repost.aws/knowledge-center/sagemaker-connect-rds-db-different-vpc
This post shows also how to do from a Jupyter Notebook: https://medium.com/@sjacks/using-rds-on-aws-with-jupyter-notebooks-c2703299fcc8
Here you have a full example with the pgvector extension on Postgresql RDS: https://github.com/aws-samples/rds-postgresql-pgvector/blob/main/rdspg-vector.ipynb
Best,
Didier
I am still getting an error saying connection to server <myserver>, port 5432 failed, password authentication failed for user " username ".
Any suggestions please.
I would recommend to include region within the token variable option in your code, Refer this sample for the suggested approach- https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.Connecting.Python.html
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 4 months ago

Since I am using a token as authentication, I can't seem to get the details of user details or db name. Therefore when the second link that you provided it's still failing.