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

I have noticed the same behavior with serverless. 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.

Lambda 130
Insiders

Sign Up for our Newsletter

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

article thumbnail

Rotating secrets with serverless

Xebia

In this article we are going to explore how we can use a serverless approach to automate the secret rotation process, avoiding having to ever endure one of these arduous events again! For this article I will be using the example of rotating the keys for an AWS IAM service account, and updating them in a GitLab.

article thumbnail

Automate Lambda Dependencies with Terraform

Xebia

Recently I have been working on a few projects that involved Lambda functions. Dir Structure For this solution to work the project directory should be structured in a way so that terraform can find the dependencies you are looking to install to your Lambda. requests>=2.0.0 config } provider "aws" { #.

Lambda 130
article thumbnail

Build a Serverless GenAI Solution With Lambda, DynamoDB, LangChain, and Amazon Bedrock

Dzone - DevOps

In a previous blog , I demonstrated how to use Redis (Elasticache Serverless as an example) as a chat history backend for a Streamlit app using LangChain. It was deployed to EKS and also made use of EKS Pod Identity to manage the application Pod permissions for invoking Amazon Bedrock.

article thumbnail

How Do I Run My Go Applications in a Serverless Way?

Dzone - DevOps

Using AWS Lambda Go runtime , you can use Go to build AWS Lambda functions. A Serverless approach for this would be to implement each functionality/API as a separate Lambda function. For example, you could have a Lambda function to handle user registration, another to handle user login, and so on.

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). AWS Lambda, Honeycomb, and OpenTelemetry all provide thorough documentation.

Lambda 52