Images get lost after few minutes of inactivity in server. It works fine in development.

Hi @SamC

There’s no persistent storage on a Machine without a volume. And if you have auto stop activated in your fly.toml file, then Machines will stop when there’s no traffic to the app.

Here’s some info about setting up ActiveStorage with a volume: Active storage images are not persisting in disk

You might need to add a credit card for verification to create more apps and volumes. You won’t be charged if you don’t go beyond the free allowance. Answered that question here: Error failed creating volume: To create more than 1GB in volumes please add a payment method - #7 by SamC