aws-sam-cli VS aws-lambda-go-api-proxy

Compare aws-sam-cli vs aws-lambda-go-api-proxy and see what are their differences.

aws-sam-cli

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM (by aws)

aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway. (by awslabs)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
aws-sam-cli aws-lambda-go-api-proxy
22 10
6,445 999
0.4% 3.0%
9.8 4.5
4 days ago 9 days ago
Python Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

aws-sam-cli

Posts with mentions or reviews of aws-sam-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-28.
  • Building Scalable Applications with AWS Serverless Application Model
    2 projects | dev.to | 28 Apr 2023
    aws-sam-cli-linux
  • when should I use api-gateway aws vs self written nodejs api
    1 project | /r/node | 24 Feb 2023
    Does anyone have any success with API Gateway/Lamba for local environment with hot-reloading? I was playing around with “sam local start-api” a few weeks ago with along with CDK but it doesn’t seem like hot-reloading is supported, and need to manually restart for code changes to reflect, which is currently stopping me from trying out the API Gateway/Lamba combo further due to inefficient DX. Here’s a GitHub issue about it: https://github.com/aws/aws-sam-cli/issues/901
  • Completing the Cloud Resume Challenge with 0 Real-world Experience
    1 project | dev.to | 30 Aug 2022
    Mostly due to lack of proper documentation it was difficult to get the HTTPApi syntax correct. The yaml file is very picky for CORS configuration on an HTTPApi. Luckily I found this github issue which allowed me to troubleshoot my yaml file.
  • Why do you use Fedora SilverBlue?
    2 projects | /r/Fedora | 8 Aug 2022
    No, it's not just muscle memory. It doesn't work with podman. That's what I'm talking about https://github.com/aws/aws-sam-cli/issues/1668
  • Sharing Typescript code between AWS Lambda with AWS SAM CLI
    2 projects | dev.to | 7 Jul 2022
    AWS SAM CLI with the support of Typescript is still in Beta. If you want more advanced features maybe you should not use it. Lately, in version 1.49.0 External and Loader properties have been added. If you want to share your feedback and/or requests this issue has been created.
  • Analyzing AWS Lambda and GraalVM
    2 projects | /r/aws | 14 Mar 2022
    I spent a while creating a custom runtime to use the native-image agent to harvest config from my Lambda, and then patching sam cli to work in Docker user networks... after pushing through all that, I still didn't get a working build - the native-image compiler just doesn't support everything (or didn't support my feature set, at the time - there has been a new release since then). In my case I think it was Guice that defeated me.
  • How to Use Source Maps in TypeScript Lambda Functions (with Benchmarks)
    11 projects | dev.to | 24 Jan 2022
    SAM support for TypeScript has been lagging for some time, but a pull request was just merged that should change that. It looks like we'll be able to add an aws_sam key in the package.json file to enable building within the SAM engine as part of sam build. Although this PR has been merged to aws-lambda-builders, the engine behind sam build, it will still need to be added to aws-sam-cli and released (to much fanfare, one expects) before it can be used with SAM.
  • How to Build a Node.js Serverless Application using AWS SAM
    1 project | dev.to | 22 Jan 2022
    I am installing SAM CLI on windows and its super simple. All I need to do is Click on this MSI installer.
  • Serverless AWS With Monorepos
    6 projects | dev.to | 30 Nov 2021
    sem-version java 8 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 sudo ./sam-installation/install checkout cd java-app-backend cache restore build-java-app-backend-$SEMAPHORE_GIT_BRANCH sam deploy --no-confirm-changeset --stack-name serverless-web-application-java-backend --capabilities CAPABILITY_AUTO_EXPAND CAPABILITY_IAM
  • Localstack – Local AWS Emulator
    9 projects | news.ycombinator.com | 10 Oct 2021

aws-lambda-go-api-proxy

Posts with mentions or reviews of aws-lambda-go-api-proxy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-18.
  • Build a Serverless GenAI solution with Lambda, DynamoDB, LangChain and Amazon Bedrock
    6 projects | dev.to | 18 Jan 2024
    I really like the extensibility of LangChain. While I understand that langchaingo may not be as popular as the original python version (I hope it will reach there in due time 🤞), but it's nice to be able to use it as a foundation and build extensions as required. Previously, I had written about how to use the AWS Lambda Go Proxy API to run existing Go applications on AWS Lambda. The AWS Lambda Web Adapter offers similar functionality but it has lots of other benefits, including response streaming and the fact that it is language agnostic.
  • What AWS service do you find most frustrating?
    1 project | /r/aws | 20 Jun 2023
    A frustration shoutout to the aws maintainers that are ignoring PRs that enhance the usability of their services... even for over a year. https://github.com/awslabs/aws-lambda-go-api-proxy/pull/136
  • Running gqlgen + Gin in AWS Lambda
    3 projects | /r/golang | 22 Jan 2023
    Check out https://github.com/awslabs/aws-lambda-go-api-proxy. It will allow you to run gin (or other http servers) in lambda.
  • Is good or the most bad idea write a Lambda AWS using fx package? (Dependency Injection)
    5 projects | /r/golang | 27 Jul 2022
    For REST APIs, I create standard Go HTTP handlers, and use a library like https://github.com/a-h/awsapigatewayv2handler (mine, for API Gateway V2 only), or AWS's https://github.com/awslabs/aws-lambda-go-api-proxy or github.com/akrylysov/algnhsa to convert from Lambda handlers to standard Go HTTP handlers.
  • Serverless application development in Golang with AWS
    2 projects | /r/golang | 5 Jul 2022
    Hey I liked this post, seems really nice. I used Golang for an API in my current work, I used the gorillamux with this library https://github.com/awslabs/aws-lambda-go-api-proxy. It wraps the API into the APIGateway Proxy. You can use it too if you want to create a small API, there are examples with cloudformation there.
  • 101 AWS Lambda tutorial for Go developers — API Gateway
    1 project | /r/golang | 21 Feb 2022
    using {proxy+} on api gateway, route handler needs to be included. People should consider using github.com/awslabs/aws-lambda-go-api-proxy (with gin or mux)
  • Build Scalable Applications with AWS Lambda and Go
    2 projects | /r/golang | 26 Aug 2021
    This does something similar: https://github.com/awslabs/aws-lambda-go-api-proxy
  • Bootstrapping a Startup on AWS with AWS Serverless and Go
    8 projects | dev.to | 17 Jun 2021
    As you can see, we defined that any path and method can trigger our lambda over API Gateway that we had previously created. With this approach and with using this solution with the Go Echo framework, we reduced the number of lambdas (also with this approach we solved the problem with a hard limit of total size that all lambdas can have). Using the aws-lambda-go-api-proxy with echo framework we defined a REST controller that is managing real paths and methods that our lambda consumes.
  • Cloud Serverless Lock-in doesn't exist (if your Team knows Hexagoxal Architecture)
    2 projects | dev.to | 26 Apr 2021
    For our example which use the Go Gin framework, to minimize the changes we could also use the great AWS Lambda Go API Proxy. You can find an example of lambda function in the article repository
  • How do you guys debug AWS Lambda locally with SAM?
    2 projects | /r/golang | 14 Jan 2021
    AWS actually provides wrappers for most HTTP handler functions in their adapter package: https://github.com/awslabs/aws-lambda-go-api-proxy

What are some alternatives?

When comparing aws-sam-cli and aws-lambda-go-api-proxy you can also consider the following projects:

chalice - Python Serverless Microframework for AWS

gateway - Drop-in replacement for Go net/http when running in AWS Lambda & API Gateway

LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline

hexagonal-architecture

ccxt - A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges

tflint - A Pluggable Terraform Linter

vscode-dev-containers - NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!

go-lambda - Template project for working with AWS Lambda and Go

aws-cdk-local - Thin wrapper script for using the AWS CDK CLI with LocalStack

gqlgen-lambda - My implementation prototype on how to run a zero cost graphql layer in lambda with Go and GqlGen

aws-elastic-beanstalk-cli-setup - Simplified EB CLI installation mechanism.