aws-lambda-extensions
aws-lambda-extensions | lambda-extension-cache | |
---|---|---|
5 | 1 | |
424 | 0 | |
1.2% | - | |
5.0 | 3.2 | |
4 days ago | 11 months ago | |
Go | Go | |
MIT No Attribution | - |
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-lambda-extensions
-
Lambda Extension with Golang
This should look familiar to this AWS Repository. I'm still personally exploring more of how I can customize and instrument some of this code, but the extension is registered and ready for use by this function.
- Can I run gRPC between two binaries in a lambda function?
-
Building an AWS Lambda Telemetry API extension for direct logging to Grafana Loki
There are some extension examples github. I am using go-example-telemetry-api-extension as a starting point. You can see the code in my Lambda-Telemetry-API-Loki repository.
-
How do I write to a different log stream from lambda?
You can't send some of your lambda logs to one log group and some to another without directly invoking the sdk, which you probably don't want to do. Maybe someone has created some lambda layer to handle this, but not one that I know of. I see people have tried to get fluent bit to work in lambda with mixed results https://github.com/aws-samples/aws-lambda-extensions/pull/42.
-
Understanding the Lambda Logs API
For even more inspiration related to the Logs API, checkout the AWS-provided samples. Some examples include batching the logs and delivering them to S3 or a template to get you started.
lambda-extension-cache
-
Lambda Extension with Golang
And lastly, as always, here is the GitHub Repository containing the working sample. You can simply run through the steps above and you'll have a sample caching Lambda Extension built with Golang that you can start having fun with.
What are some alternatives?
cloudfront-autoindex - AWS Lambda to work around index.html S3/CloudFront mess
aws-embedded-metrics-golang - Go implementation of AWS CloudWatch Embedded Metric Format
fx - A Function as a Service tool makes a function as a container-based service in seconds.
AutoSpotting - Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.
rattlesnakeos-stack - Build your own privacy and security focused Android OS in the cloud.
Lambda-Telemetry-API-Loki - Extension to write AWS Lambda logs directly to Grafana Loki
Task - A task runner / simpler Make alternative written in Go