Deploying to Agents on machines behind a VPN?

Hi guys,

I'm very interested in moving our CI server over to use AppVeyor instead, it looks to be excellent value. My only concern is that several of our client projects require use to deploy to intranet machines that are only accessible via VPN. Cisco VPN Client and Dell SonicWall NetExtender are the two we need to use. Our current CI server has these VPN clients installed and we control them in our deployment cycle via PowerShell.

Does AppVeyor offer any kind of solution for this scenario?

Cheers,
Seb

  1. Hi Sebastian,

    Absolutely, AppVeyor Agent works in "listening" mode and require only outbound internet connection to https://ci.appveyor.com. You don't have to configure any inbound ports on your firewall or setup VPN in order to use AppVeyor Deployment Agent.

  2. So do I understand correctly that the Agent polls ci.appveyor.com? Out of curiosity, how often does the agent poll the server? Is there anywhere I can go to get more technical details on how the Agent works?

  3. Well, it's not polling, but Web Sockets, SignalR more specifically. It's constantly connected to the cloud.

  4. Oh wow, fancy. Okay, cool - thanks :)

  5. Hi Feodor,

    Sorry to open a closed topic again, but I just thought of a different scenario that normally requires a VPN connection for deployment. In the case that a project isn't publicly exposed over the internet, i.e. an intranet only available through a VPN, the HTTP port is closed to web... is there any solution for this scenario?

  6. Does that intranet environment have outbound connection to the internet?

  7. No its completely internal I'm afraid. It's actually fairly common for us
    in some corporate projects.

  8. Then I guess you should run VPN client on build worker to access your network and this VPN client must be scriptable.

  9. Is this something I'd have to script an install for in every build then,
    since build workers are transient?
    Or is these are any way I can save a build worker image with the clients
    pre-installed?

  10. Hi, would you be able to remove my signature from my previous comment?

  11. It depends on few factors:

    1. If it's easier to script and adds few minutes overhead to the build then I think it's OK to be part of every build.

    2. If it's hard to script or takes long to install, but the software is pretty standard we could install it to build worker image.

  12. Hi Feodor,

    Jumping back onto this issue, I've been playing with getting Cisco VPN Client working on these workers. So far, I've developed a chocolatey package that installs the client from MSI, which seems to work ok - but it takes a while to install.

    In the interest of keeping builds speedy, what are the odds that the 64-bit Cisco VPN Client v5.0.07.0440 (which is the only version I know of that works with Server 2012) could be installed on the build images?

    I believe there are some licensing arrangements around this VPN client. Not sure how AppVeyor handles that? Could it be an 'if you use it, you declare to have licensed it' kind of arrangement?

  13. Well, if you are installing with Agent it's actually executed from AppVeyor Azure workers (not build workers) which you don't have access to.

  14. Hi, actually I'm talking about installing the Cisco VPN client on the build worker itself, so that it can deploy to a host behind VPN... It's IIS6 so the Appveyor agent isn't compatible and we have to use msdeploy etc..

  15. Seems like these clients are really specific for your own application. Check if they can be deployed with XCOPY - that could be much faster.

  16. Hi Feodor,

    Sorry for the late reply with this, am back on the case again.

    If your brain's still in the headspace, can you elaborate on what you had in mind using XCOPY? I don't quite follow you...

  17. Yeah, I mean if the client could be deployed by simply unzipping its files during the build, without running MSI or EXE.

  18. Ah, yeah I don't think that's possible because the installer has to set up
    a new network adapter etc.

  19. Time heals all wounds, apparently... The server's being upgraded so this
    won't be a requirement in a few weeks time! Thanks for your attention on
    this matter :) It was a good exercise in playing with chocolatey packages
    at least!

  20. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions