Installation

Last updated

The Octopus Deploy server is available as a self-hosted instance that you install and manage on your infrastructure. This section walks you through installing the self-hosted Octopus Deploy server.

If you need to upgrade you existing self-hosted Octopus Deploy server, see our upgrading guide.

If you're interested Octopus Cloud, you can register for an Octopus Cloud Account.

Long-Term Support or Fast Lane

Octopus Deploy is shipped in both a long-term support (LTS) release and a fast lane release. The LTS release comes with six months support, and the fast lane release includes the latest features. To learn more about the LTS and fast lane releases see Long-term support.

Long-term Support Octopus Server (Slow lane)

The latest long-term support version of Octopus Deploy:

If you need an older version of a long-term support release, visit the previous downloads page to locate the specific version you need.

Fast Lane Octopus Server

The latest version of Octopus Deploy with the latest features:

Self-Hosted Octopus Deploy Server

When installed, the Octopus Deploy server:

  • Runs as a Windows service called OctopusDeploy.
  • Stores its data in anย SQL Server database. (SQL Server Express is an easy way of getting started.)
  • Has an embedded HTTP server which serves the Octopus REST API and the Octopus Web Portal that you will use to manage your deployments.

Before you install Octopus Deploy, review the software and hardware requirements, and make sure you have access to an instance of SQL Server Database that you can use with Octopus Deploy.

Install Octopus

  1. Start the Octopus Installer, and follow the onscreen prompts.
  2. Accept the Terms in the License Agreement, and either accept the default Destination Folder or choose a different location.
  3. Click Install, and give the app permission to make changes to your device.
  4. Click Finish to exit the installation wizard and launch the Getting started wizard to configure your Octopus Deploy Server.
  5. Click Get started... and either enter your details to start a free trial of Octopus Deploy or enter your license key and click Next.
  6. Accept the default Home Directory or enter a location of your choice.
  7. Decide whether to use a Local System Account or a Custom Domain Account.

Learn more about the permissions required for the Octopus Windows Service, using a Managed Service Account, or configuring authentication providers.

  1. On the Database page, click the dropdown arrow in the Server Name field to detect the SQL Server Database. Octopus will create the database for you which is recommended process; however, you can also create your own database.
  2. Enter a name for the database, and click Next and OK to create the database.

Be careful not to use the name of an existing database as the setup process will install Octopus into that pre-existing database. Learn more about the Octopus Database.

  1. Accept the default port and directory or enter your own.
  2. If youโ€™re using username and passwords stored in Octopus authentication mode, enter the username and password that will be used for the Octopus administrator. If you are using active directory, enter the active directory user details.
  3. Click Install.

When the installation has completed, click Finish to launch the Octopus Manager.

Octopus Manager

Before you launch the Octopus Web Portal, it's worth taking note of the other settings such as controlling the Octopus Windows Service, importing and exporting the data Octopus stores in the SQL server, and viewing the master key.

You can launch the Octopus Web Portal from the Octopus Manager, by clicking Open in Browser.

Save Your Master Key

Under the storage section, you will see a link to View Master Key.

When Octopus is installed, it generates a master key which is a random string that is used to encrypt sensitive data in your Octopus database. You will need the master key if you ever need to restore Octopus.

Make a copy of the master key and save it in a secure location.

Warning

If you don't have a copy of your master key and your hardware fails, you will not be able to recover the encrypted data from the database. Make a copy of the master key and save it in a secure location. Hopefully you will never need it, but you'll glad you have it if you ever do. Learn about Recovering After Losing Your Octopus Server and Master Key.

Launch the Octopus Web Portal

Click Open in browser to launch the Octopus Web Portal and log in using the authentication details you set up during the configuration process.

The Octopus Web Portal is where you'll manage your infrastructure, projects, deployment process, access the built-in repository, and manage your deployments and releases.

Troubleshooting

If you've had any problems with the installation, review the troubleshooting page.

Next Steps