After migrating to Node.js 22, our team discovered EventBridge Pipes, a feature that can replace Lambda functions in 80% of cases. Our bill was cut in half, but not without hitting some real gotchas. Here's the story of how we ditched Lambda and never looked back. Introduction to EventBridge Pipes EventBridge Pipes is a feature that allows you to create event-driven workflows without the need for Lambda functions. By using EventBridge Pipes, you can simplify your architecture and reduce costs. import { EventBridgeClient , PutRuleCommand } from ' @aws-sdk/client-eventbridge ' ; const eventbridge = new EventBridgeClient ({ region : ' us-west-2 ' }); const rule = { Name : ' my-rule ' , EventPattern : ' {"source": ["my-source"]} ' , }; const command = new PutRuleCommand ( rule ); eventbridge . send ( command ). then (( data ) => console .…