Octopus Deploy Documentation

Deployment targets

Last updated

With Octopus Deploy, you can deploy software to Windows servers, Linux servers, Microsoft Azure, AWS, Kubernetes clusters, cloud regions, or an offline package drop. Regardless of where you're deploying your software, these machines and services are known as your deployment targets.

You can manage your deployment targets by navigating to Infrastructure ➜ Deployment Targets in the Octopus Web Portal:

The deployment targets area of Octopus Deploy

From the Deployment Targets tab you can add new deployment targets, disable or delete deployment targets, check on the status of your targets, and run health checks.

Adding deployment targets

Deployment targets are added in different ways, depending on the type of target you are adding and how the target will communicate with the Octopus Server. For instructions, see:

Target roles

Before you can deploy software to your deployment targets, you need to tag them with target roles. This ensures you deploy the right software to the right deployment targets. Typical target roles include:

  • web-server
  • app-server
  • db-server

Using target roles means the infrastructure in each of your environments doesn't need to be identical and the deployment process will know which deployment targets to deploy your software to.

Deployment targets can have more than one role, and more than one deployment target can have the same role, but every deployment target must have at least one role.

Add target roles

Roles are created and saved in the database as soon as you assign them to a deployment target.

Decide on the naming convention you will use before creating your first target role as it's not possible to change the case after the role has been created, for instance, all lowercase to camel case.

  1. Register a deployment target or click on an already registered deployment target and go to Settings.
  2. In the Target Roles field, enter the target role you'd like to use (no spaces).
  3. Save the target settings.

The role has been created and assigned to the deployment target and can be added to other deployment targets.

You can check all the roles assigned to your deployment targets from the Infrastructure tab.

Dynamic infrastructure

You can use scripts to create Azure Service Principal Accounts, Azure Web Apps, Azure Service Fabric, Azure Cloud Services and Kubernetes targets.

Learn about Managing resources with scripts.

Learn more

Need support? We're here to help.