﻿# First Deployment (2022.2 and below)

:::div{.hint}
**Other versions of this guide**

* **Octopus 2024.3** or newer [First deployment guide](/docs/getting-started/first-deployment)
* **Octopus 2022.3** or newer [First deployment guide](/docs/getting-started/first-deployment/legacy-guide/2024)
:::

This tutorial will help you complete your first deployment in Octopus Deploy.  It will walk through the steps to deploy a sample [hello world package](https://octopus.com/images/docs/hello-world.1.0.0.zip) to one or more of your servers.  The only prerequisite is a running Octopus Deploy instance, either in Octopus Cloud or self-hosted.  The tutorial assumes you have a brand new instance running and will walk through the rest of the setup, including configuring deployment targets.

This tutorial will take between **25-35 minutes** to complete, with each step taking between **2-5** minutes to complete.

1. [Configure environments](/docs/getting-started/first-deployment/legacy-guide/2022/configure-environments)
2. [Create a project](/docs/getting-started/first-deployment/legacy-guide/2022/create-projects)
3. [Define the deployment process](/docs/getting-started/first-deployment/legacy-guide/2022/define-the-deployment-process)
4. [Create a release and deploy it](/docs/getting-started/first-deployment/legacy-guide/2022/create-and-deploy-a-release)
5. [Define and use variables](/docs/getting-started/first-deployment/define-and-use-variables)
6. [Approvals with manual interventions](/docs/getting-started/first-deployment/approvals-with-manual-interventions)
7. [Add deployment targets](/docs/getting-started/first-deployment/add-deployment-targets)
8. [Deploy a package to the deployment targets](/docs/getting-started/first-deployment/deploy-a-package)

Before starting the tutorial, if you haven't set up an Octopus Deploy instance, please do so by picking from one of the following options:

- [Octopus Cloud](https://octopus.com/free-signup) -> we host the Octopus Deploy instance for you, it connects to your servers.
- [Self-hosted on a Windows Server](https://octopus.com/free-signup) -> you host it on your infrastructure by [downloading our MSI](https://octopus.com/download) and installing it onto a Windows Server with a SQL Server backend.  Learn more about [our installation requirements](/docs/installation/requirements).
- [Self-hosted as a Docker container](https://octopus.com/blog/introducing-linux-docker-image) -> you run Octopus Deploy in a Docker container.  You will still need a [free license](https://octopus.com/free-signup).

When you have an instance running, go to the [configure environments page](/docs/getting-started/first-deployment/legacy-guide/2022/configure-environments) to get started.

**Further Reading**

This tutorial will deploy a sample package to your servers.  If you prefer to skip that and start configuring Octopus Deploy for your application right away, please see:

- [Customizable End-to-End CI/CD pipeline tutorial](https://octopus.com/docs/guides)
- [Deployment Examples](/docs/deployments)
