To set up a local Airbyte installation on a single...
# ask-ai
k
To set up a local Airbyte installation on a single server with SSL-secured ingress, you have a couple of supported options according to the official Airbyte documentation: ### 1. Deploy Airbyte Locally You can install Airbyte locally using Docker or Kubernetes. If you use
abctl local install
, Airbyte will be accessible at
localhost:8000
by default. To expose it externally, you can specify the
--host
flag, but this does not automatically set up SSL for you. For SSL, you need to use a reverse proxy or ingress controller in front of Airbyte [[Quickstart Guide](https://docs.airbyte.com/platform/next/using-airbyte/getting-started/oss-quickstart#part-3-run-airbyte)]. ### 2. Secure Airbyte with SSL Using a Reverse Proxy (e.g., NGINX) The recommended approach for a single-server setup is to run Airbyte behind a reverse proxy like NGINX, which handles SSL termination. Here’s an example NGINX configuration from the documentation:
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;  # if you use Airbyte's basic auth       proxy_read_timeout 3600;  # set a number in seconds suitable for you     }   }
This setup will allow you to access Airbyte securely at
https://airbyte.<your-domain>.com
[[Securing Airbyte Open Source](https://docs.airbyte.com/platform/operating-airbyte/security#securing-airbyte-open-source)]. ### 3. Kubernetes Ingress with SSL If you are running Airbyte on Kubernetes, you can use an Ingress resource with SSL. For NGINX ingress, you would typically use a TLS secret for your certificate. Here’s a simplified example:
Copy code
yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata:   name: airbyte-ingress   annotations:     nginx.ingress.kubernetes.io/ssl-redirect: "true" spec:   ingressClassName: nginx   tls:     - hosts:         - airbyte.example.com       secretName: airbyte-tls-secret # Your TLS secret   rules:     - host: airbyte.example.com       http:         paths:           - path: /             pathType: Prefix             backend:               service:                 name: airbyte-airbyte-server-svc                 port:                   number: 8001
You must create the
airbyte-tls-secret
Kubernetes secret with your SSL certificate and key [[Ingress Guide](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress)]. --- Summary: - For a simple local install, use NGINX as a reverse proxy to add SSL. - For Kubernetes, use an Ingress with a TLS secret. - Airbyte does not provide built-in SSL for local installs; you must handle SSL termination yourself. If you need step-by-step help for your specific environment (Docker Compose, Kubernetes, etc.), let me know which one you are using!