How to Download Production Sentry Lambda Layer
Instructions for downloading the Sentry AWS Lambda layer.
You need to have the AWS CLI installed and configured to have access to the production Sentry AWS account.
Then you can get information about the Sentry Lambda layer with this command:
Copied
aws lambda get-layer-version --layer-name arn:aws:lambda:eu-central-1:943013980633:layer:SentryPythonServerlessSDK --version-number 142
Make sure you have the region (in the example eu-central-1) and the version number (in the example 142) to the version of the layer you want to download. If you want to download the Javascript layer use SentryNodeServerlessSDKvX (replacing X with the version of the JS SDK is in the layer) instead of SentryPythonServerlessSDK.
Output will be something like this:
Copied
{
"Content": {
"Location": "https://awslambda-eu-cent-1-layers.s3.eu-central-1.amazonaws.com/snapshots/943013980633/SentryPythonServerlessSDK-008d308b-4dc8-46c4-b7f2-48c31e187a85?versionId=xxx&X-Amz-Security-Token=xxx&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260825T072152Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Credential=xxx&X-Amz-Signature=xxx",
"CodeSha256": "L/xPQraARPazFPwChPLlzETN2emli4UIgabUOu34bZ4=",
"CodeSize": 9883188
},
"LayerArn": "arn:aws:lambda:eu-central-1:943013980633:layer:SentryPythonServerlessSDK",
"LayerVersionArn": "arn:aws:lambda:eu-central-1:943013980633:layer:SentryPythonServerlessSDK:35",
"Description": "",
"CreatedDate": "2026-08-16T11:15:45.768+0000",
"Version": 142,
"CompatibleRuntimes": [
"...",
"python3.13",
"python3.14"
],
"LicenseInfo": "MIT"
}
Then pick the Location and download the layer as zip file:
Copied
curl -o layer.zip https://awslambda-eu-cent-1-layers.s3.eu-central-1.amazonaws.com/snapshots/943013980633/SentryPythonServerlessSDK-008d308b-4dc8-46c4-b7f2-48c31e187a85?versionId=xxx&X-Amz-Security-Token=xxx&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260825T072152Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Credential=xxx&X-Amz-Signature=xxx
Now your layer is in layer.zip. Enjoy!
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").