[{"data":1,"prerenderedAt":149},["ShallowReactive",2],{"content-svc-lambda-paved-path-java-replatforming-health-checks":3},{"markdown":4,"frontMatterAttributes":5,"bodyRaw":10,"menu":11,"menuType":144,"isCollapseableMenu":14,"nextDocItem":145,"previousDocItem":115,"contributorPaths":146,"contentName":148,"slug":143,"readingTime":96},"\u003Cp>Lambda functions do not have health checks like you may have on container platforms. With Lambda, an invoke will come as\nsoon as your function has initialized. It is especially important that your functions start quickly for this reason. \n\u003Ca href=\"https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fprovisioned-concurrency.html\">Provisioned Concurrency\u003C\u002Fa> and \n\u003Ca href=\"https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fsnapstart.html\">SnapStart\u003C\u002Fa> both allow for initialization to be completed \nasynchronously to invokes being received.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Lambda with Application Load Balancer (ALB)\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>By default, health checks are disabled for target groups of type Lambda. You can \u003Ca href=\"https:\u002F\u002Fdocs.aws.amazon.com\u002Felasticloadbalancing\u002Flatest\u002Fapplication\u002Flambda-functions.html#enable-health-checks-lambda\">enable health checks\u003C\u002Fa> \nin order to implement DNS failover with Amazon Route 53.\u003C\u002Fp>\n",{"title":6,"order":7,"learningGoals":8},"Health Checks",2,[9],"To understand when to use health checks with Lambda","Lambda functions do not have health checks like you may have on container platforms. With Lambda, an invoke will come as\nsoon as your function has initialized. It is especially important that your functions start quickly for this reason. \n[Provisioned Concurrency](https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fprovisioned-concurrency.html) and \n[SnapStart](https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fsnapstart.html) both allow for initialization to be completed \nasynchronously to invokes being received.\n\n**Lambda with Application Load Balancer (ALB)**\n\nBy default, health checks are disabled for target groups of type Lambda. You can [enable health checks](https:\u002F\u002Fdocs.aws.amazon.com\u002Felasticloadbalancing\u002Flatest\u002Fapplication\u002Flambda-functions.html#enable-health-checks-lambda) \nin order to implement DNS failover with Amazon Route 53.\n",[12,35,54,83,100,112,136],{"title":13,"collapsible":14,"isCollapsed":15,"content":16},"Introduction",false,true,[17],{"title":13,"order":18,"callout":19,"prerequisite":23,"resources":26,"time":31,"path":32,"id":33,"link":34},1,{"title":20,"description":21,"link":22},"Workshop","The workshop gives you a step-by-step guide of how to migrate a Spring Boot application to Lambda using the AWS Serverless Java Container library.","https:\u002F\u002Fcatalog.workshops.aws\u002Fjava-on-aws-lambda\u002Fen-US\u002F01-migration",[24,25],"Some understanding of Java","Some Understanding of AWS Lambda",[27],{"link":28,"text":29,"type":30},"https:\u002F\u002Faws.amazon.com\u002Flambda\u002F","Learn more about Lambda","text","2 min","introduction","introduction.md","\u002Fcontent\u002Fservice\u002Flambda\u002Fpaved-path\u002Fjava-replatforming\u002Fintroduction",{"title":36,"collapsible":14,"isCollapsed":15,"content":37},"Access patterns",[38],{"title":39,"order":7,"callout":40,"resources":41,"learningGoals":49,"time":31,"path":51,"id":52,"link":53},"Access Patterns",{"title":20,"description":21,"link":22},[42,46],{"link":43,"type":44,"text":45},"https:\u002F\u002Fgithub.com\u002Fawslabs\u002Faws-lambda-web-adapter","Repo","AWS Lambda Web Adapter",{"link":47,"text":48,"type":44},"https:\u002F\u002Fgithub.com\u002Fawslabs\u002Faws-serverless-java-container","AWS Serverless Java Container",[50],"To learn the different approaches to replatforming REST APIs on Lambda","access-patterns","access-patterns.md","\u002Fcontent\u002Fservice\u002Flambda\u002Fpaved-path\u002Fjava-replatforming\u002Faccess-patterns",{"title":55,"collapsible":14,"isCollapsed":15,"content":56},"SnapStart",[57],{"title":58,"youtubeVideoID":59,"order":7,"callout":60,"resources":63,"learningGoals":78,"time":31,"path":80,"id":81,"link":82},"Performance - SnapStart","ZbnAithBNYY",{"title":20,"description":61,"link":62},"Learn how SnapStart addresses Java function performance, how to enable SnapStart with IaC, and how to customize your SnapStart behavior with runtime hooks.","https:\u002F\u002Fcatalog.workshops.aws\u002Fjava-on-aws-lambda\u002Fen-US\u002F03-snapstart",[64,68,71,75],{"link":65,"text":66,"type":67},"https:\u002F\u002Fserverlessland.com\u002Fpatterns\u002Fapigw-lambda-snapstart","API Gateway to Lambda with SnapStart","Pattern",{"link":69,"type":67,"text":70},"https:\u002F\u002Fserverlessland.com\u002Fpatterns\u002Fapigw-lambda-rds-snapstart","REST API with Amazon API Gateway, Amazon RDS and AWS Lambda with SnapStart",{"link":72,"type":73,"text":74},"https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fstarting-up-faster-with-aws-lambda-snapstart\u002F?ref=serverlessland","Blog","Starting up faster with AWS Lambda SnapStart",{"link":76,"type":73,"text":77},"https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Freducing-java-cold-starts-on-aws-lambda-functions-with-snapstart\u002F?ref=serverlessland","Reducing Java cold starts on AWS Lambda functions with SnapStart",[79],"Learn how Lambda SnapStart improves first invoke latency","snapstart","snapstart.md","\u002Fcontent\u002Fservice\u002Flambda\u002Fpaved-path\u002Fjava-replatforming\u002Fsnapstart",{"title":84,"collapsible":14,"isCollapsed":15,"content":85},"Performance",[86],{"title":84,"youtubeVideoID":87,"order":7,"callout":88,"resources":90,"learningGoals":94,"time":96,"path":97,"id":98,"link":99},"sVJOJUD0fhQ",{"title":20,"description":89,"link":22},"Learn how to optimize Java Lambda functions.",[91],{"link":92,"type":73,"text":93},"https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Foptimizing-aws-lambda-function-performance-for-java\u002F?ref=serverlessland","Optimizing AWS Lambda function performance for Java",[95],"How to optimization your Java function","1 min","performance","performance.md","\u002Fcontent\u002Fservice\u002Flambda\u002Fpaved-path\u002Fjava-replatforming\u002Fperformance",{"title":101,"collapsible":14,"isCollapsed":15,"content":102},"Observability - Logging ",[103],{"title":104,"order":7,"callout":105,"learningGoals":106,"time":108,"path":109,"id":110,"link":111},"Observability - Logging",{"title":20,"description":21,"link":22},[107],"How to meet your logging requirements with Lambda","4 min","observability-and-logging","observability-and-logging.md","\u002Fcontent\u002Fservice\u002Flambda\u002Fpaved-path\u002Fjava-replatforming\u002Fobservability-and-logging",{"title":113,"collapsible":14,"isCollapsed":15,"content":114},"Observability - Metrics",[115],{"title":113,"order":7,"callout":116,"resources":120,"learningGoals":130,"time":132,"path":133,"id":134,"link":135},{"title":117,"description":118,"link":119},"Watch the video","AWS Lambda Powertools: Lessons from the road to 10 million downloads.","https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=dH2GP6Lydj8",[121,124,127],{"link":122,"text":123,"type":44},"https:\u002F\u002Fawslabs.github.io\u002Faws-lambda-powertools-java\u002Fcore\u002Fmetrics\u002F","Lambda Powertools for Java - Metrics",{"link":125,"text":126,"type":44},"https:\u002F\u002Fawslabs.github.io\u002Faws-lambda-powertools-java\u002F","Lambda Powertools for Java",{"link":128,"text":129,"type":44},"https:\u002F\u002Fgithub.com\u002Fawslabs\u002Faws-embedded-metrics-java","EMF Client Library",[131],"How to efficiently write metrics with Lambda","3 min","metrics","metrics.md","\u002Fcontent\u002Fservice\u002Flambda\u002Fpaved-path\u002Fjava-replatforming\u002Fmetrics",{"title":137,"collapsible":14,"isCollapsed":14,"content":138},"Health checks",[139],{"title":6,"order":7,"learningGoals":140,"time":96,"path":141,"id":142,"link":143},[9],"health-checks","health-checks.md","\u002Fcontent\u002Fservice\u002Flambda\u002Fpaved-path\u002Fjava-replatforming\u002Fhealth-checks","LESSON",null,[147],"content\u002Fcontributors\u002Fmark-sailes.json","Java Replatforming",1792578874709]