Testing an AWS Glue connection - AWS Glue

Testing an AWS Glue connection

Note

To test a connection, you use the Connections page in the AWS Glue console. Testing custom connections is not supported.

New Amazon RDS database instances will default to using the new certificate rds-ca-rsa2048-g1. AWS Glue jobs and Test Connection currently rely on certificate rds-ca-2019. In order to connect new Amazon RDS instances with AWS Glue jobs or Test Connection, set your instance to use the certificate rds-ca-2019 through the AWS console or AWS CLI. For more information, please see the Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS user guide for detailed guidance.

As a best practice, before you use an AWS Glue connection in an ETL job, use the AWS Glue console to test the connection. AWS Glue uses the parameters in your connection to confirm that it can access your data store and reports any errors. For information about AWS Glue connections, see Connecting to data.

To test an AWS Glue connection
  1. Sign in to the AWS Management Console and open the AWS Glue console at https://console.aws.amazon.com/glue/.

  2. In the navigation pane, under Data Catalog, choose Connections. You can also choose Data connections above Data Catalog in the navigation pane.

  3. In Connections, select the check box next to the desired connection, and then choose Actions. In the drop-down menu, choose Test connection.

  4. In the Test connection dialog box, select a role or choose Create IAM role to go to the AWS Identity and Access Management (IAM) console to create a new role. The role must have permissions on the data store.

  5. Choose Confirm.

    The test begins and can take several minutes to complete. If the test fails, choose Troubleshoot to view the steps to resolve the issue.

  6. Choose Logs to view the logs in CloudWatch. You must have the required IAM permissions to view the logs. For more information, see AWS Managed (Predefined) Policies for CloudWatch Logs in the Amazon CloudWatch Logs User Guide.