When performing a cloud server online migration, whether the source public IP is migrated depends on the specific migration method and the cloud provider's policies.
In most cases, the public IP address is not automatically migrated with the server. Instead, the destination server may be assigned a new public IP. However, some cloud platforms allow you to reserve or reassign the original public IP to the new server, either temporarily or permanently.
For example:
In Tencent Cloud, you can use Elastic IP (EIP) to retain and reassign your public IP address during migration. This ensures minimal disruption to services that rely on the original IP. Additionally, Tencent Cloud's Online Migration Service supports seamless server migration while allowing you to manage IP assignments flexibly.