Bandwidth Hit Cost me CAD$400+ on Azure VM
I have deployed a web-application on an Azure VM B2s (Linux). Few days back the server unexpectedly got down, the issue it was showing was of an unknown agent, which got fixed when I stopped the server and started it again. After a day, my application was down although the server was running after looking at the metrics it was showing 90%+ memory usage, and after debugging we found some malware, which we have currently removed.
I want to know how this happened, and how can it be avoided in future, as this application posesses sensitive data, Also i got hit of CAD$400+ which I want the refund as well, as I didn't receive any alerts/notification of any kind.