Access Oracle database from AWS Lambda NodeJS Application
How to package Oracle Client Libraries with your NodeJS application and run on AWS Lambda
1 min readAug 8, 2019
You will need
- Node 10.16.x. (Newer node version may not help because you may not easily find compatible oracledb package)
- NPM oracledb package
- Oracle Instant Client light linux version zip file
Let us assume your current working directory contains the lambda code in index.js
, but ultimately your dist
folder will contain all the files that are to be deployed to lambda.
Your zip file contents should look similar to below.
Upload the zip file created to s3. Have your lambda use the zip deployment package from s3.
Originally published at http://github.com.