[{"data":1,"prerenderedAt":58},["ShallowReactive",2],{"pattern-alb-lambda-sls-framework":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":29,"level":30,"meta":31,"patternArch":32,"resources":45,"s3URL":6,"services":6,"stem":53,"testing":54,"videoId":6,"__hash__":57},"patterns\u002Fpatterns\u002Falb-lambda-sls-framework.json","Application Load Balancer with AWS Lambda as a target",null,{"text":8},[9],"serverless remove --verbose",[11],"content\u002Fcontributors\u002Fanjali-modi.json",{"text":13},[14],"serverless deploy --verbose","Create an Application Load Balancer with Lambda as target","json","Serverless Framework",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Falb-lambda-serverless","serverless-patterns\u002Falb-lambda-serverless","alb-lambda-serverless","serverless.yml",{"headline":25,"text":26},"How it works",[27,28],"This sample project demonstrates how to create an Application Load Balancer with a target AWS Lambda function.","When the load balancer endpoint is hit in the browser, if the specified URL (`\u002Fhello`) path matches, it triggers the Lambda function and the file (hello) is downloaded in your local system with the output from Lambda function.","Node.js","200",{},{"icon1":33,"icon2":38,"line1":42},{"x":34,"y":35,"service":36,"label":37},30,50,"alb","Application Load Balancer",{"x":39,"y":35,"service":40,"label":41},70,"lambda","AWS Lambda",{"from":43,"to":44},"icon1","icon2",{"bullets":46},[47,50],{"text":48,"link":49},"Using AWS Lambda with an Application Load Balancer","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fservices-alb.html",{"text":51,"link":52},"Lambda functions as targets - Elastic Load Balancing","https:\u002F\u002Fdocs.aws.amazon.com\u002Felasticloadbalancing\u002Flatest\u002Fapplication\u002Flambda-functions.html","patterns\u002Falb-lambda-sls-framework",{"text":55},[56],"See the GitHub repo for detailed testing instructions.","CHdQLjKS4HTSrYst2kaH7qTiCCs3Hl-g1zOq1PTD4Ug",1779878112669]