Create one definition to reuse
How to create and test reusable Glue connections by configuring connection properties, credentials, VPC networking, and permissions for crawlers and ETL jobs. · associate
An AWS Glue connection is a named, reusable definition of how to reach a data store. It stores connection properties, authentication settings, and, when needed, VPC settings. It is not a running network tunnel and does not copy data. A crawler or ETL job uses the definition when it connects.
For a relational database, create a connection with the JDBC connection type. Give it a meaningful name, then configure the database endpoint, port, and database name in its JDBC URL, such as jdbc:postgresql://db.example.internal:5432/sales. Configure the authentication supported by that connection, preferably referencing credentials in AWS Secrets Manager, and enable the required TLS settings rather than bypassing certificate checks.
The connection does not decide whether the database is a source or a target. The crawler or job decides how to use it. The database account must have suitable privileges: reading a source and writing a target can require different accounts and therefore separate connections. Not every Glue data source needs a connection object; ordinary S3 access, for example, usually relies on the bucket location and IAM permissions.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.