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

Run Airbyte on EKS #75

Closed
fatchat opened this issue Apr 8, 2024 · 3 comments
Closed

Run Airbyte on EKS #75

fatchat opened this issue Apr 8, 2024 · 3 comments
Assignees

Comments

@fatchat
Copy link

fatchat commented Apr 8, 2024

https://docs.airbyte.com/deploying-airbyte/on-kubernetes-via-helm

Set up a new Airbyte machine to experiment on
We want workers to run on EKS
The Airbyte API should work the same

@fatchat
Copy link
Author

fatchat commented Apr 8, 2024

Plural is a tool called which can centrally manage an AWS Kubernetes cluster

  1. Install the command-line EKS manager eksctl

  2. Create an IAM role having the following permissions

AWS Service Access Level
CloudFormation Full Access
EC2 Full: Tagging ___ Limited: List, Read, Write
EC2 Auto Scaling Limited: List, Write
EKS Full Access
IAM Limited: List, Read, Write, Permissions Management
Systems Manager Limited: List, Read
  1. Set up eksctl to use this role

  2. Run

eksctl create cluster \
    --name=airbyte \
    --nodes-max 4 \
    --node-volume-size=50 \
    --node-volume-type=io1 \
    --tags tag=airbyte-eks \
    --ssh-access \
    --ssh-public-key=secrets/ddp.pub \
    --region=ap-south-1 

This takes a loooooong time

  1. Install kubectl

  2. Run

eksctl utils write-kubeconfig --cluster=<CLUSTER NAME>

kubectl config get-contexts
kubectl config use-context <eks context>
  1. Install helm
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
  1. helm repo add airbyte https://airbytehq.github.io/helm-charts

  2. helm repo update

@fatchat fatchat self-assigned this Apr 8, 2024
@fatchat
Copy link
Author

fatchat commented Apr 8, 2024

  1. helm install april-9 airbyte/airbyte. This command needs to be run with --values so we can pass RDS and GSM parameters in

@fatchat
Copy link
Author

fatchat commented Apr 9, 2024

helm install did not complete successfully

the pod april-9-airbyte-bootloader's logs show that airbyte-db never started

kubectl exec airbyte-db-0 -- bash tells us that pod airbyte-db-0 does not have a host assigned

@fatchat fatchat closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant