serverless-application-model
cargo-lambda
serverless-application-model | cargo-lambda | |
---|---|---|
98 | 17 | |
9,241 | 607 | |
0.2% | 5.4% | |
9.2 | 8.6 | |
2 days ago | 9 days ago | |
Python | Rust | |
Apache License 2.0 | 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-application-model
-
Simple and Cost-Effective Testing Using Functions
The complete solution with SAM is available here.
-
Deploying a Serverless Dash App with AWS SAM and Lambda
There are many options to deploy Serverless Applications in AWS and one of them is SAM, the Serverless Application Model. I chose to use it here, because it doesn't add too many layers of abstraction between what's being deployed and the code we write and our infrastructure is quite simple.
-
Serverless Apache Zeppelin on AWS
The solution uses AWS SAM with the global configuration for Lambda functions and the public API you can use to access Apache Zeppelin. The stack deployment provides the URL as an output value.
-
Using design patterns in AWS Lambda
When you combine this with the AWS Serverless Application Model you can also very easily include your dependencies. Or use a compiled language like golang for your Lambda functions. You simply run sam build before you run the aws cloudformation package and aws cloudformation deploy commands. SAM will build the binary and update the template to point to the newly built binary. Package will then upload it to S3 and replace the local reference to the S3 location. Deploy can then create or update the stack or you can use the CloudFormation integration in CodePipeline.
-
Serverless Site Health Check Notification System
I'm a big fan of using an Infrastructure as Code (IaC) approach for any project. My go to tools for this are the Servlerless Application Model (SAM) and it's associated CLI (SAM CLI). For more official use cases and for cross platform apps I typically use Terraform.
-
Starting My AWS Certification Journey as a Certified Cloud Practitioner
AWS SAM
-
API Gateway, Lambda, DynamoDB and Rust
Kicking off the tour and not starting a war, but I'm going to be using the Serverless Application Model.
-
Consuming an SQS Event with Lambda and Rust
The diagram here is super simple. I'm going to write something a little later that shows how this code could fit into a bigger workflow, but for now, I'm keeping it basic. And yes, that's the SAM Squirrel in there.
-
AWS Data Engineer Associate Certification - Coming Soon
Interestingly, AWS CDK and SAM are both explicitly mentioned. While CDK broadly addresses Infrastructure as Code, SAM is highlighted for its role in developing serverless data pipelines - a hugely underrated concept.
-
A Beginner's Guide to the Serverless Application Model (SAM)
Naturally, there are several options available to declare your cloud resources. The options with the most popularity are the CDK, AWS CloudFormation, SST, Serverless framework, Terraform, and AWS SAM. There are others, but when talking about Infrastructure as Code (IaC), these are the ones you hear about most often.
cargo-lambda
-
My Personal Serverless Rust Developer Experience. It’s Better Than You Think
Without a solid build and debug experience, achieving a quality Serverless Rust Developer Experience would be next to impossible. For the next two sections of my setup, I leverage Cargo Lambda pretty hard. Cargo Lambda is a project that brings a subcommand into the Cargo ecosystem for building and testing Lambdas locally. I could also use it for deploying, but I stick to CDK for that.
-
Rust and Lambda
Tooling: I'll talk more about it below, but I love Cargo Lambda. I appreciate the fact that I can use SAM or CDK to build and deploy my code. And I've become a fan of using CodeWhisperer with VSCode to build my Rust Lambdas.
-
API Gateway, Lambda, DynamoDB and Rust
A few months back, the AWS SAM team released "beta" support for Rust using Cargo Lambda. Cargo is the crate/library manager for Rust and this additional subcommand brings in a lot of additional functionality. Per the Cargo Lambda team:
-
Consuming an SQS Event with Lambda and Rust
My journey through consuming an SQS Event with Lambda and Rust was enhanced when I embraced Cargo Lambda. Per the documentation:
-
Dynarust - no excuse for not using rust in AWS now - a DynamoDB ODM library that uses serde_json for mapping native rust structs to Dynamo items.
I have been using this code for a while in my rust projects, mainly for backend development deployed on AWS lambdas with https://www.cargo-lambda.info/.
- Rust and Serverless | Current State of First-Class Support for Rust
-
Datadog APM
Has anyone experience with sending Traces from a Rust AWS Lambda (I've built mine with cargo-lambda) to Datadog APM? Sadly, there is nothing official yet and therefore also no examples I could try. Maybe some of you already have done it and could provide me with an example / tutorial?
-
Large Rust Lambda Package Size
Recently, I've been using cargo-lambda and cargo-lambda-cdk to deploy rust lambdas on AWS with the CDK.
-
Rust on Lambda Interest?
Hey op, have you used cargo-lambda? I haven't, but I wonder if it might help with whatever usability issues you've run into.
-
Rust on Lambda - Interest?
Have you tried https://www.cargo-lambda.info ? What are your thoughts on it? (not my project)
What are some alternatives?
aws-elastic-beanstalk-cli - The EB CLI is a command line interface for Elastic Beanstalk that provides interactive commands that simplify creating, updating and monitoring environments from a local repository.
dynarust - A DynamoDB odm library for rust
LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline
lambda-log-router - Example project for deploying an AWS Lambda Function with a Lambda Extension written in Rust.
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
async-graphql - A GraphQL server library implemented in Rust
sst-start-demo - A simple SST app to demo the new `sst start` command
sam-rust-sqs-lambda-reader - Example repository to showcase Rust, Lambda and SAM
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
rust-chromium-azure-functions-crawler-poc - PoC of a crawler/scraper built with Rust and Chromium to pre-render and scrape websites. Can be hosted on Azure Functions or standalone!
aws-sam-cli - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
opentelemetry-rust - The Rust OpenTelemetry implementation