Hello, I'll explain my goal:
I have two databases, one for production and one for staging, both on PostgreSQL in RDS. I want to transform some tables from my production database and move them to the staging one. For example, I want to change the email column to mail@mail.com instead of the real value.
What I've Tried
Here's what I've done so far: I created a connection in a connector for the production database. I selected the Amazon Aurora connection type, then I modified the URL, changing mysql to postgresql. I've set up user and password authentication, and in the network options, I've configured the VPC, the subnet associated with the production database, and the security groups for the production database.
Once that was ready, I created three endpoints:
com.amazonaws.eu-west-1.s3 com.amazonaws.eu-west-1.glue com.amazonaws.eu-west-1.rds
Next, for the three security groups that my production database uses, I added the following inbound rules:
PostgreSQL - TCP - 5432 - sg-name1 / example1 PostgreSQL - TCP - 5432 - sg-name2 / example2 PostgreSQL - TCP - 5432 - sg-name3 / example 3
These rules are in all three security groups, and I've even added an inbound rule for the security group itself in all three.
Additionally, there are these inbound rules in example 1:
com.amazonaws.eu-west-1.s3
In a final attempt, I even added an inbound rule for the private IP of the production database:
PostgreSQL - TCP - 5432 - 1x.3x.2x.1x/00
IAM Role Configuration
The IAM role has the following policies:
AdministratorAccess AmazonDataZoneGlueManageAccessRolePolicy AmazonEC2FullAccess AmazonOpenSearchDirectQueryGlueCreateAccess AmazonRDSFullAccess AmazonS3FullAccess AmazonSSMManagedInstanceCore AWSGlueConsoleFullAccess AWSGlueServiceRole AWSNetworkManagerFullAccess
The syntax for my JDBC string is: jdbc:postgresql://examplename.cexample.eu-west-1.rds.amazonaws.com:5432/examplename
I don't know what else to do. The error remains the same, even though the security groups appear to be correct.
This is the error from the test:
Failed to test connection AwsGlueDataBrew-Alkamel_prod due to FAILED status.
CloudWatch Logs:
TLS1.2 connection failed: FATAL: no pg_hba.conf entry for host "1.1.1.1", user "example", database "example", no encryption TLS 1.2 connection to data store legacy properties failed. SSL connection to data store failed. Retrying without SSL.The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver.
2025-09-10T10:49:17.307Z
Attempting to connect without SSL: jdbc:postgresql://example.cexample.eu-west-1.rds.amazonaws.com:5432/examplename
2025-09-10T10:49:17.310Z
Check that your connection definition references your JDBC database with correct URL syntax, username, and password. FATAL: no pg_hba.conf entry for host "1.1.1.1.1, user "examplename, database "examplename", no encryption