简体   繁体   English

如何从 AWS Lambda Python 连接到 Informix DB

[英]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.我目前正在开发一个从 AWS Lambda Python 环境连接到 IBM Informix 的项目。 But so far I have not been able to find any packages or lambda layers that allows me to connect to IBM Informix DB.但到目前为止,我还没有找到任何允许我连接到 IBM Informix DB 的包或 lambda 层。

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 ?或者是否有任何 lambda 层类似于https://github.com/alexanderluiscampino/lambda-layers中的pyodbc层?

In the end, I found no other ways to do so with Lambda Layers due to the 250MB size limit.最后,由于 250MB 的大小限制,我发现没有其他方法可以使用 Lambda 层。 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. 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.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM