Skip to content

Scenario: Deploy Vision One Service Gateway on AWS Manually

Prerequisites

  • Playground One Network
pgo --apply network

Get the Vision One API Key

In Vision One head over to Workflow and Automation -> Service Gateway Management and click on [Download Virtual Appliance].

alt text

In this scenario, you do not need to download the virtual appliance as we will be using an AWS Marketplace AMI. Simply copy the registration token shown at the bottom right and save it in a safe place.

alt text

Launch Instance on AWS

Now, on the AWS Console choose the service EC2 and navigate to Images --> AMI Catalog. Select the tab AWS Marketplace AMIs and seach for Trend Micro Service Gateway.

alt text

There should only be one AMI shown for your current region. Click on [Select] and [Subscribe now].

alt text

This will bring you to Launch an instance.

alt text

Give it a name, something like Vision One Service Gateway could make sense.

alt text

alt text

  • Instance type: c5.2xlarge
  • Key pair name: your Playground One key pair

alt text

  • VPC: your Playground One VPC
  • Subnet: one of the public Playground One subnets

alt text

Leave the security group settings for now as default.

alt text

Same to the storage.

Check the summary and click on [Launch instance].

When the instance is up and running, get the public IP of the instance and proceed with the next step.

Activate the Service Gateway

Back to your console/shell run the following command (adapt the parameters to your environment):

pgo --output network
...
mad_id = "d-99677cba24"
mad_ips = toset([
  "10.0.0.37",
  "10.0.1.229",
])
...
key_name = "pgo-key-pair-oaxuizlr"
mad_admin_password = <sensitive>
...
mad_admin_password = XrJ*5VPDZGmhhL70

The interesting value here is key_name.

key_name=<key_name>
public_ip=<public IP of your Security Gateway instance>

ssh -i ${ONEPATH}/${key_name}.pem admin@${public_ip}

alt text

enable

register <your API Token from the first step>

It can take some time for the Service Gateway to show up in the console.

🎉 Success 🎉