If you switch the network type of an Elastic Compute Service (ECS) instance from the classic network to a virtual private cloud (VPC), you must restart Logtail and update the configurations of the related machine group. This way, Logtail can continue to collect logs from the ECS instance.