{"repo":"juanjoDiaz/serverless-plugin-warmup","free":true,"listed":false,"github":"https://github.com/juanjoDiaz/serverless-plugin-warmup","clone":"git clone https://github.com/juanjoDiaz/serverless-plugin-warmup.git","description":"Keep your lambdas warm during winter. ♨","language":"JavaScript","stars":1120,"topics":["serverless","serverless-plugin","lambda","aws-lambda","aws"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Serverless WarmUp Plugin ♨ [![npm version][npm-version-badge]][npm-version-badge-url] [![npm monthly downloads][npm-downloads-badge]][npm-version-badge-url] [![Coverage Status][coveralls-badge]][coveralls-badge-url] Keep your lambdas warm during winter. Requirements: Node v20.x or higher Serverless v3.8 or higher AWS provider How it works WarmUp solves cold starts by creating a scheduled lambda (the warmer) that invokes all the selected service's lambdas in a configured time interval (default: 5 minutes) and forcing your containers to stay warm. Installation Install via npm in the root of your Serverless service: Add the plugin to the plugins array in your Serverless serverless.yaml : Configuration The warmup plugin supports creating one or more warmer functions. Warmers must be defined under custom.warmup in the serverless.yaml file before they can be used in the functions' configs: The options are the same for all the warmers: folderName Folder to temporarily store the generated code (defaults to .warmup ) cleanFolder Whether to automatically delete the generated code folder. You might want to keep it if you are doing some custom packaging (defaults to true ) name Name of the generated warmer lambda (defaults to ${service}-${stage}-warmup-plugin-${warmerName} ) roleName Name to be applied to the default warmer lambda role. Ignored if a the role setting is used (defaults to ${service.service}-${stage}-${region}-${warmerName.toLowerCase()}-role ) role Role to apply to the war","default_branch":null,"files":null,"tree":[],"storefront":"/r/juanjoDiaz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/juanjoDiaz/serverless-plugin-warmup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}