Why do agents need to talk to the server

I am curious about this requirement for running extra agants: "An agent should be able to open HTTP connections to the server (to the same URL as server web UI)". As I understood it, when you run VCS Mode "Automatically on server", the server performs the checkout of the sources and sends it over to the agent.

In a scenario, where you host your VCS and your TC server on your own subnet, and want to run extra agents in the cloud (EC2), you need to make the server accessible from the outside (less secure). Why does the agent need to reach the server, is it because of build results, artifacts etc.? Couldn't that be handled by the server polling the agent?

1 comment
Comment actions Permalink

Hi,

You are right, now this connection is used to transfer artifacts, build logs, etc. We are not going to eliminate agent>server connection. Instead we have a feature request to implement secure server to agent communication. Please watch and vote for it.
As for now it is possible to setup a server to be available via the HTTPS protocol. For more details please read about Server-Agent data transfer.
As current workaround you can configure VPN connections between agent and server machines.

0

Please sign in to leave a comment.