3 ms·
How to run ClamAV server in Azure and send files to it via Event Grid from Azure Storage
by shinkathe 4y ago
How to run ClamAV server in Azure and send files to it via Event Grid from Azure Storage
- verdverm 4y agoCould this be done with a single deployment? (i.e. not having to download the file in one service, just to send it to another) Couldn't the code be put in the same container? Also worth considering how you keep your virus DB up to date. You'll almost certainly need to run a private mirror due to strict rate limiting on the default
- shinkathe 4y agoIt could be done with a single deployment and containerised as such, but that is likely not as easy to do as this, which was the goal here. This one is a rather frictionless approach. i think this level of separation of concerns is actually fine even when containers could be used. This particular image of ClamAV server that we are hosting as an ACI contains autoupdate features, and it updates its virus db daily or on any restarts. The advantage of this approach is that you could in addition to just the antivirus check implement signature and file size checks in a separate service, and if you had say PDF conversion requirements or file archival requirements, then it's more convenient that you have the file in an azure function.