AWS Lambda Extension for retreiving and caching of files on Startup.
Currently Supported Methods:
- HTTP
- S3 Files
- S3 Buckets
Support for both:
- x86_64
- arm64
If you are using the Serverless Framework checkout the official plugin.
Provided you are in using any of the following AWS Regions:
- eu-west-1
- eu-west-2
- eu-central-1
- us-east-1
- us-east-2
- us-west-2
There are some premade layers avaliable for each Destination and Architecture:
- arn:aws:lambda::856198688143:layer:cachette_x86_64
- arn:aws:lambda::856198688143:layer:cachette_arm64
If your organisation does not want to use one of the premade layers. Cachette can be built from source for your desired architecture (x86_64|arm64)
.
- docker: To compile the plugin on the target Architecture.
- aws-cli: To deploy the layer to your AWS Account.
./build.sh <x86_64|arm64>
./publish.sh <x86_64|arm64> <region>
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.