Installing the Tentacle VM Extension via the Azure Portal

Last updated

After creating a virtual machine on Azure using the management portal, browse to the virtual machine, then click on Extensions:

Azure VM Properties - Extensions Tab

Click Add to add a new extension.

Azure VM Properties - Add extensions button

Select the Octopus Deploy Tentacle Agent extension, and click Create.

Add Extension - Create Octopus Deploy Tentacle Agent

Fill in the settings, and click OK.

 Octopus Deploy Tentacle Agent properties

A deployment will be initiated which adds the extension to your virtual machine.


The settings for the extension are:

Octopus Server URL: URL to your Octopus Deploy server. You'll need your own Octopus server (possibly also running on Azure), and you should consider using HTTPS. The extension will use the Octopus REST API against this URL to register the machine.

API Key: Your API key. This key will only be used when registering the machine with the Octopus server; it isn't used for subsequent communication.

Environments: The name of the environment to add the machine to. You can specify more than one by using commas; for example: UAT1,UAT2

Roles: The roles to give to the machine. Again, separate them using commas for more than one, for example: web-server,app-server

Communication Mode: How the Tentacle will communicate with the server - it will either use Polling to reach out to the server, or Listening to wait for connections from the server.

Port: The port on which the server should contact the Tentacle (if Tentacle is set to Listen), or the port on which the Tentacle should contact the server (if in Polling mode). in Polling mode, the default value is 10943. In Listening mode, the The default value is 10933.

Public Hostname Configuration: When in Listening mode, you can specify how the Server should address the Tentacle. You can specify Public IP to use the public IP address (as returned from, FQDN to use the fully qualified domain name (useful for Active Directory networks), ComputerName to use the local hostname, or Custom to specify your own value.

Custom Public Hostname: When in Listening mode, and the Public Hostname Configuration is set to Custom, you can supply the dns name/ip address the Server should use.

After entering the extension settings, click OK, and the extension will be installed.

After a few minutes, the machine should appear in the environments tab of your Octopus Deploy server. If it doesn't, please read the Diagnosing issues section.

If you need the ability to customize more of the installation, the CLI, PowerShell and ARM Template methods expose more options than the Azure Portal. For even more customization, you might want to consider using the Azure Desired State Configuration (DSC) extension in conjunction with the OctopusDSC resource.