Skip to content

Example AWS Lambda C# .NET Core 3 (and 2.2) by LambdaNative and CoreRT for optimize cold start

Notifications You must be signed in to change notification settings

ifew/aws-lambda-lambdanative

Repository files navigation

Example AWS Lambda C# .NET Core 3 (and 2.2) by LambdaNative and CoreRT for optimize cold start

Example for LambdaNative

Dependency

Step to build and deploy

I'm using Docker for create build environment (Linux) and using AWS ClI deploy to S3

Run Unit test

cd test/aws-lambda-lambdanative.Tests
dotnet test

Create docker for build

docker build -t lambdanative .

Build file and packing to package.zip

sh build_linux.sh

Upload to aws s3

aws s3 cp package.zip s3://[S3-FOLDER] [--profile AWS-PROFILE-NAME]

Go to lambda page and choose upload via s3 url, runtime: custom, handler: up to you

Setting

Try to test

Testing

Test Result

Testing

About

Example AWS Lambda C# .NET Core 3 (and 2.2) by LambdaNative and CoreRT for optimize cold start

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published