Migrating Lambda to use Graviton2 Processor

0

I made changes in the serverless configuration for Lambda to use the arm64 processor, and the deployment was successful. However, when I triggered the Lambda function, I received the following exception. Please let me know if any have any idea on the resolution.

Unhandled exception. System.BadImageFormatException: Could not load file or assembly '/opt/Amazon.Lambda.RuntimeSupport.dll'. An attempt was made to load a program with an incorrect format. error : bootstrap.sh doesn't exist

Rahul
asked 13 days ago89 views
1 Answer
1

Hi Rahul,

if you are using .NET for your Lambda function, you might need to build specifically for the ARM architecture. Please find more information here: https://github.com/aws/aws-graviton-getting-started/blob/main/dotnet.md

Thanks, Ben

profile pictureAWS
EXPERT
answered 13 days ago
profile pictureAWS
EXPERT
iBehr
reviewed 13 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions