Host a Serverless Application on AWS Lambda

Host a Serverless Application on AWS Lambda

AWS Lambda is a serverless, event-driven compute service that runs code for virtually any application or back-end service without provisioning or managing servers.

image

In this lab, we’ll learn to host a simple serverless application on AWS Lambda and access it through an API Gateway endpoint.

Lab tasks

  • Create an S3 bucket.
  • Upload the code archive to the bucket.
  • Create a Lambda function.
  • Create an API Gateway.
  • Access the application.
  • Clean up.

Architecture diagram

The following is the high-level architecture diagram of how to host serverless application on AWS lambda.

image