The Octopus Server is the deployment automation server where you define your deployment processes and runbooks and manage the releases of your software.
The Octopus Server includes the Octopus Rest API and the Octopus Web Portal.
You can use the Octopus REST API or the Octopus Web Portal to design your deployment processes and your releases, connect to the servers, services, and accounts where your software will be deployed, and to use runbooks to automate routine maintenance and emergency operations tasks like infrastructure provisioning, database management, and website failover and restoration.
Self-hosted Octopus Server
When installed, the self-hosted Octopus Server:
- As a Windows Service called OctopusDeploy, installed via an MSI.
- In a Linux container.
- Stores its data in an SQL Server Database. (SQL Server Express is an easy way of getting started.)
- Includes an embedded HTTP server which serves the Octopus REST API and the Octopus Web Portal that you will use to manage your infrastructure, deployments, runbooks, and coordinate your releases.
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 as a Windows Service
- Download the Octopus installer.
- Start the Octopus Installer, click Next, accept the Terms in the License Agreement and click Next.
- Accept the default Destination Folder or choose a different location and click Next.
- Click Install, and give the app permission to make changes to your device.
- Click Finish to exit the installation wizard and launch the Getting started wizard to configure your Octopus Server.
- Click Get started... and either enter your details to start a free trial of Octopus Deploy or enter your license key and click Next.
- Accept the default Home Directory or enter a location of your choice and click Next.
- Decide whether to use a Local System Account or a Custom Domain Account.
Learn more about the permissions required for the Octopus Windows Service or using a Managed Service Account.
- On the Database page, click the drop-down arrow in the Server Name field to detect the SQL Server Database. Octopus will create the database for you which is the recommended process; however, you can also create your own database.
- 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.
- Accept the default port and directory or enter your own and click Next.
- 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.
You can configure additional Authentication Providers for the Octopus Server after the server has been installed.
- Click Install.
When the installation has completed, click Finish to launch the 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.
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 be glad you have it if you ever do. Learn about Recovering After Losing Your Octopus Server and Master Key.
Run Octopus Server in a Container
Running Octopus Server inside a container lets you avoid installing Octopus directly on top of your infrastructure and makes getting up and running with Octopus as simple as a one line command. Upgrading to the latest version of Octopus is just a matter of running a new container with the new image version.
We are confident in the Octopus Server Linux Container's reliability and performance. Octopus Cloud runs the Octopus Server Linux Container in AKS clusters in Azure. But to use the Octopus Server Linux Container in Octopus Cloud, we had to make some design decisions and level up our knowledge about Docker concepts.
We recommend the use of the Octopus Server Linux Container if you are okay with all of these conditions:
- You are familiar with Docker concepts, specifically around debugging containers, volume mounting, and networking.
- You are comfortable with one of the underlying hosting technologies for Docker containers; Kubernetes, ACS, ECS, AKS, EKS, or Docker itself.
- You understand Octopus Deploy is a stateful, not a stateless application, requiring additional monitoring.
linux/amd64 Docker images for each Octopus Server release and they are available on DockerHub.
This section includes information about different options to run the Octopus Server Linux Container.
- Octopus Server Linux Container
- Migrating to the Octopus Server Linux Container
- Octopus Server Container in Kubernetes
- Octopus Server Container with Docker Compose
- Octopus Server Container with systemd
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.
Releases of Octopus Deploy Server
From Octopus 2020.6, we ship a new release of Octopus Deploy Server once a quarter. Each release receives six months support, including critical patches. The releases are rolled out to Octopus Cloud instances before being made available to download for self-hosted instances of the Octopus Server.
We highly recommend using the latest release for your self-hosted installation of Octopus. Please see the Octopus.com/downloads page to download the latest version of Octopus Deploy.
For more details about the changes to the way we release Octopus, check out the blog post Octopus releases and Long Term Support (LTS).
- Troubleshooting the Octopus installation
- Configure your infrastructure
- Upgrading guide
- Automating Octopus installation
Need support? We're here to help.