Is there something like a instance ID available?

I guess I could just create an UUID once when the server starts, but I was wondering if Fly already had something like this available.

Yes, you can use the FLY_ALLOC_ID environment variable. It’s UUID-like. It’s unique.

Edit: a bit more info here: The Fly Runtime Environment · Fly

2 Likes

Awesome thanks @jerome !