如何在不停机的情况下将自定义域从一个 firebase 项目移动到另一个项目?
How to move custom domain from one firebase project to another without downtime?
我有一个通过自定义域为实时用户提供服务的 firebase 项目。我需要将自定义域移动到另一个 firebase 项目中 运行 的新版本应用程序。如果我删除自定义域并将其添加到另一个 firebase 项目中,需要多长时间才能反映更改?如何最大限度地减少停机时间?
如果只是移动自定义域(没有用户会话),并做出其他一些假设,例如:用于验证自定义域的帐户属于两个 Firebase 项目,并且同一个帐户将移动域,更改应该几乎是即时的,停机时间接近于零。您应该尝试使用测试域,它非常简单。
如果目标是实现零停机时间,最好询问 Firebase Support 是否可行以及如何实现。
已与 Firebase 支持核实。这可以在不停机的情况下完成。以下是他们的说明:
To delete your custom domain from the project, follow these steps:
- Go to the Firebase Hosting console for your project, you will see
your domain.
- Hover over your domain.
- There's an overflow menu (three vertical dots) on the right. From the overflow menu, select "Delete Domain"
When you delete a domain, we don't immediately remove the domain from
our backend. This is because most of the time developers are moving
their domains from one project to another, and this feature allows us
to re-provisioned the SSL certificate quicker.
我能够在没有任何停机时间的情况下删除域并将其添加到另一个项目。感谢 firebase 团队这么周到。
我有一个通过自定义域为实时用户提供服务的 firebase 项目。我需要将自定义域移动到另一个 firebase 项目中 运行 的新版本应用程序。如果我删除自定义域并将其添加到另一个 firebase 项目中,需要多长时间才能反映更改?如何最大限度地减少停机时间?
如果只是移动自定义域(没有用户会话),并做出其他一些假设,例如:用于验证自定义域的帐户属于两个 Firebase 项目,并且同一个帐户将移动域,更改应该几乎是即时的,停机时间接近于零。您应该尝试使用测试域,它非常简单。
如果目标是实现零停机时间,最好询问 Firebase Support 是否可行以及如何实现。
已与 Firebase 支持核实。这可以在不停机的情况下完成。以下是他们的说明:
To delete your custom domain from the project, follow these steps:
- Go to the Firebase Hosting console for your project, you will see your domain.
- Hover over your domain.
- There's an overflow menu (three vertical dots) on the right. From the overflow menu, select "Delete Domain"
When you delete a domain, we don't immediately remove the domain from our backend. This is because most of the time developers are moving their domains from one project to another, and this feature allows us to re-provisioned the SSL certificate quicker.
我能够在没有任何停机时间的情况下删除域并将其添加到另一个项目。感谢 firebase 团队这么周到。