Connection of glue with rds database isn't working

0

I am trying to connect AWS glue crawler with a postgres db on RDS. Both the crawler and DB are in the same region. steps followed:

  1. created a connection with jdbc url username and password(credentials are correct and working in other applications)
  2. in the VPC I created an endpoint within a particular subnet.
  3. created a NAT gateway
  4. edited the route tables to target the NAT gateway
  5. in the security group of the rds db added self-referencing inbound rule for all TCP ports.
  6. added the security group in the glue connection Now when I test the connection i get Failed to test connection flip_rds-23 due to FAILED status. on checking the logs i get 2024-04-24T16:00:17.670+05:30 ERROR StatusLogger Unrecognized format specifier [d] 2024-04-24T16:00:17.671+05:30 ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern. what am i missing here?
1 Answer
1
Accepted Answer

The problem is not network related.

It's probably due to AWS GLUE JDBC driver that doesn't support the scram-sha-256 encryption type which is the default password starting from Postgres 14.

Please follow the guide here:

https://repost.aws/questions/QU5ZDUGnvnREWUT0CA-a6rSw/aws-glue-connects-to-rds-postgresql#AN3H4Bw4O9R4iNcfPTMxycfQ

AWS
answered 11 days ago
profile picture
EXPERT
reviewed 11 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions