This documentation is for Octopus Deploy Version 3.13. View other versions

Deploying to Azure

Last updated

Octopus Deploy can help you perform repeatable and controlled deployments of your applications into Azure.

What kind of applications can I deploy to Azure?

The short answer is: anything and everything! As long as you can script the deployment, Octopus can automate your deployments into a Microsoft Azure Data Center.

We provide built-in first-class support for the most common application services in Microsoft Azure. For everything else we provide a special step for running PowerShell scripts against Azure.

Where do Azure Steps execute?
All Azure Steps are executed on the Octopus Server, so no Targets/Tentacles are needed for them. If you would like the ability to delegate Azure deployments to a Tentacle, there is a UserVoice suggestion where you can vote and have your say on this kind of feature.

Azure Resource Groups

Octopus Deploy provides first-class support for managing Resource Groups in Microsoft Azure, including support for Resource Group Templates and their parameters, even using secrets from Azure Key Vault. Follow our guide on deploying applications using Azure Resource Group Templates.

Azure Web Apps

Octopus Deploy provides first-class support for deploying web applications and web jobs to the Azure App Service, including the ability to use deployment slots. Follow our guide onĀ deploying Azure Web Apps .

Azure Cloud Services

Octopus Deploy provides first-class support for deploying cloud services into Microsoft Azure including the ability to use deployment slots and VIP swaps. Follow our guide on deploying Azure Cloud Services.

Azure PowerShell Scripts

Octopus Deploy provides a convenient step for executing PowerShell scripts using the Azure cmdlets, pre-authenticated with Azure using either a Service Principal Account or Management Certificate Account. You can use these scripts to provision Azure services that are required for your applications, or to deploy an application that doesn't have built-in steps in Octopus Deploy. Follow our guide on running Azure PowerShell scripts.

Bring your own Azure PowerShell cmdlets
Octopus Deploy ships with a version of the Azure PowerShell cmdlets so you can deploy applications as soon as you install Octopus Deploy. Microsoft Azure is changing very quickly, introducing more application services and PowerShell cmdlets frequently. You can use the built-in cmdlets if they cover everything you need, or you can configure Octopus Deploy to use your own custom version of the Azure PowerShell cmdlets.

Deploying to Azure via a firewall

If you need to add firewall exclusions to a whitelist:

  • Figure out which Azure Data Centers you will be targeting
  • Figure out which Azure services you will be targeting in those Data Centers
  • Configure a whitelist from the Octopus Server (where the deployments are performed) to the appropriate IP Address Ranges

Download the latest list of IP Address Ranges from the Microsoft Download Center (updated weekly).

In This Section

The rest of this section covers these topics in some more detail, and explains how to implement them.