serverless-patterns
docker-lambda
Our great sponsors
serverless-patterns | docker-lambda | |
---|---|---|
32 | 8 | |
1,449 | 5,852 | |
3.1% | - | |
9.9 | 0.0 | |
1 day ago | over 1 year ago | |
Python | C# | |
GNU General Public License v3.0 or later | MIT License |
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.
serverless-patterns
-
Generative (A)IaC in the IDE with Application Composer
You may be aware of Serverlessland, a treasure trove of developer-centered content and examples of serverless applications. I decided to take one of their more popular (and AI-focused) tutorials, titled “Use GenAI capabilities to build a chatbot”, and recreate it with App Composer and our trusty AI assistant. Here we go!
- AWS Lambda: Serverless Computing Made Easy
-
Simple AWS: 20 Advanced Tips for Lambda
Serverless Land is a place with a ton of serverless resources.
-
A Beginner's Guide to the Serverless Application Model (SAM)
If you're looking for examples, you can check out my GitHub, it's full of SAM templates that cover a wide range of use cases. Serverless Land is another fantastic resource full of reference material. If you are trying to build something but can't quite figure it out in SAM, remember - it's all just CloudFormation. Browse the docs to see how to define that stubborn resource.
-
Introducing samp-cli for local lambda debugging
I will use dynamodb-streams-to-eventbridge-outbox-pattern by David Boyne as an example.
- Aws lambda
-
SQS -> SNS pattern??
This is definitely not the most common pattern. As an independent data point, you can look at the AWS-maintained serverlessland.com, where ALL the patterns that include SNS and SQS are going SNS > SQS.
-
What are your study methods for AWS certs?
For all my associated exams I used Mareek/TD, labs and for SAP also went through SAP course of A. Cantrill, also tools like https://serverlessland.com/ and aws event talks on YouTube can help you understand concepts.
-
AWS Resources for noob
For serverless, serverlessland.com
-
What are some senior level learning resources you recommend for improving as a backend engineer?
If you’re using AWS serverlessland is maintained by AWS and has great resources
docker-lambda
-
There is framework for everything.
https://github.com/dherault/serverless-offline https://github.com/lambci/docker-lambda
-
Bitbucket Pipeline build and deploy Lambda Container Image in AWS
Step 2: Push a container from your local machine to ECR. Currently, I use sample python lambda docker from https://github.com/lambci/docker-lambda.git
-
How to publish and use AWS Lambda Layers with the Serverless Framework
You can see the following projects for some examples of using this plugin to build a layer. They all leverage Docker and the docker-lambda images to compile for AWS’s Lambda environment on any operating system:
-
AWS linux container image
I end up using Lambda a lot so lambci is very useful for local testing: https://github.com/lambci/docker-lambda
-
Should Lambda services be built in the cloud (vs. local environment)?
There are kind souls in this world who created this: https://github.com/lambci/docker-lambda
-
Ask HN: Does anyone else find the AWS Lambda developer experience poor?
If all you need is the ability to run a lambda function's code locally you might interested in docker-lambda[1]. I haven't really used localstack or SAM but a couple of years ago when we needed to run some lambda functions locally for development docker-lambda worked well enough.
-
How To Test AWS Lambda: Everything You Need To Get Started.
Docker Lambda — Docker Lambda is a tool which tries to replicate the AWS Lambda environment as closely as possible, but within a Docker container. Docker Lambda has support for most of the AWS Lambda run times.
-
How To Debug AWS Lambda: A Detailed Overview
Want to emulate AWS environments? Try docker-lambda.
What are some alternatives?
sst - Build modern full-stack applications on AWS
serverless-offline - Emulate AWS λ and API Gateway locally when developing your Serverless project
up - Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.
bref - Serverless PHP on AWS Lambda
aws-lambda-runtime-interface-emulator
supertest - 🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
serverless-graphql - Serverless GraphQL Examples for AWS AppSync and Apollo
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
serverless-application-model - The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.