tags: #publish links: [[AWS]] created: 2021-03-08 Mon --- # AWS Lambda Extensions https://aws.amazon.com/blogs/compute/introducing-aws-lambda-extensions-in-preview/ Tool plug-in mechanism for AWS Lambda. Helps integrate lambdas with monitoring/observability/security/governance. AWS, and Partners, provide extension to integrate with things like Splunk, Datadog, New Relic, SignalFX, ... Extension runs adjacent to the lambda in the execution environment: - Internal (in process with the lambda code) - For wrapper scripts, instrumentation etc - External (separate process in the same environment) - For doing things outside the context of the lambda e.g. fetch secrets - **can precede and continue after the runtime lambda process** There is an Extensions API that sits alongside the Runtime API used by Lambdas: hooks for initiatialization, invocation, shut down.