Simple Java application to demonstrating writing AWS Lambda code that connects to SQL Server. Also has built in publishing capabilities.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
libs
src
.gitignore
build.gradle
gradlew
gradlew.bat
readme.md
settings.gradle

readme.md

Connecting to SQL Server from AWS Lambda

AWS Lambda is great, but I had many difficulties finding a way to connect into my RDS SQL Server instance. I started with Python and ODBC (both pyodbc and pypyodbc), but ran into so many issues with missing libraries (LD_LIBRARY_PATH of death).

I turned to Java, but I think SQL Server and Java are a bit like oil and water, so there wasn’t any one place to turn to. Instead I pieced together lots of bits of information and collated it together, into what I think is a pretty compact but extendable project.

Read the step-by-step tutorial on Mannan Live.