Back to Browse

Build serverless application using Java and the AWS SAM CLI

3.5K views
Jan 15, 2023
15:19

The AWS Serverless Application Model (AWS SAM) is an open-source framework that helps to build Serverless applications on AWS. It provides a command-line interface (CLI) and extensions on top of AWS Cloud Formation to simplify the development of serverless applications. In this video, we will walk through how to initialize, build, deploy and develop against your first serverless Java application. We will discuss how SAM compiles and deploys your code and also an easy way to speed up the software development life cycle. 00:00 - Introduction 00:30 - Why single purpose handlers? 01:20 - Prerequisites 01:30 - Initialize a new project 03:10 - Exploring Lambda Function code 04:20 - Context parameter 05:30 - Initialization code 07:00 - AWS SAM Templates 09:00 - Deploy 11:50 - SAM Sync 14:15 - Tests Links Install SAM CLI - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html Overview of SAM - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html AWS SAM Template Structure - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy.html Twitter - https://twitter.com/plantpowerjames LinkedIn - https://www.linkedin.com/in/james-eastham/ Java on Serverless - https://javaonserverless.dev/docs/intro

Download

1 formats

Video Formats

360pmp428.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Build serverless application using Java and the AWS SAM CLI | NatokHD