Skip to content

Deploy in Azure

Learn how to deploy your first TrapEye instance in Microsoft Azure. This guide focuses on the manual deployment through the Azure portal, but the same workflow applies when using IaC tools such as Terraform or the Azure CLI.


  1. Navigate to Network foundation -> Virtual networks and select the private network where your TrapEye agent will be deployed.

    Write down the Name and Location of the private network, you will need this information during the vm creation process.

    Choose Private Network Image

  2. From the Virtual Machine section, click on Create -> Virtual machine to start the virtual machine creation process.

    Create VM

  3. Choose a Resource Group, Name, Region according to the Virtual network identified in the earlier steps.

    Set the Security type to Standard and click on See all images.

    Configure VM

  4. In the Marketplace Search Menu, search for TrapEye and select the image from the list.

    Select TrapEye Image

  5. Choose the Size for your virtual machine using the recommended values below:

    ResourceMinimum ValueRecommended Value
    CPU1 vCPUs1 vCPUs
    Memory1024 MiB (1 GB)2048 MiB (2 GB)
    Disk10GB10GB
  6. You can let the default Administrator Account settings, it will be not be used since the TrapEye image does not support direct access to the virtual machine.

    On the Inbound port rules, select None to ensure that no ports are exposed to the internet.

    Select TrapEye Image

  7. In the Networking tab, select the Virtual network identified in the earlier steps. Choose a Subnet.

    For the Public IP setting:

    • Set it to None only if your virtual network already has outbound internet access configured via a NAT Gateway or a Load Balancer with outbound rules.
    • Otherwise, assign a Public IP to ensure the TrapEye instance can reach the ingestion endpoint.

    Configure VM network

  8. From the TrapEye Platform, go to Management → Installation and copy the values for entity_uuid, auth_token and url.

  9. Replace the placeholder values in the template below with your TrapEye configuration parameters, then paste the final result into the Custom Data field in the Advanced tab.

    #cloud-config
    write_files:
    - path: /etc/trapeye/auth-config.toml
    permissions: '0600'
    content: |
    entity_uuid = "ENTITY-UUID-HERE"
    auth_token = "ENTITY-TOKEN-HERE"
    url = "INGESTION-URL-HERE"

    Example:

    Config Menu

  10. Click Review + create to build the virtual machine.

Your TrapEye virtual machine has been successfully deployed in Azure.

It will now appear in the Devices section of the TrapEye Deception Platform, and you will begin receiving real-time alerts as soon as any activity is detected.