#Lambda

Open-source projects categorized as Lambda

Top 23 Lambda Open-Source Projects

  • GitHub repo OpenFaaS

    OpenFaaS - Serverless Functions Made Simple

    Project mention: Why we moved from Lambda to ECS | reddit.com/r/devops | 2021-04-20

    OpenFaaS isn't something I was previous familiar with. Thanks for linking it! In your experience, does it come with much management overhead? Part of what makes Lambda/ECS so appealing is that you can throw a definition (code .zip file or container image) at AWS, and it just runs. With OpenFaaS, it looks like you need to maintain some additional infrastructure (a Kubernetes cluster) to get it working, and that'd give you one more thing to worry about.

  • GitHub repo Zappa

    Serverless Python

    Project mention: Hosting Solutions (free) | reddit.com/r/django | 2021-02-06

    Depending on what you need zappa (https://github.com/Miserlou/Zappa) allows you to run Django in aws lambda which is very cheap (read practically free).

  • GitHub repo awesome-aws

    A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.

  • GitHub repo up

    Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.

    Project mention: Ask HN: Does anyone else find the AWS Lambda developer experience poor? | news.ycombinator.com | 2021-04-18

    I can also recommend serverless.com framework for local development and running lambdas offline.

    AWS provides a docker image for emulating DynamoDB which works great for local dev and will commonly be paired with lambdas.

    Another option I have used recently for implementing node web services is https://github.com/apex/up which also has a nice local dev experience.

  • GitHub repo serverless-application-model

    AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications

    Project mention: Ask HN: Does anyone else find the AWS Lambda developer experience poor? | news.ycombinator.com | 2021-04-18

    This is a great thread and I understand some of the pain points that have been talked about. Serverless changes the model for how we develop and test code. There is a want to have everything local. But it is tough to build and maintain local emulators for all services. With that in mind, I encourage you to change the mindset of bringing the cloud to the developer to bringing the developer to the cloud.

    When building serverless applications, the most tested and iterated upon part of the application is our code which usually resides in a Lambda function. Testing Lambda functions breaks down to to angles. 1) invocation: testing services invoking a Lambda function, and 2) action: what is the Lambda function doing. This is the only part of the application that should be tested locally through local emulation. The rest of the application is best tested in the cloud.

    IMHO the best way to test a Lambda function locally is with AWS SAM: https://aws.amazon.com/serverless/sam/

    For testing invocation:

    A Lambda function can only be invoked through the AWS Lambda service. SAM has three ways to emulate the Lambda service: 1) invoke - locally invoke the Lambda function one time [https://docs.aws.amazon.com/serverless-application-model/lat...] This functionality is helpful if you want to mock invoking a Lambda function from a service like S3, SNS, SQS, etc. Simply add an event. To create the proper event structure, SAM provides a command called generate event. [https://docs.aws.amazon.com/serverless-application-model/lat...] 2) start-lambda - start an emulator of the Lambda service that can be reached via SDK or AWS CLI [https://docs.aws.amazon.com/serverless-application-model/lat...] 3) start-api - start the Lambda service emulator with a basic API Gateway emulator wrapped around it. This creates a local endpoint for each Lambda function that uses an API GW event source [https://docs.aws.amazon.com/serverless-application-model/lat...]

    For testing action:

    Using one of the above commands will invoke a Lambda function. The Lambda function will run locally and provide logs as well as stepping through the code in an IDE like AWS Cloud9 or VS Code. The Lambda function can also call out to service like DynamoDB, SQS, SNS, etc that reside in the cloud. Once the Lambda function is working as expected locally, it's time to deploy to a development environment and run E2E tests.

    One other tool I would suggest it SAM Logs. SAM Logs can output logs for a specific Lambda function from CloudWatch to your terminal. This is a great way to debug async Lambda functions in the cloud.

    I encourage you to visit https://serverlessland.com where we are constantly adding content to help developers with Serverless on AWS. I also have a series of SAM videos at https://s12d.com/sws. Additionally, we host Serverless Office Hours every Tuesday: twitch.tv/aws or youtube.com/serverlessland. During this time we answer any and all serverless related questions.

    Having said all this. Our team is continuing to work towards making the development experience better. Threads like this are critical to our understanding of developer needs and we read them and take them to heart. If you would like to have a longer conversation please reach out to me at [email protected] or @edjgeek on Twitter.

  • GitHub repo chalice

    Python Serverless Microframework for AWS

    Project mention: Any thoughts on chalice for websockets? | reddit.com/r/aws | 2021-03-31

    I use Chalice with websockets, and haven't had any issues. I had to make a slight hack to allow other non-websocket lambdas to be able to send messages on the websocket, but other than that it works without issue. There is a ticket with Chalice open about the sending messages from other Lambdas. https://github.com/aws/chalice/issues/1357

  • GitHub repo aws-sam-cli

    CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

    Project mention: Using container image support for AWS Lambda with AWS SAM and Codebuild/Codepipeline | dev.to | 2021-03-06

    version: 0.2 phases: install: runtime-versions: docker: 18 commands: - wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip - unzip aws-sam-cli-linux-x86_64.zip -d sam-installation - sam --version - ./sam-installation/install --update - /usr/local/bin/sam --version pre_build: commands: - aws ecr get-login-password --region ${AWS_REGION} | docker login --username AWS --password-stdin ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com build: commands: - cd sources && gradle build - /usr/local/bin/sam build --template-file ${CODEBUILD_SRC_DIR}/sources/sam.yml --region ${AWS_REGION} - /usr/local/bin/sam package --template-file ${CODEBUILD_SRC_DIR}/sources/.aws-sam/build/template.yaml --output-template-file ${CODEBUILD_SRC_DIR}/sources/packaged.yaml --image-repository ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/me.enryold/docker-lambda - /usr/local/bin/sam deploy --template-file ${CODEBUILD_SRC_DIR}/sources/packaged.yaml --stack-name ${PROJECT_NAME}-sam --capabilities CAPABILITY_NAMED_IAM --region ${AWS_REGION} --image-repository ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/me.enryold/docker-lambda

  • GitHub repo webiny-js

    Platform for building serverless applications and APIs (Node.js, React, GraphQL)

    Project mention: Learning a new framework in 2021 | reddit.com/r/webdev | 2021-03-16
  • GitHub repo serverless-express

    Run Node.js web applications and APIs using existing application frameworks on AWS #serverless technologies such as Lambda, API Gateway, [email protected], and ALB.

    Project mention: Minimal AWS cost for a read intensive small SaaS? | reddit.com/r/ExperiencedDevs | 2021-04-13
  • GitHub repo cloud-custodian

    Rules engine for cloud security, cost optimization, and governance, DSL in yaml for policies to query, filter, and take actions on resources

    Project mention: Best way to MAP the entire cloud infra? | reddit.com/r/aws | 2021-04-11
  • GitHub repo Grant

    OAuth Proxy

  • GitHub repo IronFunctions

    IronFunctions - the serverless microservices platform by

  • GitHub repo bless

    Repository for BLESS, an SSH Certificate Authority that runs as a AWS Lambda function

    Project mention: How often should I rotate my SSH keys? | news.ycombinator.com | 2021-02-25
  • GitHub repo streamalert

    StreamAlert is a serverless, realtime data analysis framework which empowers you to ingest, analyze, and alert on data from any environment, using datasources and alerting logic you define.

    Project mention: Setting up lots of AWS alerts - make lots of SNS-SQS-Lambda chains? | reddit.com/r/devops | 2021-04-22
  • GitHub repo bref

    Serverless PHP on AWS Lambda

    Project mention: Ask HN: Does anyone else find the AWS Lambda developer experience poor? | news.ycombinator.com | 2021-04-18

    I'm reminded of a suggestion from someone else a few days go if you don't mind PHP

    >https://bref.sh/ -- it allows running PHP apps on AWS Lambda effortlessly. With all the serverless craze, it's a very important piece of the ecosystem. After writing PHP apps for two decades, I am absolutely stunned how easy it is.

  • GitHub repo components

    The Serverless Framework's new infrastructure provisioning technology — Build, compose, & deploy serverless apps in seconds... (by serverless)

    Project mention: AWS credentials being sent to Serverless.com? What the hell? | reddit.com/r/serverless | 2021-01-05

    Seeing changes already, which is great: https://github.com/serverless/components/commit/6e98b0f9e37aa0e36108ea459e5807e39eed11fd

  • GitHub repo serverless-next.js

    ⚡ Deploy your Next.js apps on AWS [email protected] via Serverless Components

    Project mention: Anyone hosting a nextjs app in AWS? | reddit.com/r/nextjs | 2021-03-26
  • GitHub repo jets

    Ruby on Jets

    Project mention: Code Loaders in Ruby: Understanding Zeitwerk | dev.to | 2021-03-23

    Jets

  • GitHub repo AWS Data Wrangler

    Pandas on AWS - Easy integration with Athena, Glue, Redshift, Timestream, QuickSight, Chime, CloudWatchLogs, DynamoDB, EMR, SecretManager, PostgreSQL, MySQL, SQLServer and S3 (Parquet, CSV, JSON and EXCEL).

    Project mention: Go+: Go designed for data science | news.ycombinator.com | 2021-03-27

    Yep, agreed. Go is a great language for AWS Lambda type workflows.

    Python isn't as great (Python Lambda Layers built on Macs don't always work). AWS Data Wrangler (https://github.com/awslabs/aws-data-wrangler) provides pre-built layers, which is a work around, but something that's as portable as Go would be the best solution.

  • GitHub repo aws-toolkit-vscode

    AWS Toolkit for Visual Studio Code, an extension for working with AWS services including AWS Lambda.

    Project mention: DevOps tools you should have on your belt | dev.to | 2021-01-22

    🧰 AWS Toolkit for Visual Studio Code is an extension for working with AWS services such as AWS Lambda.

  • GitHub repo aws-sdk-js-v3

    Modularized AWS SDK for JavaScript.

    Project mention: O que há de novo no AWS SDK v3 para JavaScript? | dev.to | 2021-03-15
  • GitHub repo λ

    Functional patterns for Java

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-04-22.

Index

What are some of the best open-source Lambda projects? This list will help you:

Project Stars
1 OpenFaaS 19,637
2 Zappa 11,771
3 awesome-aws 9,184
4 up 8,176
5 serverless-application-model 7,845
6 chalice 7,824
7 aws-sam-cli 5,502
8 webiny-js 4,489
9 serverless-express 3,971
10 cloud-custodian 3,551
11 Grant 3,274
12 IronFunctions 2,883
13 bless 2,582
14 streamalert 2,509
15 bref 2,218
16 components 2,146
17 serverless-next.js 1,980
18 jets 1,791
19 flogo 1,725
20 AWS Data Wrangler 1,684
21 aws-toolkit-vscode 830
22 aws-sdk-js-v3 801
23 λ 746