Failing to deploy to Singapore due to legacy plan

Getting this error while I deploy my app:

Running emissions-calculator release_command: bin/rails fly:release

-------
 ✖ Failed: error running release_command machine: error creating a release_command machine: failed to launch VM: Region 'bom' cannot host your machine because your organizaion is on a legacy or non-paid plan. Please upgrade yo…
-------
Error: release command failed - aborting deployment. error running release_command machine: error creating a release_command machine: failed to launch VM: Region 'bom' cannot host your machine because your organizaion is on a legacy or non-paid plan. Please upgrade your plan or use an alternative region (see `fly platform regions`). (Request ID: 01JQ97QM3NN08CXADRW6VTJEP6-bom) (Trace ID: 45c2ab3e420c5f59e5ed7b5527cac0d8)

I’m a paying customer with all the invoices cleared, what do I do to deploy my app. My app is hosted in Singapore region, not sure why does it say bom in the error message.

I’ve tried to do a plan change, but that would not happen until April 1st. Any help appreciated.

Would you post your TOML file here?

I don’t know exactly what this does; I assume it’s a Rails plugin supplied in one of the Fly repos. Can you use flyctl deploy instead?

# fly.toml app configuration file generated for emissions-calculator on 2025-03-26T17:28:52+05:30
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'emissions-calculator'
kill_signal = 'SIGINT'
kill_timeout = '5s'

[build]
  [build.args]
    BUILD_COMMAND = 'bin/rails fly:build'
    SERVER_COMMAND = 'bin/rails fly:server'

[deploy]
  release_command = 'bin/rails fly:release'

[env]
  PORT = '8080'

[[services]]
  protocol = 'tcp'
  internal_port = 8080
  processes = ['app']

  [[services.ports]]
    port = 80
    handlers = ['http']
    force_https = true

  [[services.ports]]
    port = 443
    handlers = ['tls', 'http']

  [services.concurrency]
    type = 'connections'
    hard_limit = 25
    soft_limit = 20

[[vm]]
  size = 'shared-cpu-1x'
  memory = '1gb'

[[statics]]
  guest_path = '/app/public'
  url_prefix = '/'
1 Like

Try an explicit primary_region = "sin" at the top.

It may be defaulting to your personal edge region, which is bom in the first excerpt that you posted:

(The release_command creates an ephemeral Machine.)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.