We were looking into the possibility of having our build agents in the cloud and the master build server still reside as a physical machine in our office.
I was wondering what the best practices were for this, as I was a bit confused how communication between the two occur.
Some questions I had were:
- How does communication between the ec2 build agents and the local master server work? If ec2 instances are private addresses only how does it communicate? Do you need to use elastic IP's for each of the ec2 build agents so an address can be NAT'd? Do you need to establish a vpn tunnel between the local site and the ec2 build agents?
- Can agents be started up automatically when there is a build queue and shut down after the build is done?
I read over - http://www.jetbrains.com/teamcity/features/amazon_ec2.html a bit, but from the ec2 side things don't make much sense to me. Has anyone run into this situation, and found a working solution?