Vapor prewarms the app every 5 minutes. You don't need to do anything. AWS concurrency feature is more expensive and you shouldn't need it if your app has like a few K users at most. Right now, out of the box, Vapor achieves the pre-warm functionality using Cloudwatch events.
Dec 18, 2019
3
Level 3
Laravel Vapor - AWS Lambda Cold Boot
I've been trying to figure out how to prevent cold boots on AWS Lambda (with Laravel Vapor) and it seems there are two options:
From my understanding, provisioned concurrency is kept "warm" by AWS and are billed for the duration it is kept alive. While prewarming is Vapor pinging the site every few minutes to keep it warm?
I'm trying to determine which one is more cost effective and which one is more functional.
I may be way off, so hopefully someone can shed some light.
Level 7
Please or to participate in this conversation.