Modern cloud infrastructures are hardened against virus or any other types of attacks and mostly recover very quickly. Most cloud infrastructure has 99.99% uptime. Your device OS, anti-virus software nevertheless has to be kept updated and virus free.