Deploying your code or website to a server hosted on <a href="https://www.linode.com/" target="_blank">Akamai Cloud (formerly Linode)</a> is straightforward with DeployHQ.

Linode was acquired by Akamai in 2022 and is now part of **Akamai Connected Cloud**. The Cloud Manager panel, SSH access, and server management remain largely the same — only the branding and documentation URLs have changed.

Firstly, you'll need to set up your DeployHQ project, then connect to your Akamai Cloud compute instance.

## Setting up your project

Head to the **Projects** screen in DeployHQ, then click the **New Project** button to get started.

You'll be prompted to enter a name for your project, then select where your repository is hosted.

{screenshot: 9}

Next, click **Create project** and you'll be taken to a screen where you can log in with your repository hosting account to authorise access and then choose your repository.

* [Adding a Bitbucket repository](Article: #17)
* [Adding a Codebase repository](Article: #19)
* [Adding a GitHub repository](Article: #21)
* [Adding a GitLab repository](Article: #23)
* [Adding a repository manually](Article: #25)

## Setting up your Akamai Cloud server

Once you've configured your repository, you'll need to connect to your compute instance.

As a prerequisite, make sure your instance's firewall allows connections from DeployHQ's IP addresses. You can configure firewall rules in the <a href="https://cloud.linode.com/" target="_blank">Cloud Manager</a> under your instance's **Network** tab, or using Akamai's Cloud Firewall feature. For the list of IPs to allow, refer to <a href="https://www.deployhq.com/support/faq/our-ip-ranges" target="_blank">our IP ranges article</a>.

Once done, head to **Servers & Groups** in DeployHQ, and click the **New Server** button. If you've just added your repository, you will have been taken to this page automatically.

Start by entering a name and choosing **SSH/SFTP** as the protocol:

{screenshot: 557}

Before adding your server details in DeployHQ, you'll want to add DeployHQ's public SSH key to your compute instance. You can follow <a href="https://techdocs.akamai.com/cloud-computing/docs/set-up-and-secure-a-compute-instance#create-and-upload-your-ssh-key" target="_blank">Akamai's SSH key guide</a> to set this up. This allows DeployHQ to connect without a password.

{screenshot: 594}

Next, enter your connection details in DeployHQ:

- **Hostname**: Your instance's IP address, found in the <a href="https://cloud.linode.com/" target="_blank">Cloud Manager</a> under your instance's **Network** tab
- **Username**: `root` (or the non-root user you created when securing your instance)
- **Port**: `22` (default)

{screenshot: 611}

Then set the **Deployment path** — the directory on your server where files should be placed. Common paths include:

- `/var/www/html/` for a standard web server
- `/var/www/yourdomain.com/public/` if you've set up virtual hosts
- Your WordPress theme directory if deploying a theme

Under **Deployment options**, you can enable automatic deployments and optionally set a **Deployment subdirectory** if you only want to deploy files from a certain folder in your repository.

{screenshot: 423}

Click **Create Server** to save, then proceed to your first deployment.

## Run your first deployment

By default, DeployHQ will upload your entire repository on the first deployment, since there's no previously deployed commit to compare against.

If your files are already on the server and up to date with the latest commit, you can skip that initial upload:

* [Don't deploy your whole repository on the first deployment](Article: #129)

Otherwise, follow this guide to start your first deployment — after the first run, only changed files will be uploaded:

* [Running your first deployment](Article: #43)

That's it! You've now set up automated deployments to your Akamai Cloud (Linode) compute instance.

## Further reading

* Compile assets with the [Build pipeline](Article: #301)
* Run commands on your server with [SSH commands](Article: #57)
* Prevent certain files from uploading using [Excluded files](https://www.deployhq.com/support/excluded-files)
* Keep sensitive config out of your repository using [Config files](Article: #47)
* Notify your team and integrate with other services via [Integrations](Article: #327)

----------

_Need help with your deployment? Check out our [documentation](https://www.deployhq.com/support) or [contact our support team](https://www.deployhq.com/contact) for assistance._