Is it possible to disable an app without deleting it?

I have a preview environment which is used very infrequently. Is it possible to disable/turn the app off rather than leave it running constantly?

I know I can delete the app, but then I’d have to re-set it up each time I want to use the preview environment.

EDIT: Via the CLI it can be suspended, it does not appear to be an option via the dashboard?

Resume and suspend are olds features, we recommend using flyctl scale count 0 to disable.

We are improving our dashboard. Just yesterday we’ve deployed a new feature Improvement: Scale memory via dashboard and we will eventually add the option for apps to be scaled/suspended from there too

1 Like

Thanks!

If I then trigger a deploy on that app do I need to run flyctl scale count 1 or does it do that automatically?

You might need to flyctl scale count 1 before deploying

1 Like

Thanks @stibbs for the question! I was trying to do the same in the UI and was surprised not to see a button anywhere.

1 Like

Thanks for the feedback. We are aware of this but since we are improving how some things work internally we are waiting on these UI improvements so we can deliver the best version :slight_smile:

1 Like