You can connect to various data sources from Glue.
AWS Glue provides built-in support for the most commonly used data stores (such as Amazon Redshift, Amazon Aurora, Microsoft SQL Server, MySQL, MongoDB, and PostgreSQL) using JDBC connections.
AWS Glue also allows you to use custom JDBC drivers in your extract, transform, and load (ETL) jobs.
You can also use marketplace connectors for connect to the SAAS/Marketplace applications.


I created an IAM role with trust relationship to glue.

And added the AWS managed role policy for glue in the permissions.

Glue may use some S3 API in the backend. So you may need to have a VPC endpoint or NAT gateway for this connection. I created a gateway endpoint as below in my case.

To test the connection, I create and sample job and selected the glue connection as below.
After you enter the connection details, and the IAM role, you could see that the table contents are retrieved and displayed under the Data preview option.

//----