Skip to content

aws-samples/building-faster-aws-lambda-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Building faster AWS Lambda functions

This repo shows three versions of the same function with minor changes in configuration to reduce the duration time.

Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the AWS Pricing page for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.

.
├── README.MD                   <-- This instructions file
├── v1                          <-- Source code for v1 function
├── v2                          <-- Source code for v2 function
├── v3                          <-- Source code for v3 function

Requirements

Installation Instructions

  1. Create an AWS account if you do not already have one and login.

  2. Clone the repo onto your local development machine:

git clone https://github.com/aws-samples/building-faster-aws-lambda-functions
  1. To deploy a version, navigate to the version directory and run:
sam build
sam deploy --guided 

During the prompts, enter the stack name, your preferred Region, and then accept the defaults.

If you have any questions, please contact the author or raise an issue in the GitHub repo.

==============================================

Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.

SPDX-License-Identifier: MIT-0