Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Octopus Deploy and VPN

Does anyone know if its possible to deploy to a server in a VPN using Octopus Deploy? If the tentacle is on the server in the VPN is there a way Octopus Deploy to connect/disconnect to a VPN?

Cheers

UPDATE

We think we've found a work around by:

  1. Installing a tentacle on the same server as our Octopus is running on, then adding a first step that executes a Powershell script to create the VPN connection.
  2. The next step is then deploying the NuGet package to the tentacle server within the VPN.
  3. The final step is another Powershell script executed on the same tentacle server as the first step to close the connection

Early tests seem to show this works!

Kudos to my colleague Rachel for coming up with it!

like image 529
Neil Avatar asked Jan 10 '13 13:01

Neil


People also ask

Is Octopus Deploy secure?

The Octopus Server will be secure by default, however you can enable certain advanced HTTP security headers, like HSTS if you desire. Learn about HTTP security headers.

What is Octopus Deploy used for?

Octopus Deploy is an automated deployment server that makes it easy to automate deployment of ASP.NET web applications, Java applications, NodeJS application and custom scripts to multiple environments.

What ports does Octopus Deploy use?

The Octopus Server hosts an HTTP API and the Octopus Web Portal which you can configure to use standard TCP ports (80/443) or non-standard ports. Your Octopus Server can also be configured to accept inbound requests from Polling Tentacles over a custom TCP port, or using WebSockets.

How does Octopus deployment work?

A release in Octopus, is a snapshot of the packaged software, variables, and the deployment process. A release is deployed to the environments defined in the deployment process. Typically, releases are deployed to one environment and then promoted to the next environment when they are successful.


1 Answers

There's no way to do this at the moment short of establishing the VPN connection yourself and then triggering the Octopus deployment using Octo.exe, followed by disconnecting.

In future it would be nice to have support for opening a VPN connection within Octopus. Is your VPN session established using the Windows remote access server components (i.e., would a toolkit like http://dotras.codeplex.com/ be able to open the connection?) or is it through some custom software?

like image 79
Paul Stovell Avatar answered Oct 13 '22 20:10

Paul Stovell