You can now give your VMs up to 24 hours to cleanly shutdown after receiving a kill signal. You can also specify the kill signal to send. Add these to your
fly.toml to check it out:
kill_timeout: Number of seconds to wait before we force kill a VM. Minimum is 1 second, shared CPU VMs allow up to 5 minutes, dedicated CPU VMs allow up to 24 hours. Default is 5s.
kill_signal: Default is
SIGINT, also allows
SIGKILL , or
If you’re curious how we terminate VMs, head to our blog to read more.