Cloud Deployment
v5.13.3
Search this version
Cloud Deployment
Cloud Deployment
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Autoscaling EC2
Copy Markdown
Open in ChatGPT
Open in Claude
This is the guideline an autoscaling deployment of MetaDefender. In this example, besides the MetaDefender EC2 instance, additional resources are being generated and set up.
Prerequisites and Requirements
AWS knowledge: This guide assumes familiarity with AWS services.
AWS account: needs permission to create AWS resources listed in Autoscaling EC2
Tools to be used: Terraform
System/OS requirements
For OS, database type, 3rd party dependencies and storage requirements on Windows installations, please refer to the Microsoft Windows Deployments section of the Recommended System Configuration page.
For OS, database type, 3rd party dependencies and storage requirements on Linux installations, please refer to the Linux Deployments section of the Recommended System Configuration page.
Deploy using Terraform
- Locally clone the metadefender-csp repository and go to AWS/autoscaling-group
Bash
git clone git@github.com:OPSWAT/metadefender-csp.gitcd AWS/autoscaling-group- Modify terraform.tfvars with the desired options
terraform.tfvars
x
# General variablesMD_ENV_NAME = "metadefender"MD_REGION = "eu-central-1"#ACCESS_KEY_ID = "<ACCESS_KEY_ID>"#SECRET_ACCESS_KEY = "<SECRET_ACCESS_KEY>"MD_VPC_CIDR = "192.168.0.0/16"PUBLIC_ENVIRONMENT = trueWARM_POOL_ENABLED = true# MetaDefender Core variablesDEPLOY_CORE = "false"CORE_PRODUCT_ID = "ani6v4vb5z4t87cymrfg3m451" # For Windows it is "9s8powksm1cj7fuafdnv0sfj9"CORE_INSTANCE_TYPE = "c5.2xlarge"LICENSE_KEY_CORE = ""CORE_PWD = "admin"CORE_PORT = 8008- Run terraform apply and check the resource to be create, after that enter "y"
Bash
terraform applyType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Monitoring in AWSDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
