Lucee on Lambda SnapStart

Timing this page…

Every environment draws its own random values.

A snapshot copies memory, random-number state included. Out of the box, environments restored from one snapshot returned the same createUUID(). This page asks several environments at once so you can check that they no longer do.

BOOTED, NOT RESTORED AWS LAMBDA · AARCH64 30 NOV 2026 10:56:09 UTC
Certificate serial
1E0EBD1E-2CD4-4F39-945A55A0C64F8D0E

Ask eight at once

Eight simultaneous requests force Lambda to restore more environments. Each row is one response from /unique.

EnvironmentcreateUUID()rand()Kernel bytes
No values requested yet.

What fixed it

  1. The Lucee image starts Java with java.security.egd=file:/dev/./urandom. That makes Java keep its random state in memory, where the snapshot freezes it. The Dockerfile removes the flag, so Java reads the kernel on every call.
  2. Lucee keeps the generators behind rand() in a static map. snapstart/after.cfm mixes fresh kernel entropy into each one after every restore.