aws avatar

Connecting To Data Source

Sets up AWS Glue connections to JDBC databases (Oracle, SQL Server, PostgreSQL, MySQL, RDS), Redshift, Snowflake, and BigQuery so downstream jobs can pull data from them. Walks you through credential registration in Secrets Manager, VPC configuration for private sources, and a two-phase test that checks both network reachability and actual query engine compatibility. The philosophy is sound: a connection is a named pipe, not a pipeline, so this strictly handles registration and stops before any data movement. One gotcha worth knowing upfront is that Glue's SNOWFLAKE connection type is completely different from JDBC-to-Snowflake, and you must pick the right one for Spark ETL or you'll troubleshoot phantom driver issues.

skills.sh installs
7.2K
GitHub stars
3.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add aws/agent-toolkit-for-aws --skill connecting-to-data-source --agent claude-code

Installs into .claude/skills of the current project.

Files

Connect to Data Source

Register an external data source with AWS Glue so downstream skills (ingesting-into-data-lake) can move data from it. A Glue connection stores the network config, driver, and credential reference for one source. Create once per source, reuse across jobs.

Philosophy

A connection is a named pipe, not a pipeline. This skill produces a tested, reusable Glue connection. It does not move data.

Common Tasks

You MUST execute commands using AWS MCP server tools when connected -- they provide validation, sandboxed execution, and audit logging. Fall back to AWS CLI only if MCP is unavailable. You MUST explain each step before executing.

Workflow

1. Verify Dependencies and Context

  • You MUST check whether AWS MCP tools or AWS CLI are available and inform the user if missing
  • You MUST confirm target AWS region and verify credentials with aws sts get-caller-identity

2. Classify the Source

Ask the user which source type they want to connect to, or infer from hints:

Sponsors

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
Backend & APIs, Testing & QA, AI & Agent Building, Debugging, Sales & Marketing, Cloud & Infrastructure, Databases
First seen
May 16, 2026

More from aws/agent-toolkit-for-aws

All 56
1vercel avatarvercel-clivercel/vercelDeploy, manage, inspect, and troubleshoot Vercel projects from the command line. Use for Vercel deployments, build failures, projects and teams, environment var7.2Kskills.sh installs
2aws avatarstoring-and-querying-vectorsaws/agent-toolkit-for-awsStore and query vector embeddings using Amazon S3 Vectors, a cost-effective long-term vector storage service with its own API namespace (s3vectors). Triggers on7Kskills.sh installs
3aws avataringesting-into-data-lakeaws/agent-toolkit-for-awsImport data into the AWS data lake from S3 files, local uploads, JDBC databases (Oracle, SQL Server, PostgreSQL, MySQL, RDS, Aurora), Amazon Redshift, Snowflake7Kskills.sh installs
4github avatarcreate-web-formgithub/awesome-copilotCreate robust, accessible web forms with best practices for HTML structure, CSS styling, JavaScript interactivity, form validation, and server-side processing. 7Kskills.sh installs
5aws avatarconfiguring-vpc-endpoints-for-private-aws-service-accessaws/agent-toolkit-for-awsConfigures VPC endpoints (interface and gateway) for private AWS service access using AWS PrivateLink. Use when setting up secure private connectivity to S3, Dy6.8Kskills.sh installs
6upstash avatarcontext7-mcpupstash/context7This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation6.8Kskills.sh installs