There is no own ability to simply switch, but there is still a way to do this.
Create an application branch in the region you need.
For example, you have an application in the US region and you want to transfer it to the EU:
- Run this command to create a new application that will be a copy of the existing one:
heroku fork --from sourceapp --to targetapp --region eu
- After checking the performance, check (and if necessary copy and paste) the settings, permissions, additions, etc. They can also be copied, but it is better to check.
- Rename
sourceapp to something like sourceapp_old . - Rename
targetapp to sourceapp .
NOTE. But this method has several disadvantages:
In any case, I would recommend reading the official Heroku documentation before committing risky actions like this.
source share