article thumbnail

AWS Lambda Benchmarking

Xebia

In this blog post, we examine the relative costs of different language runtimes on AWS Lambda. Many languages can be used with AWS Lambda today, so we focus on four interesting ones. Rust just came to AWS Lambda in November 2023 , so probably a lot of folks are wondering whether to try it out. The payload itself.

Lambda 130
article thumbnail

Using design patterns in AWS Lambda

Xebia

In this blog post I will go over some reasons why you should be using design patterns in your Lambda functions Getting started To get started with AWS Lambda is quite easy, and this is also the reason why some crucial steps are skipped. Or use a compiled language like golang for your Lambda functions.

Lambda 130
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Sending OpenTelemetry Data From AWS Lambda to Honeycomb

Honeycomb

In this post, I describe how to send OpenTelemetry (OTel) data from an AWS Lambda instance to Honeycomb. I will be showing these steps using a Lambda written in Python and created and deployed using AWS Serverless Application Model (AWS SAM). Add OTel and Honeycomb environment variables to your template configuration for your Lambda.

Lambda 52
article thumbnail

Using Golang for your Serverless projects

Xebia

In one of my previous blogs I wrote why I switched to compiled languages for my lambda functions. But using Golang for your lambda functions does add some challenges. This is because each lambda function needs to be its own module. This is now scattered over your lambda functions. If you run go test./.

article thumbnail

Stubbing AWS Service calls in Golang

Xebia

But I am also a big fan of test driven development. Client } func New() (*Lambda, error) { cfg, err := config.LoadDefaultConfig(context.TODO()) m := new(Lambda) m.SetS3Client(s3.NewFromConfig(cfg)) NewFromConfig(cfg)) return m, err } func (x *Lambda) SetS3Client(client *s3.Client) In my previous blog you can read why.)

AWS 130
article thumbnail

How to Create Your First Lambda Function on AWS

MagmaLabs

In the beginning, the documentation for AWS LAMBDAS can be intimidating at times, but don’t worry, in this post, I will help you with the first steps to create an AWS LAMBDA Function. What’s a Lambda Function??. AWS Lambda is a compute service that lets you run code without provisioning or managing servers.

Lambda 98
article thumbnail

Use custom rules to validate your compliance

Xebia

Let’s use a specific example, but you can apply this concept to other scenarios. Lambda vs CloudFormation Guard You can build a custom config rules in 2 ways, using AWS Lambda and CloudFormation Guard. Lambda gives you a lot of flexibility, but it also brings complexity of maintaining.