Proxy Agent Migration Guide
Use this page to move an existing Proxy Agent to the current infrastructure or to a supported deployment method, including a Proxy Agent that runs on the legacy infrastructure or that you installed using the High-Volume Agent (HVA) installer. To upgrade a Proxy Agent to a later version without changing how you deployed it, see our Proxy Agent upgrade guide.
Fivetran has retired the legacy Proxy Agent infrastructure. A Proxy Agent running a version earlier than 1.1.0, or version 1.1.0 or later with "enable_migration": false in its configuration file (proxyagent.conf), may no longer connect, causing affected connections to fail. When the legacy infrastructure is no longer available, upgrading the Proxy Agent in place or changing enable_migration alone won't restore connectivity. To retain the existing agent ID, migrate directly to Docker by following the instructions in Migrate a Proxy Agent to Docker. The Docker installer uses the credentials in the existing configuration file to request a new configuration and doesn't depend on the legacy infrastructure. If the Docker migration fails, create a new Proxy Agent and assign it to the affected connections.
Choose a migration path
| Your situation | Migration path |
|---|---|
Your Proxy Agent runs a version earlier than 1.1.0, or version 1.1.0 or later with "enable_migration": false, and can still connect | Migrate a legacy Proxy Agent to the current infrastructure |
| You want to move your existing Proxy Agent to Docker and keep its agent ID | Migrate a Proxy Agent to Docker |
| You installed the Proxy Agent using the HVA installer | Migrate a Proxy Agent installed using the High-Volume Agent installer |
| Your legacy Proxy Agent can no longer connect | Migrate or replace a Proxy Agent that can no longer connect |
Migrate a legacy Proxy Agent to the current infrastructure
A legacy Proxy Agent runs a version earlier than 1.1.0, or version 1.1.0 or later with "enable_migration": false in its configuration file (proxyagent.conf). If the Proxy Agent can still connect through the legacy infrastructure, upgrade it to the latest version (the migration requires version 1.1.0 or later), remove "enable_migration": false from the configuration file if present, and start the upgraded agent. This migration only works in regions where the legacy infrastructure is still available.
If the Proxy Agent can no longer connect, see Migrate or replace a Proxy Agent that can no longer connect.
Migrate a Proxy Agent to Docker
Use this section to move a Proxy Agent that doesn't run in Docker to Docker. Migration preserves your existing Proxy Agent ID. The same Proxy Agent ID continues to work after the migration, and no changes are required in the Fivetran dashboard.
Linux prerequisites
Before migrating, confirm the following on the Linux host that will run the Proxy Agent.
- Docker Engine v20.10.17 or later is installed. To check, run
docker --version. If you need to install or upgrade Docker, follow the instructions in the Docker documentation. - The Docker daemon is running. To check, run
docker info. - Your user can run Docker commands. If not, add the user to the
dockergroup by runningsudo usermod -aG docker $USER. Then open a new terminal before proceeding. - Docker is enabled to start automatically when the host boots. If Docker runs in rootless mode, run
systemctl --user is-enabled docker. If the command returnsdisabled, runsystemctl --user enable docker. Also runsudo loginctl enable-linger $USERso that Docker starts at boot without the user signing in. If Docker runs with root privileges, runsudo systemctl is-enabled docker. If the command returnsdisabled, runsudo systemctl enable docker.
Migrate an existing Proxy Agent on Linux
The migration steps depend on the contents of your existing configuration file. If it contains client_cert and client_private_key, follow Migrate using a current configuration on Linux. If it contains proxy_server_uri, follow Migrate using a legacy configuration on Linux. A version 1.1.0 or later installation with "enable_migration": false uses the legacy configuration format.
Do not run multiple Proxy Agent processes using the same configuration file or agent ID. Doing so can disconnect the agent and cause connection sync failures and other unexpected behavior.
Migrate using a current configuration on Linux
Use this procedure if your existing configuration file contains client_cert and client_private_key.
Stop the running Proxy Agent.
- For Linux installations that use
systemd, runsudo systemctl stop fivetran_proxy. - For other installation types, stop the process using the method appropriate for your environment.
- For Linux installations that use
Run the installer and pass the path to your existing configuration file. Replace
/path/to/proxyagent.confwith the actual path to your configuration file. If you're not sure where the configuration file is located, check your original installation directory or the startup command you used when installing the Proxy Agent.RUNTIME=docker bash -c "$(curl -sL "https://raw.githubusercontent.com/fivetran/proxy_agent/main/install.sh")" -- /path/to/proxyagent.confThe installer copies your configuration to
~/fivetran-proxy-agent/config/config.json, pulls the latest Docker image, and starts the Proxy Agent. The installer doesn't modify your original configuration file.Verify that the Proxy Agent is running:
cd ~/fivetran-proxy-agent ./proxy-agent-manager.sh statusThe container should show as
(healthy). You can also confirm that the Proxy Agent is online in the Fivetran dashboard. Go to Account Settings > General > Connection Methods > Proxy Agents.
Proxy Agent logs are now written to ~/fivetran-proxy-agent/logs/. Logs from your previous Proxy Agent installation remain at their original location and aren't migrated.
Migrate using a legacy configuration on Linux
Use this procedure if your existing configuration file contains proxy_server_uri. This format is used by versions earlier than 1.1.0 and by version 1.1.0 or later installations with "enable_migration": false. The Docker installer uses the existing agent_id and auth_token to request a new configuration from Fivetran, so this migration doesn't depend on the legacy infrastructure.
Stop the running Proxy Agent.
- For Linux installations that use
systemd, runsudo systemctl stop fivetran_proxy. - For other installation types, stop the process using the method appropriate for your environment.
- For Linux installations that use
Run the installer and pass the path to your existing configuration file. Replace
/path/to/proxyagent.confwith the actual path to your configuration file. If you're not sure where the configuration file is located, check your original installation directory or the startup command you used when installing the Proxy Agent.RUNTIME=docker bash -c "$(curl -sL "https://raw.githubusercontent.com/fivetran/proxy_agent/main/install.sh")" -- /path/to/proxyagent.confThe installer detects the legacy configuration format, uses your existing credentials to request a new configuration from Fivetran, and starts the Docker-based Proxy Agent. No manual changes to your configuration file are required.
Verify that the Proxy Agent is running:
cd ~/fivetran-proxy-agent ./proxy-agent-manager.sh statusThe container should show as
(healthy). You can also confirm that the Proxy Agent is online in the Fivetran dashboard. Go to Account Settings > General > Connection Methods > Proxy Agents.
- The installer doesn't modify your original configuration file. It remains in its original location. If you need to roll back to the previous installation, use the original configuration file to restart your previous Proxy Agent. For more information, see Roll back to your previous Proxy Agent on Linux.
- After migration, the new configuration file is stored at
~/fivetran-proxy-agent/config/config.json. Use this file for future reinstalls or certificate renewals. Do not use the original configuration file for those operations because it is in the legacy format and triggers a new configuration fetch each time.
Roll back to your previous Proxy Agent on Linux
Rolling back to a previous Proxy Agent whose configuration file contains proxy_server_uri works only in regions where the legacy infrastructure is still available. If the legacy infrastructure is unavailable, the previous Proxy Agent can't connect.
Stop the Docker container:
cd ~/fivetran-proxy-agent ./proxy-agent-manager.sh stopRestart your previous Proxy Agent using your original configuration file, which was not modified during migration.
If you started the previous Proxy Agent manually, run:
java -jar /path/to/proxyagent.jar /path/to/proxyagent.confIf the previous Proxy Agent was running as a
systemdservice, run:sudo systemctl start fivetran_proxy
Windows prerequisites
Before migrating, confirm the following on the Windows Server host that will run the Proxy Agent.
Fivetran supports Docker-based Proxy Agent deployment on Windows Server 2019, Windows Server 2022, and Windows Server 2025 hosts that run Windows containers. If you're currently running the Proxy Agent on another version of Windows, set up a supported Windows Server host or a Linux host with Docker before migrating.
- The Windows Containers feature is installed. To check, run
Get-WindowsFeature -Name Containersin an elevated PowerShell session. If it isn't installed, runInstall-WindowsFeature -Name Containers, then restart the host. - Docker CE is installed. To check, run
docker version. If you need to install Docker, follow the instructions in the Microsoft documentation. Docker CE 29.8.2 is tested; the Microsoft installation script installs the current release. - Docker is running Windows containers. To check, run
docker info --format '{{.OSType}}'. The command must returnwindows. - You run all migration steps in an elevated PowerShell session as a member of the local Administrators group. By default, only members of the local Administrators group can run Docker commands on Windows Server.
- Docker is enabled to start automatically when the host boots. To check, run
(Get-Service docker).StartType. If the command doesn't returnAutomatic, runSet-Service -Name docker -StartupType Automaticin an elevated PowerShell session.
Migrate an existing Proxy Agent on Windows
The migration steps depend on the contents of your existing configuration file. If it contains client_cert and client_private_key, follow Migrate using a current configuration on Windows. If it contains proxy_server_uri, follow Migrate using a legacy configuration on Windows. A version 1.1.0 or later installation with "enable_migration": false uses the legacy configuration format.
Do not run multiple Proxy Agent processes using the same configuration file or agent ID. Doing so can disconnect the agent and cause connection sync failures and other unexpected behavior.
Migrate using a current configuration on Windows
Use this procedure if your existing configuration file contains client_cert and client_private_key.
Stop the running Proxy Agent.
If the Proxy Agent runs as a Windows service (for example, installed with the EXE installer), find the service. Run the following command in an elevated PowerShell session:
Get-Service | Where-Object { $_.Name -like '*Fivetran*' -or $_.DisplayName -like '*Fivetran*' -or $_.DisplayName -like '*Proxy Agent*' }If the command returns the Proxy Agent service, stop it and prevent it from starting automatically. Replace
<service_name>with the value in theNamecolumn:Stop-Service -Name '<service_name>' Set-Service -Name '<service_name>' -StartupType ManualIf the command returns no service, or the service name doesn't match your installation, find the service in Services (
services.msc) and stop it there, or identify how the Proxy Agent was started and stop it using that method.If the Proxy Agent doesn't run as a Windows service (for example, it was started manually, by a script, or by Task Scheduler), stop it using the same method that started it. These commands don't apply to that installation type.
Before you continue, confirm that the previous Proxy Agent is no longer running. Running the previous Proxy Agent and the Docker-based Proxy Agent with the same configuration at the same time can disconnect the Proxy Agent. To check for a remaining Java process, run:
Get-CimInstance Win32_Process -Filter "Name = 'java.exe'" | Select-Object ProcessId, CommandLineIf a process with
proxyagentin its command line is listed, stop it before you continue.
Download the installer and run it with the path to your existing configuration file. Replace
C:\path\to\proxyagent.confwith the actual path to your configuration file. If you're not sure where the configuration file is located, check your original installation directory or the startup command you used when installing the Proxy Agent.Invoke-WebRequest -Uri https://raw.githubusercontent.com/fivetran/proxy_agent/main/install.ps1 -OutFile install.ps1 -UseBasicParsing Unblock-File .\install.ps1 $env:RUNTIME = 'docker' & .\install.ps1 C:\path\to\proxyagent.confThe installer copies your configuration to
$env:USERPROFILE\fivetran-proxy-agent\config\config.json, selects the Proxy Agent image that matches your Windows Server version, pulls the latest Docker image, and starts the Proxy Agent. The installer doesn't modify your original configuration file.Verify that the Proxy Agent is running:
& "$env:USERPROFILE\fivetran-proxy-agent\proxy-agent-manager.ps1" statusThe container should show as
(healthy). You can also confirm that the Proxy Agent is online in the Fivetran dashboard. Go to Account Settings > General > Connection Methods > Proxy Agents.
Proxy Agent logs are now written to $env:USERPROFILE\fivetran-proxy-agent\logs\. Logs from your previous Proxy Agent installation remain at their original location and aren't migrated.
Migrate using a legacy configuration on Windows
Use this procedure if your existing configuration file contains proxy_server_uri. This format is used by versions earlier than 1.1.0 and by version 1.1.0 or later installations with "enable_migration": false. The Docker installer uses the existing agent_id and auth_token to request a new configuration from Fivetran, so this migration doesn't depend on the legacy infrastructure.
Stop the running Proxy Agent.
If the Proxy Agent runs as a Windows service (for example, installed with the EXE installer), find the service. Run the following command in an elevated PowerShell session:
Get-Service | Where-Object { $_.Name -like '*Fivetran*' -or $_.DisplayName -like '*Fivetran*' -or $_.DisplayName -like '*Proxy Agent*' }If the command returns the Proxy Agent service, stop it and prevent it from starting automatically. Replace
<service_name>with the value in theNamecolumn:Stop-Service -Name '<service_name>' Set-Service -Name '<service_name>' -StartupType ManualIf the command returns no service, or the service name doesn't match your installation, find the service in Services (
services.msc) and stop it there, or identify how the Proxy Agent was started and stop it using that method.If the Proxy Agent doesn't run as a Windows service (for example, it was started manually, by a script, or by Task Scheduler), stop it using the same method that started it. These commands don't apply to that installation type.
Before you continue, confirm that the previous Proxy Agent is no longer running. Running the previous Proxy Agent and the Docker-based Proxy Agent with the same configuration at the same time can disconnect the Proxy Agent. To check for a remaining Java process, run:
Get-CimInstance Win32_Process -Filter "Name = 'java.exe'" | Select-Object ProcessId, CommandLineIf a process with
proxyagentin its command line is listed, stop it before you continue.
Download the installer and run it with the path to your existing configuration file. Replace
C:\path\to\proxyagent.confwith the actual path to your configuration file. If you're not sure where the configuration file is located, check your original installation directory or the startup command you used when installing the Proxy Agent.Invoke-WebRequest -Uri https://raw.githubusercontent.com/fivetran/proxy_agent/main/install.ps1 -OutFile install.ps1 -UseBasicParsing Unblock-File .\install.ps1 $env:RUNTIME = 'docker' & .\install.ps1 C:\path\to\proxyagent.confThe installer detects the legacy configuration format, uses your existing credentials to request a new configuration from Fivetran, and starts the Docker-based Proxy Agent. No manual changes to your configuration file are required.
Verify that the Proxy Agent is running:
& "$env:USERPROFILE\fivetran-proxy-agent\proxy-agent-manager.ps1" statusThe container should show as
(healthy). You can also confirm that the Proxy Agent is online in the Fivetran dashboard. Go to Account Settings > General > Connection Methods > Proxy Agents.
- The installer doesn't modify your original configuration file. It remains in its original location. If you need to roll back to the previous installation, use the original configuration file to restart your previous Proxy Agent. For more information, see Roll back to your previous Proxy Agent on Windows.
- After migration, the new configuration file is stored at
$env:USERPROFILE\fivetran-proxy-agent\config\config.json. Use this file for future reinstalls or certificate renewals. Do not use the original configuration file for those operations because it is in the legacy format and triggers a new configuration fetch each time.
Roll back to your previous Proxy Agent on Windows
Rolling back to a previous Proxy Agent whose configuration file contains proxy_server_uri works only in regions where the legacy infrastructure is still available. If the legacy infrastructure is unavailable, the previous Proxy Agent can't connect.
Stop the Docker container:
& "$env:USERPROFILE\fivetran-proxy-agent\proxy-agent-manager.ps1" stopRestart your previous Proxy Agent using your original configuration file, which was not modified during migration.
If you started the previous Proxy Agent manually, run:
& 'C:\path\to\java.exe' -jar C:\path\to\proxyagent.jar C:\path\to\proxyagent.confIf the previous Proxy Agent was running as a Windows service, run the following commands in an elevated PowerShell session. Replace
<service_name>with the name of the Proxy Agent service.Set-Service -Name '<service_name>' -StartupType Automatic Start-Service -Name '<service_name>'
Migrate a Proxy Agent installed using the High-Volume Agent installer
The Proxy Agent is no longer distributed with the High-Volume Agent (HVA) installer. If you installed the Proxy Agent using the HVA installer (EXE or ZIP file on Windows, or the HVA package on Linux), migrate it to the binary distribution:
Back up your existing Proxy Agent configuration file,
hvr_config/proxy/proxyagent.conf.Open the configuration file you backed up. If it contains the
proxy_server_urifield (Proxy Agent versions earlier than 1.1.0, or version 1.1.0 or later with"enable_migration": false), don't continue with these steps. To keep the existing agent ID, migrate the Proxy Agent to Docker by following Migrate a Proxy Agent to Docker. Don't remove the existing service, so that you can roll back if needed. If the Docker migration fails, create a new Proxy Agent using the Docker or binary distribution setup guide and assign it to the affected connections.Stop and remove the existing Proxy Agent service:
Windows: Open the Services console (
services.msc), locate the Fivetran Proxy Agent service, and note its service name. The EXE installer names the serviceFivetranProxyPrunsrv_<HASH>, and the ZIP installation names itFivetranProxy_<HASH>. Then run the following commands as an Administrator, replacing<service_name>with that name:sc stop <service_name> sc delete <service_name>Linux: Run the following commands to stop, disable, and remove the
fivetran_proxy.serviceservice:sudo systemctl stop fivetran_proxy.service sudo systemctl disable fivetran_proxy.service sudo rm /etc/systemd/system/fivetran_proxy.service sudo systemctl daemon-reloadDon't delete the
hvr_homeorhvr_configdirectories at this step. If the High-Volume Agent shares them, it still needs them. To clean up the old Proxy Agent files after migrating, see step 6.
If the High-Volume Agent is installed in the same directory, removing the Proxy Agent service doesn't affect it.
Install the binary distribution using the Install Proxy Agent instructions. In the step where you create
proxyagent.conf, use the contents of the configuration file you backed up instead of generating a new one.Do not run multiple Proxy Agent processes using the same configuration file or agent ID. Doing so can disconnect the agent and cause connection sync failures and other unexpected behavior.
Confirm that the Proxy Agent status is Live in your Fivetran dashboard.
(Optional) After the binary distribution is connected, delete the old Proxy Agent files. See Delete the old Proxy Agent files.
Migrate or replace a Proxy Agent that can no longer connect
If a legacy Proxy Agent can no longer connect, you can keep its agent ID by migrating it to Docker. This applies to a Proxy Agent running a version earlier than 1.1.0, or version 1.1.0 or later with "enable_migration": false in its configuration file (proxyagent.conf). The Docker installer uses the credentials in the existing configuration file to request a new configuration and doesn't depend on the legacy infrastructure. For instructions, see Migrate a Proxy Agent to Docker.
If the Docker migration fails, create a new Proxy Agent using the Docker or binary distribution setup guide and assign it to the affected connections.
If you're replacing a legacy Proxy Agent with a new Proxy Agent, your existing firewall rules may not be sufficient for the new Proxy Agent. Before you start the new Proxy Agent, confirm your firewall meets the current network requirements, including access to the Platform Gateway and the Proxy Server hostname for every Fivetran cloud processing region used by connections routed through this Proxy Agent. If your outbound network policy uses IP addresses resolved from our domains, you need to re-resolve and update them. We recommend using domain names rather than IP addresses in your outbound network policy.