Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › building lambda functions with node.js
Building Lambda functions with Node.js - AWS Lambda
Run Node.js code in Lambda. Your code runs in an environment that includes the AWS SDK for JavaScript and credentials from an IAM role that you manage.
lambda: Node 22
So I hope I can upgrade soon my AWS lambda functions also to Node 22. More on github.com
As a backend web dev, working with Lambda (node.js), RDS, Dynamo, and S3 - what is your workflow?
I'd recommend looking into CDK for a way of writing infrastructure as code. This is built by Amazon and is essentially a 1 to 1 mapping to Cloud formation templates. For a more abstracted approach, check out SST but this is still in its early days, especially V3. For production you should never be managing infrastructure directly through the console, and should instead use an infrastructure as code tool with a cli to update your deployed infrastructure automatically. YouTube is a good resource too: Serverless Land FooBar Serverless More on reddit.com
Failing to put item into DDB from Lambda with NodeJS
the error is pretty clear to me. for one of those records, the pk is not a string. it’s an object. the problem is that this error is a little ambiguous in terms of where it’s coming from. i tend to lean towards, aws isn’t the issue and that would encourage me to look at my input data and make sure it’s actually as i expect. additionally, i would consider putting a queue in front of the ddb insert so that you can catch and redrive failed records or triage the reason for failure. although i don’t blame aws they do fail sometimes and a dead letter queue helps that. plus it’s good practice for reducing write density issues More on reddit.com
Why would I use Node.js in Lambda? Node main feature is handling concurrent many requests. If each request to lambda will spawn a new Node instance, whats the point?
That’s not really unique to Node. The majority of languages and web app platforms have concurrency mechanisms that will process multiple requests simultaneously. That is certainly a drawback of Lambda if you’re looking at raw CPU cycle efficiency and your application spends a lot of time waiting on synchronous downstream calls, but in most cases that doesn’t really matter. In practice, there are a lot of apps that can either use really fast data stores like Dynamo or use asynchronous processing models that minimize the amount of idle CPU time for a given request. Also, even with some inefficiencies when looking at high concurrency time periods, sometimes the ability for Lambda to immediately scale down during troughs in your load pattern makes up for it when looking at the global efficiency of the system (especially when you consider other operational overhead like patching servers.) Bottom line, people use Node with Lambda because they like the language and are familiar with it. Using the same language for the front end browser code and the backend is nice for teams that build full stack web apps. More on reddit.com
Videos
00:15
AWS Lambda Function Now Support Node.js 22 Runtime | #aws #lambda ...
10:18
How To Import NPM module in AWS Lambda (Node.js) - using Layer ...
11:42
Build Applications with Generative AI and Serverless - Amazon Bedrock ...
29:00
Complete Guide to AWS Lambda Function with Node Js, AWS Api Gateway ...
- YouTube
29:36
How to test and develop AWS lambda functions locally with nodejs?
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › create your first lambda function
Create your first Lambda function - AWS Documentation
Choose the log group for your function (/aws/lambda/myLambdaFunction). This is the log group name that your function printed to the console. Scroll down and choose the Log stream for the function invocations you want to look at. ... INIT_START Runtime Version: nodejs:22.v13 Runtime Version ...
AWS
aws.amazon.com › about-aws › whats-new › 2024 › 11 › aws-lambda-support-nodejs-22
AWS Lambda adds support for Node.js 22 - AWS
November 22, 2024 - You can use the full range of AWS deployment tools, including the Lambda console, AWS CLI, AWS Serverless Application Model (AWS SAM), AWS CDK, and AWS CloudFormation to deploy and manage serverless applications written in Node.js 22. For more information, including guidance on upgrading existing Lambda functions, see our blog post.
ECR Public Gallery
gallery.ecr.aws › lambda › nodejs
AWS Lambda/nodejs - Amazon ECR Public Gallery
Amazon ECR Public Gallery is a website that allows anyone to browse and search for public container images, view developer-provided details, and see pull commands
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › building lambda functions with node.js › working with layers for node.js lambda functions
Working with layers for Node.js Lambda functions - AWS Lambda
Learn how to package and create a Node.js Lambda layer.
Hono
hono.dev › docs › getting-started › aws-lambda
AWS Lambda - Hono
1 month ago - import * as cdk from 'aws-cdk-lib' import { Construct } from 'constructs' import * as lambda from 'aws-cdk-lib/aws-lambda' import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs' export class MyAppStack extends cdk.Stack { constructor(scope: Construct, id: string, props?: cdk.StackProps) { super(scope, id, props) const fn = new NodejsFunction(this, 'lambda', { entry: 'lambda/index.ts', handler: 'handler', runtime: lambda.Runtime.NODEJS_22_X, }) const fnUrl = fn.addFunctionUrl({ authType: lambda.FunctionUrlAuthType.NONE, }) new cdk.CfnOutput(this, 'lambdaUrl', { value: fnUrl.url!, }) } }
GitHub
github.com › aws › aws-cdk › issues › 31964
lambda: Node 22 · Issue #31964 · aws/aws-cdk
October 31, 2024 - import { Runtime } from 'aws-cdk-lib/aws-lambda' import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs' new NodejsFunction(this, 'Example', { runtime: Runtime.NODEJS_22_X })
Author w3nl
GitHub
github.com › aws › aws-lambda-nodejs-runtime-interface-client
GitHub - aws/aws-lambda-nodejs-runtime-interface-client: AWS Lambda Runtime Interface Client for Node.js · GitHub
FROM public.ecr.aws/lambda/nodejs:22 # Copy function code COPY index.js ${LAMBDA_TASK_ROOT} # Install dependencies COPY package*.json ${LAMBDA_TASK_ROOT}/ RUN npm install CMD ["index.handler"]
Starred by 220 users
Forked by 62 users
Languages TypeScript 91.1% | Shell 3.9% | JavaScript 2.5% | C++ 1.8% | Python 0.4% | M4 0.2% | Makefile 0.1%
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › building lambda functions with node.js › define lambda function handler in node.js
Define Lambda function handler in Node.js - AWS Lambda
This page describes how to work with Lambda function handlers in Node.js, including options for project setup, naming conventions, and best practices. This page also includes an example of a Node.js Lambda function that takes in information about an order, produces a text file receipt, and ...
Reddit
reddit.com › r/aws › as a backend web dev, working with lambda (node.js), rds, dynamo, and s3 - what is your workflow?
r/aws on Reddit: As a backend web dev, working with Lambda (node.js), RDS, Dynamo, and S3 - what is your workflow?
January 27, 2025 -
I'm still very new to AWS and cloud in general but have 25+ years in the Microsoft (non-cloud, access to physical servers) ecosystem. Normally I would develop in Visual Studio and upload files to directories as well as all the DBA stuff via MS SQL Management Studio.
I'm a little lost on how my new flow should be. I know one of the last steps will be "Serverless deploy" but... Can I still use Visual Studio or will I need to (or should I regardless) learn a new IDE?
(is there a "dumb newbie questions" weekly thread or anything like that?)
Thanks!
Top answer 1 of 7
15
I'd recommend looking into CDK for a way of writing infrastructure as code. This is built by Amazon and is essentially a 1 to 1 mapping to Cloud formation templates. For a more abstracted approach, check out SST but this is still in its early days, especially V3. For production you should never be managing infrastructure directly through the console, and should instead use an infrastructure as code tool with a cli to update your deployed infrastructure automatically. YouTube is a good resource too: Serverless Land FooBar Serverless
2 of 7
5
I don't think you are precluded from using Visual Studio, assuming you are using .NET. Depending on what I am doing I either use Zed or Visual Studio Code but the majority of AWS interactiond are IDE independent. There are some plugins that can help for things like S3 or Lambda integration (I think it's called AWS Toolkit). One thing I'll say is if you lots of lambda work is a local lambda emulator like cargo-lambda can be pretty helpful.
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › lambda managed instances › lambda managed instances runtimes › node.js runtime for lambda managed instances
Node.js runtime for Lambda Managed Instances - AWS Lambda
Maximum concurrencyBuilding functions for multi-concurrencyNode.js 22 callback-based handlersShared /tmp directoryLoggingRequest contextInitialization and shutdownDependency versionsPowertools for AWS Lambda (TypeScript)Next steps · For Node.js runtimes, Lambda Managed Instances uses worker threads with async/await-based execution to handle concurrent requests.
Docker
hub.docker.com › layers › amazon › aws-lambda-nodejs › 22 › images › sha256-b6050467c53b665d944e3a1c2d17d22339a5f24cf0778e1286096a0627dfcab9
Image Layer Details - amazon/aws-lambda-nodejs:22
© 2026 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal