Scale to Zero is enabled by default on Flex compute instances. If you change this setting, you will need to Save and Redeploy your environment for it to take effect. Even when you aren’t actively using your application, it can still receive requests that wake it from sleep:Documentation Index
Fetch the complete documentation index at: https://cloud.laravel.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Simple vanity domains can occasionally be found by bots scanning for active web pages to index. Consider using the auto-generated domain or choosing a more complex vanity domain to reduce stray bot traffic.
- Custom domains may have existing traffic patterns, such as being regularly crawled or indexed by bots. Laravel Cloud blocks many such instances, but it is not always possible to differentiate regular requests from automated ones.
- Links posted into common messaging applications, like Slack, can automatically “visit” your site in order to access thumbnails and other metadata about your site.
- Applications that use WebSockets may delay the sleep timer.
- A scheduled task or manual wake interval that runs more frequently than the sleep timeout will wake the environment before it can sleep. For example, a task that runs every 5 minutes with a 5-minute sleep timeout means the environment never reaches the timeout and never sleeps.
- To resolve this, set your sleep timeout shorter than your most frequent wake interval, or space out your scheduled tasks.

