Deploy using Google Compute Engines

The deployment options vary depending on what are the number of instances where MetaDefender ICAP Server will be installed.

Options:

  1. Single Instance deployment of MetaDefender Core and MetaDefender ICAP Server
  2. Multi-Instances with Autoscaling for MetaDefender Core and MetaDefender ICAP Server.

OPSWAT provides a terraform project as example to deploy MetaDefender ICAP Server and MetaDefender Core in different instances using Google services.

Prerequisites and Requirements

Google knowledge: This guide assumes familiarity with Google Services

Google project: needs permission to create Google Services represented in diagrams in Architecture Examples in CSPs for Google

Tools installation: Terraform

Single Instance Deployment

For a single deployment of MetaDefender Core in Google you can use this example to test this deployment type, besides the MetaDefender VM instance, additional resources are being generated and set up.

Deploy using Terraform

OPSWAT provides a terraform project to create the infrastructure needed to deploy

  • Locally clone the metadefender-csp repository and go to GCP/single-vm-deployment
Bash
Copy

Modify terraform.tfvars with the desired options

  • LICENSE__KEY_CORE_ required if wanted to have the MetaDefender Core instance activated automatically
  • APIKEY_GENERATION=true to have the apikey generated by terraform
  • There is one general section and one section for each product that is supported using this Terraform project
Bash
Copy
  • Run terraform init and apply. Check the resource to be created, after that enter "y"
Bash
Copy

Managed Instance Group Deployment

Deploy using Terraform

OPSWAT provides a terraform project to create the infrastructure needed to deploy

  • Locally clone the metadefender-csp repository and go to GCP/single-vm-deployment
Bash
Copy

Modify terraform.tfvars with the desired options

  • LICENSE__KEY_CORE_ required if wanted to have the MetaDefender Core instance activated automatically
  • APIKEY_GENERATION=true to have the apikey generated by terraform
  • There is one general section and one section for each product that is supported using this Terraform project
Bash
Copy
  • Run terraform init and apply. Check the resource to be created, after that enter "y"
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard