Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: use autosuspend to reduce cost? #1

Open
adriangohjw opened this issue Aug 19, 2024 · 0 comments
Open

suggestion: use autosuspend to reduce cost? #1

adriangohjw opened this issue Aug 19, 2024 · 0 comments

Comments

@adriangohjw
Copy link

formsg-on-fly/fly.toml

Lines 101 to 107 in 1862aa6

[http_service]
internal_port = 5000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
processes = ['app']

Fly.io shipped [autosuspend](RE: https://community.fly.io/t/autosuspend-is-here-machine-suspension-is-enabled-everywhere/20942) that put machines in suspended state when idle, and allow startup with minimal cold start. This should help reduce cost since we aren't billed for suspended machines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant