Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Digital Ocean deployment #7192

Merged
merged 4 commits into from
Nov 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/.gitbook/assets/dg_choose_ditribution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/dg_console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/dg_droplet_creating.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.gitbook/assets/dg_droplet_type.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* [On GCP \(Compute Engine\)](deploying-airbyte/on-gcp-compute-engine.md)
* [On Kubernetes \(Beta\)](deploying-airbyte/on-kubernetes.md)
* [On Oracle Cloud Infrastructure VM](deploying-airbyte/on-oci-vm.md)
* [On Digital Ocean Droplet](deploying-airbyte/on-digitalocean-droplet.md)
* [Operator Guides](operator-guides/README.md)
* [Upgrading Airbyte](operator-guides/upgrading-airbyte.md)
* [Resetting Your Data](operator-guides/reset.md)
Expand Down
87 changes: 87 additions & 0 deletions docs/deploying-airbyte/on-digitalocean-droplet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# On Digital Ocean \(Droplet\)

{% hint style="info" %}
The instructions have been tested on `Digital Ocean Droplet ($5)`
{% endhint %}

## Create a new droplet

* Launch a new droplet

![](../.gitbook/assets/digitalocean_launch_droplet.png)

* Select image distribution

![](../.gitbook/assets/dg_choose_ditribution.png)

* Select droplet type
* For testing out Airbyte, a `$20/month` droplet is likely sufficient.
* For long-running Airbyte installations, we recommend a `$40/month` instance.

![](../.gitbook/assets/dg_droplet_type.png)

* `Region`
* Generally, choose a datacenter close to you.
* `Authentication`
* Password
* `Create Droplet`

![](../.gitbook/assets/dg_droplet_creating.png)

* Wait for the droplet to enter the `Running` state.

## Install environment

{% hint style="info" %}
Note: The following commands will be entered either on your local terminal or in your ssh session on the instance terminal. The comments above each command block will indicate where to enter the commands.
{% endhint %}

* Connect to your instance

* `Click on Console`

![](../.gitbook/assets/dg_console.png)

* Install `docker`

```bash
# In your ssh session on the instance terminal
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt install docker-ce
sudo systemctl status docker
sudo usermod -aG docker ${USER}
su - ${USER}
```

* Install `docker-compose`

```bash
# In your ssh session on the instance terminal
sudo wget https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m) -O /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
```
## Install & start Airbyte

* Connect to your instance

* `Click on Console`

![](../.gitbook/assets/dg_console.png)

* Install Airbyte

```bash
# In your ssh session on the instance terminal
mkdir airbyte && cd airbyte
wget https://raw.githubusercontent.com/airbytehq/airbyte/master/{.env,docker-compose.yaml}
docker-compose up -d
```

## Troubleshooting

If you encounter any issues, just connect to our [Slack](https://slack.airbyte.io). Our community will help! We also have a [FAQ](../troubleshooting/on-deploying.md) section in our docs for common problems.