Skip to content

Create on on-oci-vm.md #4468

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

Merged
merged 18 commits into from
Jul 8, 2021
Merged
Changes from 2 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
82 changes: 82 additions & 0 deletions docs/deploying-airbyte/on-oci-vm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
Install Airbyte on Oracle Cloud Infrastructure (OCI) VM
-------------------------------------------------------

Install Airbyte on Oracle Cloud Infrastructure VM running Oracle Linux 7

Create OCI Instance
-------------------
Go to OCI Console > Compute > Instances > Create Instance

<img width="1665" alt="OCIScreen1" src="https://github.com/airbytehq/airbyte/tree/master/docs/.gitbook/assets/OCIScreen1.png">

<img width="1668" alt="OCIScreen2" src="https://github.com/airbytehq/airbyte/tree/master/docs/.gitbook/assets/OCIScreen2.png">


Whitelist Port 8000 for a CIDR range in Security List of OCI VM Subnet
----------------------------------------------------------------------
Go to OCI Console > Networking > Virtual Cloud Network

Select the Subnet > Security List > Add Ingress Rules

<img width="1423" alt="OCIScreen3" src="https://github.com/airbytehq/airbyte/tree/master/docs/.gitbook/assets/OCIScreen3.png">


Login to the Instance/VM with the SSH key and 'opc' user
--------------------------------------------------------
chmod 600 private-key-file

ssh -i private-key-file opc@oci-private-instance-ip


Install docker
--------------

sudo yum update -y

sudo yum install -y docker

sudo service docker start

sudo usermod -a -G docker $USER


Install docker-compose
----------------------

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 Airbyte
----------------

mkdir airbyte && cd airbyte

wget https://raw.githubusercontent.com/airbytehq/airbyte/master/{.env,docker-compose.yaml}

which docker-compose

sudo /usr/local/bin/docker-compose up -d



Create SSH Tunnel to Login to the Instance
------------------------------------------

it is highly recommended to not have a Public IP for the Instance where you are running Airbyte)

From your local workstation

$ ssh -i private-key-file -L 8000:oci-private-instance-ip:8000 opc@bastion-host-public-ip

Access Airbyte
--------------

Open URL in Browser : https://localhost:8000/

<img width="1323" alt="OCIScreen4" src="https://github.com/airbytehq/airbyte/tree/master/docs/.gitbook/assets/OCIScreen4.png">

/* Please note Airbyte currently does not support SSL/TLS certificates */