<@U04S8PLJWMT> I am trying to setup a local airbyt...
# ask-ai
v
@kapa.ai I am trying to setup a local airbyte installation on a single server and setup an SSL secured ingress for it. I cannot find any useful documentation related to this. Can anybody point me in the right direction?
k
To set up a local Airbyte installation on a single server with an SSL-secured ingress, you should: 1. Deploy Airbyte: - Use Helm to install Airbyte on your Kubernetes cluster. For example:
Copy code
helm install airbyte airbyte/airbyte \        --namespace airbyte \        --values ./values.yaml
- Make sure you have filled out your
values.yaml
file appropriately for your configuration and secrets. [See installation guide](https://docs.airbyte.com/platform/deploying-airbyte#5-installing-airbyte) 2. Set Up Ingress with SSL: - You need to manually attach an ingress configuration. The documentation provides an example for NGINX ingress. - To enable SSL, you should deploy Airbyte behind a reverse proxy (like NGINX) and handle SSL termination there. Here’s a sample NGINX reverse proxy config for SSL:
Copy code
nginx      server {        listen 443 ssl;        server_name airbyte.<your-domain>.com;        client_max_body_size 200M;  # required for Airbyte API        ssl_certificate <path-to-your-cert>.crt.pem;        ssl_certificate_key <path-to-your-key>.key.pem;         location / {          proxy_pass http://127.0.0.1:8000;          proxy_set_header Cookie $http_cookie;          proxy_read_timeout 3600;        }      }
- You can also use a Kubernetes Ingress resource with an NGINX controller and configure it for SSL termination. [See security documentation](https://docs.airbyte.com/platform/operating-airbyte/security#securing-airbyte-open-source) 3. Example Ingress Resource: - Here’s a simplified Kubernetes Ingress example for NGINX (without SSL, you’ll need to add your TLS secret):
Copy code
yaml      apiVersion: networking.k8s.io/v1      kind: Ingress      metadata:        name: airbyte-ingress        annotations:          nginx.ingress.kubernetes.io/ssl-redirect: "false"      spec:        ingressClassName: nginx        rules:          - host: airbyte.example.com            http:              paths:                - backend:                    service:                      name: airbyte-airbyte-connector-builder-server-svc                      port:                        number: 80                  path: /api/v1/connector_builder/                  pathType: Prefix                - backend:                    service:                      name: airbyte-airbyte-server-svc                      port:                        number: 8001                  path: /                  pathType: Prefix
- To enable SSL, add a
tls
section and reference your Kubernetes TLS secret:
Copy code
yaml      tls:        - hosts:            - airbyte.example.com          secretName: airbyte-tls
[See ingress documentation](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress) Summary: - Deploy Airbyte with Helm. - Use an NGINX ingress controller or a reverse proxy for SSL termination. - Reference your SSL certificate in your ingress or proxy configuration. If you need more details on generating certificates or setting up NGINX ingress with SSL, the Airbyte docs recommend following the [official NGINX ingress installation guide](https://docs.nginx.com/nginx-ingress-controller/installation/installing-nic/installation-with-helm/) and using standard Kubernetes TLS secrets. [More details in the docs](https://docs.airbyte.com/platform/operating-airbyte/security#securing-airbyte-open-source)