Skip to content
Advertisement

How to Connect to Informix DB from AWS Lambda Python

I am currently working on a project to connect to IBM Informix from AWS Lambda Python Environment. But so far I have not been able to find any packages or lambda layers that allows me to connect to IBM Informix DB.

Is there anyone who have been able to do so?

Or is there any lambda layers which is something similar to layer like the pyodbc layer from https://github.com/alexanderluiscampino/lambda-layers?

Advertisement

Answer

In the end, I found no other ways to do so with Lambda Layers due to the 250MB size limit. The workaround for me, is to attach an EFS to my lambda function and the content of the EFS is basically JRE and JDBC Driver to allow to connect via JDBC Connection.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement