[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-lambda-elastic-ip-no-nat-gateway-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":29,"level":30,"meta":31,"patternArch":32,"resources":56,"s3URL":6,"services":6,"stem":61,"testing":62,"videoId":6,"__hash__":65},"patterns\u002Fpatterns\u002Flambda-elastic-ip-no-nat-gateway-cdk.json","AWS Lambda using Elastic IP without NAT Gateway",null,{"text":8},[9],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[11,12],"content\u002Fcontributors\u002Fmajd-soufan.json","content\u002Fcontributors\u002Fmohamad-soufan.json",{"text":14},[15],"cdk deploy","Create a Lambda function with public Elastic IP without provisioning NAT Gateway","json","AWS CDK",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-elastic-ip-no-nat-gateway-cdk","serverless-patterns\u002Flambda-elastic-ip-no-nat-gateway-cdk","lambda-elastic-ip-no-nat-gateway-cdk","cdk\u002Flib\u002Fcdk-stack.ts",{"headline":26,"text":27},"How it works",[28],"This sample project demonstrates how to create an AWS Lambda function with a public Elastic IP without provisioning a NAT Gateway. This approach saves costs in a non-production environment.","TypeScript","300",{},{"group1":33,"icon1":39,"icon2":44,"icon3":47,"line1":51,"line2":54},{"x":34,"y":35,"w":36,"h":37,"label":38},26,15,40,70,"VPC",{"x":40,"y":41,"service":42,"label":43},13,50,"lambda","AWS Lambda",{"x":41,"y":41,"service":45,"label":46},"vpc-endpoint","Elastic IP",{"x":48,"y":41,"service":49,"label":50},80,"icon-internet","Internet",{"from":52,"to":53},"icon1","icon2",{"from":53,"to":55},"icon3",{"bullets":57},[58],{"text":59,"link":60},"Generate a static outbound IP address using a Lambda function, Amazon VPC, and a serverless architecture","https:\u002F\u002Fdocs.aws.amazon.com\u002Fprescriptive-guidance\u002Flatest\u002Fpatterns\u002Fgenerate-a-static-outbound-ip-address-using-a-lambda-function-amazon-vpc-and-a-serverless-architecture.html","patterns\u002Flambda-elastic-ip-no-nat-gateway-cdk",{"text":63},[64],"See the GitHub repo for detailed testing instructions.","0jY5j9e2s7eox2BoxVsdgAC2QA2mEudzExb3Mi4keYk",1778846886141]