I'm trying to copy instance from an account to another account. Both of them are in same region. Based on here I should use Shared Image. And now I wanna create that Image by following this. But it have concerns that too risky for me.
- Do not load data disk information to the /etc/fstab directory. Otherwise, instances created from the custom image cannot be started.
How do I can do the point above? Do I can do it from the instance terminal? Because I'm not sure able to do this in Alibaba ECS console.
- We strongly recommended that you umount all the file systems mounted on the Linux instance before creating a custom image. Otherwise, instances created from the custom image may not be started or used.
What is the main risk of this? Because the source instance is contain a live product, I'm affraid it will stop the instance.
I'm sorry if you think that I ask basic question, I've no experience in system and cloud service. Thanks
Creating a custom image from a running ECS instance does not stop or start the instance. And in relation to the other queries, its all relating to additional disks beyond the system disk. So if for some reason the instance you want to create an image from contains information on data disks in fstab, it would make more sense to create the image anyway, deploy it to a VM, start the copy and remove the fstab references and then create the image from that copy. Hence no impact to your production environment.