GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shelfio/ghostscript-lambda-layer: Ghostscript AWS Lambda layer

BranchesTags
Open more actions menu

Latest commit

 

History

82 Commits
82 Commits

Folders and files

NameName
Last commit message
Last commit date
.husky
.husky
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
build.sh
build.sh
 
 
ghostscript-arm64.zip
ghostscript-arm64.zip
 
 
ghostscript-x86_64.zip
ghostscript-x86_64.zip
 
 
license
license
 
 
publish.sh
publish.sh
 
 
version.sh
version.sh
 
 

Repository files navigation

Ghostscript for AWS Lambda as a Layer

Getting Started

Click on Layers and choose "Add a layer", and "Provide a layer version ARN" and enter the following ARN.

For x86_64 (Intel/AMD) architectures:

arn:aws:lambda:<YOUR REGION>:764866452798:layer:ghostscript:<VERSION>

For ARM64 (Graviton2) architectures:

arn:aws:lambda:<YOUR REGION>:764866452798:layer:ghostscript-arm64:<VERSION>

Note: ARM64 provides better price-performance ratio for Lambda functions. Consider using ARM64 for new projects.

Works with the following AWS Lambda runtimes which run on Amazon Linux 2:

  • nodejs20.x, nodejs18.x, nodejs16.x
  • python3.12, python3.11, python3.10, python3.9, python3.8
  • java21, java17, java11
  • provided.al2, provided.al2023

Version Numbers

Ghostscript x86_64 VERSION ARM64 VERSION eu-west-3 x86_64 eu-west-3 ARM64
v10.06.0 18 1 19 1
v10.04.0 17 - 18 -
v10.02.0 15 - 16 -
v10.0.0 13 - 14 -
v9.56.1 12 - 13 -
v9.55.0 9 - 10 -
v9.52.0 8 - 9 -
v9.50.0 6 - 7 -
v9.20.0 1 - 1 -

Where can I find the Ghostscript binary inside of Lambda after I attach the layer?

You can find it at /opt/bin/gs (/opt is where Lambda unpacks layers).

You can run /opt/bin/gs --version to make sure Ghostscript is up and running.

Update

  1. Change version numbers in the version.sh file (GHOSTSCRIPT_VERSION and GS_TAG)
  2. Run ./build.sh script which will produce ghostscript-x86_64.zip and ghostscript-arm64.zip files in the root of the project
  3. Update the version table in this README with the new layer version numbers
  4. Commit & Create a Pull Request
  5. After merging, a new layer version will be published by the CI automatically

License

MIT © Shelf

About

Ghostscript AWS Lambda layer

Topics

awsaws-lambdaghostscriptlambda-layer

Resources

Readme
MIT license
Activity
Custom properties

Stars

101 stars

Watchers

13 watching

Forks

42 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.