I want to run multiple instance of an application but use different rpc as env so not to overload it

But can i set different value for some env when it is being used in multiple instance. Let’s say i have multiple env values: a,b,c. One instance of fly app uses a, another one uses b and some other uses c.
How can i achieve this?

You can create 3 config files (like fly.toml), all exactly the same except for the app name and the different env var.

Then you can deploy with fly deploy -c your-fly.toml.

Can you elaborate on “so not to overload it”? You can have multiple instances of the same app and load will be balanced if you’re using public services.

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