- Newest
- Most votes
- Most comments
The issue you're experiencing with the AWS Glue visual ETL job editor failing to enumerate the Redshift database when using Redshift managed VPC endpoints is not uncommon. While it's possible this could be a bug in the visual editor as you suspect, there are a few potential reasons and workarounds to consider:
-
VPC Configuration: Ensure that your VPC configuration, including route tables and security groups, allows proper communication between AWS Glue and Redshift. Even with managed VPC endpoints, there might be network-related issues preventing the visual editor from accessing the Redshift database.
-
IAM Permissions: Verify that the IAM role used by Glue has the necessary permissions to describe Redshift clusters and list workgroups and namespaces, especially if you're using Redshift Serverless.
-
Connection Type: The visual editor might have limitations when working with JDBC connections to Redshift, as opposed to the native Redshift connector. This could explain why the script editor works while the visual editor doesn't.
-
VPC Endpoints: Double-check that you have all the required VPC endpoints set up, including those for AWS Glue, Amazon S3, AWS Secrets Manager, and AWS Security Token Service (STS).
-
Redshift Accessibility: If using a provisioned Redshift cluster, ensure it's configured to be publicly accessible or that your VPC configuration allows AWS Glue to reach the cluster.
As a workaround, since you've confirmed that the script editor works correctly, you might need to continue using that approach for now. You could also try creating the connection using AWS Glue Studio, which sometimes provides a more guided approach and might help identify any missing configurations.
If the issue persists, it would be worthwhile to open a support case with AWS to report this potential bug in the visual editor. In the meantime, using the script editor or AWS Glue Studio might be your best options for working with Redshift in this configuration.
Sources
The new version 2 redshift connection for Glue fails | AWS re:Post
Glue ETL job to load data from S3 to Redshift failed | AWS re:Post
answered 2 years ago
Relevant content
asked a year ago
asked a year ago
asked a year ago
- AWS OFFICIALUpdated 3 months ago
