<@U04S8PLJWMT> Are airbyte services and components...
# ask-ai
k
@kapa.ai Are airbyte services and components are TLS enabled? If now how can we enable secure TLS 1.2 communions for all components server, webapp, temporal, worker?
k
Airbyte supports TLS encryption for many of its components and connectors, but the default state and configuration depend on your deployment method and version. ### Airbyte Cloud - All data in transit is encrypted with TLS. All connectors (APIs, files, databases) use encrypted channels (SSL, SSH tunnel, HTTPS) for data transfer between client infrastructure and Airbyte Cloud. No additional configuration is needed for TLS in Airbyte Cloud; it is enforced by default for all communications and data transfers [Securing Airbyte Cloud](https://docs.airbyte.com/platform/1.7/operating-airbyte/security#securing-airbyte-cloud). ### Airbyte Open Source (Self-Managed) - By default, Airbyte Open Source does not enable TLS for internal service-to-service communication (e.g., between server, webapp, worker, and temporal). You are responsible for securing these communications. - Recommended approach: Deploy Airbyte behind a reverse proxy (such as NGINX) and terminate SSL/TLS at the proxy. Example NGINX config is provided in the docs, which enables HTTPS for the Airbyte UI and API [Securing Airbyte Open Source](https://docs.airbyte.com/platform/1.7/operating-airbyte/security#securing-airbyte-open-source). - No built-in user management or RBAC: Access control and encryption must be handled at the network or proxy layer. #### Example NGINX TLS Configuration
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;     }   }
This ensures all external communication is over TLS. For internal service-to-service communication, you would need to customize your deployment or network to enforce TLS, as Airbyte does not provide built-in options for this in the open source version. ### Temporal and Database Connections - Helm Chart Deployments: By default, if you set
.Values.global.database.type
to
external
, the Helm chart assumes SSL/TLS is required for Temporal and database connections, and sets environment variables to enable TLS. However, this can cause issues if your database does not support or require SSL/TLS. As a workaround, you can set
.Values.global.database.type
to
internal
to prevent the chart from forcing TLS, even if you are using an external database. This is not ideal, but currently necessary due to how the chart is structured [Platform Chart changes to Temporal Deployment causing TLS issues](https://github.com/airbytehq/airbyte/issues/43328). #### Example Helm values workaround:
Copy code
yaml global:   database:     type: internal     host: <your-external-db-host>     # ... other db config ...
This disables the forced TLS environment variables for Temporal, but still allows you to use an external database. ### TLS Version Support - For connectors (e.g., SQL Server): Airbyte only supports TLS 1.2 and above. If your database only supports TLS 1.0, Airbyte will not connect [MSSQL SSL error while creating source](https://discuss.airbyte.io/t/3790). --- Summary: - Airbyte Cloud: TLS enforced by default for all communications. - Airbyte Open Source: You must secure communications yourself, typically via a reverse proxy with TLS. - Temporal/Database: Helm chart assumes external DBs require TLS; workaround is to set type to
internal
if you need to disable this. - Only TLS 1.2+ is supported for database connectors. If you need full end-to-end TLS (including internal service-to-service), you must customize your deployment (e.g., use a service mesh or configure each component behind a TLS-terminating proxy). The knowledge sources do not provide a built-in, one-click way to enable TLS 1.2 for all Airbyte components in self-managed deployments.
k
@kapa.ai How to enable Airbyte Open Source TLS for internal service-to-service communication (e.g., between server, webapp, worker, and temporal).
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not provide explicit instructions or built-in configuration options for enabling TLS for internal service-to-service communication (e.g., between server, webapp, worker, and temporal) in Airbyte Open Source. The documentation recommends securing Airbyte Open Source by deploying it behind a reverse proxy (such as NGINX) and handling SSL/TLS termination at the proxy for external access. However, it does not cover enabling or configuring TLS for internal communications between Airbyte components themselves. You are responsible for securing internal network traffic, and the recommended approach is to use private networks, firewalls, or a reverse proxy for external endpoints [Securing Airbyte Open Source](https://docs.airbyte.com/platform/operating-airbyte/security#securing-airbyte-open-source). If you require internal TLS, you would need to implement custom network security measures outside of the standard Airbyte Open Source deployment, as this is not natively supported or documented.
k
@kapa.ai Which airbyte component is responsible for external API call?
k
A message from kapa.ai
In Airbyte, the connector is the component responsible for making external API calls. Specifically, source connectors interact with external APIs to extract data from sources, while destination connectors may interact with external APIs to load data into destinations. Connectors are independent modules that handle the communication with external systems, and they are packaged as Docker images for flexibility in implementation [Sources, destinations, and connectors](https://docs.airbyte.com/platform/next/move-data/sources-destinations-connectors). The Airbyte platform itself (server, webapp, worker, etc.) orchestrates and manages these connectors, but the actual external API calls are performed by the connectors themselves.
k
@kapa.ai which Airbyte platform will handle these external APIs
k
A message from kapa.ai
In Airbyte, the connectors are the components that handle external API calls, not the core platform services themselves. The platform (including components like the server, webapp, worker, and Temporal) is responsible for orchestrating, scheduling, and managing the execution of connectors, but the actual communication with external APIs is performed by the connectors. These connectors are independent modules, packaged as Docker images, and are built to interact directly with external systems according to the [Airbyte Specification](https://docs.airbyte.com/platform/next/understanding-airbyte/airbyte-protocol) [Sources, destinations, and connectors](https://docs.airbyte.com/platform/next/move-data/sources-destinations-connectors). If you are asking which part of the Airbyte platform initiates and manages the execution of these connectors, it is the worker component that executes the connector operations as scheduled and managed by the platform [Architecture overview](https://docs.airbyte.com/platform/next/understanding-airbyte/high-level-view). However, the actual API calls to external systems are always performed by the connectors themselves.
k
@kapa.ai Which airbyte platform component first receive external API call? webapp or server, or worload api?
k
A message from kapa.ai
The Airbyte server component is the primary entry point that first receives external API calls. In Airbyte's architecture, the webapp (UI) acts as a graphical interface for users, but API requests—whether from the UI or external clients—are handled by the server. The server is responsible for all operations such as creating sources, destinations, connections, and managing configurations. The workload API is used internally for job orchestration and is not the main entry point for external API calls [Architecture overview](https://docs.airbyte.com/platform/next/understanding-airbyte/high-level-view). In some older versions, the webapp could act as a reverse proxy to the server for API endpoints, but the server is always the component that processes the API logic [Questions about Migrating from Configuration API to Airbyte API in GKE Helm Deployment](https://github.com/airbytehq/airbyte/discussions/45705). Summary: - External API calls are first received by the server component. - The webapp may proxy requests, but the server handles the API logic. - The workload API is for internal job management, not for external API calls.