Skip to content

Aembit provides many different deployment options you can use to deploy Aembit Edge Components in your environment. Each of these options provide similar features and functionality. The steps for each of these options, however, are specific to the deployment option you select.

This page describes the process to deploy Agent Proxy to a Linux virtual machine (VM).

Use the following table to make sure that Aembit supports the operating system and platform you’re deploying to your VM:

Operating systemEdge Component versions
Ubuntu 20.04 LTSAgent Proxy v1.11.1551+
Ubuntu 22.04 LTSAgent Proxy v1.11.1551+
Red Hat 8.9 *Agent Proxy v1.11.1551+

* See How to configure Agent Proxy on SELinux or RHEL for more info.

To install Agent Proxy on Linux, follow these steps:

  1. Download the latest Agent Proxy Release.

  2. Log on to the VM with your username:

    Terminal window
    ssh -i <path/to/your/ssh/key> <your-username or remote-host>@<hostname>
  3. Download the latest released version of Agent Proxy. Make sure to include the <version_number> in the command:

    Terminal window
    wget https://releases.aembit.io/agent_proxy/<version_number>/linux/amd64/aembit_agent_proxy_linux_amd64_<version_number>.tar.gz
  4. Unpack the archive using the correct version number in the command:

    Terminal window
    tar xf aembit_agent_proxy_linux_amd64_<version_number>.tar.gz
  5. Navigate to the unpacked directory:

    Terminal window
    cd aembit_agent_proxy_linux_amd64_<version_number>
  6. Run the Agent Proxy installer, making sure to replace <agent-controller-host> address:

    Terminal window
    sudo AEMBIT_AGENT_CONTROLLER=http://<agent-controller-host>:5000 ./install

    Optionally, add any other Agent Proxy environment variables reference in the format ENV_VAR_NAME=myvalue.

  7. (Optional) You may optionally use the additional installation environment variable AEMBIT_DOCKER_CONTAINER_CIDR. This variable may be set to the CIDR block of the Docker container bridge network to allow handling workloads running in containers on your VM.

    Your Client Workloads running on your virtual machine should now be able to access server workloads.

For a list of all available environment variables for configuring the Agent Proxy installer, see Agent Proxy environment variables reference.

Run the following command to uninstall Agent Proxy from Linux VMs:

Terminal window
sudo ./uninstall

To access logs on your Agent Proxy, select the following tab for your operating system:

Linux handles Agent Proxy logs with journald. To access Agent Proxy logs, run:

Terminal window
journalctl --namespace aembit_agent_proxy

Older versions of journald do not support namespaces. If the preceding command does not work, you can use the following command:

Terminal window
journalctl --unit aembit_agent_proxy

For more information about Agent Proxy log levels, see Agent Proxy log level reference

The following sections describe optional configurations you can use to customize your Agent Proxy installation:

To install all the possible CA Certificates for AWS Relational Database Service (RDS) databases, see AWS RDS Certificates.

To use TLS decryption on your virtual machine, download the Aembit CA certificate and add it to your trusted CAs. See About TLS Decrypt for detailed instructions on how to use and configure TLS decryption on your virtual machine.

If you want to deploy a Resource Set using the Agent Proxy Virtual Machine Installer, you need to specify the AEMBIT_RESOURCE_SET_ID environment variable during the Agent Proxy installation. See Edge Component environment variables reference for details.

This configuration enables the Agent Proxy to support Client Workloads in this Resource Set. For more info, see Resource Sets overview.