AWS Lambda Extension Telemetry API to Amazon S3

AWS Lambda → Amazon S3

Create a Lambda extension to send Lambda logs to S3

This pattern demonstrates how to use the Lambda extension telemetry API to persist Lambda logs to an S3 bucket.
The SAM template deploys a sample Lambda application, Lambda extension as Lambda layer and an S3 bucket to store the Lambda function logs. The Lambda extension uses the telemetry API together with the extensions API to capture Lambda Log and persist to S3.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-extension-telemetryapi-s3

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Additional resources

Created by:

Thanit Youruchatangern

Thanit Youruchatangern

I am a Technical Account Manager at AWS based in Thailand. I help customer solving complex problems with simple solutions.

Follow on LinkedIn