Remix Indie Stack to Fly Volume Default Incorrect

I followed the readme from the repo.

When I run the following command:
fly volumes create data --size 1 --app remix-61

I’m given the option to select a region for my volume.

I’ve selected (bos).

After committing and pushing to GitHub and triggering the deploy actions to run, the deployment fails because the volume is not in the same region as the preset for this Remix stack. Upon looking at the deploy logs, the image is successfully pushed, but I receive the following error at the end:

This deployment will:
 * create 1 "app" machine
...
No machines in group app, launching a new machine
Error: error creating a new machine: failed to launch VM: Mounts source volume "{anonymized}" is in the wrong region ("bos" != "dfw")

Does this mean the default Remix Indie Stack’s volume can only exist at dfw?

Your VM and volume do need to be in the same region. I don’t see dfw in that README or, for that matter, in that repository. Can you tell me what is leading you to believe that dfw is the region for the Indie Stack?

When I look at the deploy logs, it says this:

Error: error creating a new machine: failed to launch VM: Mounts source volume “{anonymized}” is in the wrong region (“bos” != “dfw”)

I phrased my question poorly.

We support placing your VM in any of our regions, including Boston.

I can’t see your code, or know what commands you have run so far. Somewhere/something is specifying DFW, and I’ve done a brief scan of the Remix stack and I can’t find anything that indicates that Remix has a preset region.

Perhaps sharing the contents of your fly.toml file would help? What does fly regions list and fly machines list return?

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