How to create a Lambda function, Java 8, AWS Lambda, SAM CLI and testing/debuging locally.

  1. Create an AWS user with programmatic access (tutorial user is aws-sam-developer-user). Save the credentials locally.
Verify SAM version
run ‘init SAM’ for sample Lambda function.
HelloWorld project in STS.
New version of the project.
New version of template.yml file.
sam build and the lambda function is ready.
Run lambda function locally.
Debug configuration.
Local debug.

--

--

--

software developer, software architect, software something.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Advanced Locking in Java: Conditional Locking, wait, notify and notifyAll

The Cost of Technical Debt

Microservices with Serverless & AWS Lambda Layers — A Walkthrough

My Take on Go: After 9 Month Working With it

How to build a Serverless Alexa Skill

header image

Automating AWS RDS Manual Snapshots

Nibbles — Hack The Box

Akita Basics 5: Tracing

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
rizahorasan

rizahorasan

software developer, software architect, software something.

More from Medium

Simple and efficient encryption algorithm TEA

Data types in JVM

Getting Started With Version Control Systems -A practical approach on git

Hadoop in 2 minutes