amazon-rdsamazon-vpcaws-glue-connectionaws-glue-crawler

AWS Glue Connection to AWS RDS SQL Server in VPC for AWS Glue Crawler - Connection fails


Context: I have a SQL Server instance with AWS RDS in an AWS VPC. The ACL allows all inbound and outbound traffic. The Security Group of the SQL Server allows inbound all TCP traffic on port 1433 (SQL Default port) and outbound on port 80 (HTTP) and 443 (HTTPs). The username and password to access the SQL Server are stored in AWS Secrets Manager. I can successfully connect to the SQL Server and related databases.

Goal: I want to use AWS Glue to crawl a subset of tables in one of the databases to have the metadata stored in the AWS Glue Data Catalogue.

Problem: After creation of the AWS Glue connection the test of it fails.

How do I need to configure the connection and VPC so that I can successfully establish a connection?


Solution

  • The following steps helped me to successfully establish a connection:

    enter image description here

    enter image description here

    enter image description here

    After considering all these steps it worked for me.