I'm just curious if I rent a vps and run the node there. In case of the VPS got hack, can I lose my coins?
No, because your collateral is on a private wallet of yours that never should leave your pc, and can be cold stored once you sent the registration tx.
Nothing the hosting service can do to steal your funds, by design.