如果我 phoenix 我的实例,我的数字海洋 ip 会改变吗?

Will my digital ocean ip change if I phoenix my instance?

如果我 运行 使用 digital-ocean 在 prudentia 上执行 phoenix 命令,the prudentia documentation 说:

phoenix: shortcut for stop -> destroy -> create -> start -> provision (citing phoenix server Martin Fowler's article)

我知道,如果我销毁数字海洋上的一个实例并创建一个新实例,它可能会有另一个 IP 地址,这会有问题。在做一些鲁莽的事情之前,我想确定一下……

Prudentia 将确保实例即使在重新创建时也保留其 IP。

在这种情况下,大部分工作都是由 Digital Ocean 完成的 API。当 phoenixing 一个 Digital Ocean droplet Prudentia 将使用 rebuild api(在此处 https://developers.digitalocean.com/documentation/v1/droplets/ 搜索它),它指出:

This method allows you to reinstall a droplet with a default image. This is useful if you want to start again but retain the same IP address for your droplet.