How to use ClamAV Antivirus in AWS EC2 for scanning S3 Bucket object when any file uploaded to s3 bucket?

6.7k Views Asked by At

I need to run ClamAV antivirus in EC2 instance that can help me to scan a virus for s3 bucket object when any object being uploaded to s3. Is their any blog or way that i can use?

2

There are 2 best solutions below

2
On BEST ANSWER

You can use S3 VirusScan, which is a third-party open source tool.

Some of its features are:

  • Uses ClamAV to scan newly added files on S3 buckets
  • Updates ClamAV database every 3 hours automatically
  • Scales EC2 instance workers to distribute workload
  • Publishes a message to SNS in case of a finding
  • Can optionally delete compromised files automatically
  • Logs to CloudWatch Logs
0
On