We're currently looking at moving our .NET code from TFS source control to Git by using Jira and Stash.
We also like to have a good continous integration and deployment server. So for that reason we are also looking at Bamboo.
All the features seem to be fine. The only thing I don't understand is the Agents part. There are two flavours, Local Agents
and Remote Agents
.
I understand that Local Agents
are installed on the same machine as where Bamboo will be installed. And Remote Agents
are installed on other machines. But what I don't really understand is the point of it. Why would you not simply install 5 or so agents locally? Why would you want to do that on a remote machine?
Because of that I'm also questioning if a Local Agent
can publish my .NET
code to any other remote server?
Is that possible with a Local Agent
to publish our code to a remote machine? Or is that where Remote Agents must be used for?
As explained in this link, the main difference between local and remote agents is where they run:
To help decide which one you'll need, try to think about how many agents you're going to have - initially, but also think longer term.
If you're only ever going to have one agent, you can probably do that with a local agent. If you expect to keep growing the number of agents over time, you might want to plan for using remote agents.
A couple of arguments for using remote agents are:
With regards to your network questions: Sure, you can deploy from a remote agent or a local agent to any other server. You'll need to establish network access between the servers, as long as you have that, you deploy pretty freely. We are using SSH/SCP/SFTP in most cases, but also HTTPS for deploying using web services (e.g. Tomcat or JBoss).
In general, you'll have more freedom and flexibility with remote agents. The downside is the slightly more complex installation/configuration. If you're intending to grow beyond one or two build agents, it's usually worth the effort.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With