> For the complete documentation index, see [llms.txt](https://bastion.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bastion.gitbook.io/docs/install/install-on-digitalocean.md).

# Install on DigitalOcean

Follow this guide to install Bastion on DigitalOcean and keep it running for 24 x 7.

{% hint style="info" %}
Get **$100 FREE** to start on **DigitalOcean**, if you signup using this link: <https://m.do.co/c/0ee6cb9c7ee0>
{% endhint %}

## Create a Droplet

In your **DigitalOcean** dashboard, create a new **Droplet** (VPS) where you'll install **Bastion**.

![](https://2090128309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKg6aQ3L4kyoODrZlxA%2F-M0fyk9Z9VqPotmhKm_N%2F-M0g1XEdF0hC4HPMLHIs%2FScreenshot%20from%202020-02-22%2014-03-48.png?alt=media\&token=89675f59-825a-42d3-aa5f-4c550691778b)

Choose a **Linux Distribution** for your server. We recommend **Debian**.

![](https://2090128309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKg6aQ3L4kyoODrZlxA%2F-M0fyk9Z9VqPotmhKm_N%2F-M0g3c2DkdHGyTFIaSkP%2FScreenshot%20from%202020-02-22%2014-14-29.png?alt=media\&token=818e6bb9-ca22-4004-ab2c-5e94498dbbcc)

Choose a **Pricing Plan** for your Droplet, based on your usage. If you only plan to run Bastion in your server, even the most standard plan is more than enough for your usage. But if you plan to do other stuff, choose the plan according to your needs.

![](https://2090128309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKg6aQ3L4kyoODrZlxA%2F-M0fyk9Z9VqPotmhKm_N%2F-M0g4OfDfmcUYzBkgz1d%2FScreenshot%20from%202020-02-22%2014-16-01.png?alt=media\&token=d7e792b2-aab4-43a3-884c-e2b86a0aebeb)

Choose a **Datacenter Region** closer to your **Discord Server's Voice Region** for better latency.

![](https://2090128309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKg6aQ3L4kyoODrZlxA%2F-M0fyk9Z9VqPotmhKm_N%2F-M0g5H-A6m3bgLAlneeU%2FScreenshot%20from%202020-02-22%2014-19-30.png?alt=media\&token=4b2a73bb-a2db-42cd-b0b2-cd036d795e8c)

Configure any additional settings based on your requirements and then create the Droplet so we can start setting up Bastion in it.

![](https://2090128309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKg6aQ3L4kyoODrZlxA%2F-M0fyk9Z9VqPotmhKm_N%2F-M0g5kyqd4WWzRq_jnfW%2FScreenshot%20from%202020-02-22%2014-23-17.png?alt=media\&token=e10ef6c0-0a9b-48a6-b0da-265a77764753)

## Initial Server Setup

Once you've created your DigitalOcean Droplet, follow the [Initial Server Setup](https://www.digitalocean.com/community/tutorials/initial-server-setup-with-debian-10) guide for your Linux Distribution to setup the server for the first time.

![](https://2090128309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKg6aQ3L4kyoODrZlxA%2F-M0fyk9Z9VqPotmhKm_N%2F-M0g6c3i8LuYFu3IXkW_%2FScreenshot%20from%202020-02-22%2014-27-59.png?alt=media\&token=34eb59ee-88c5-4052-ad9a-79667f75cdcf)

## Install Bastion

Once you've setup your server for the first time, login to your server, preferrably as a non-root sudo-enabled user and then follow the **Bastion Linux Install** guide.

{% content-ref url="/pages/-LN45U8I3mTSomDt\_al4" %}
[Install on Linux](/docs/install/install-on-linux.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://bastion.gitbook.io/docs/install/install-on-digitalocean.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
