<@U04S8PLJWMT> how can i add more users? by defau...
# ask-ai
s
@kapa.ai how can i add more users? by default in auth parameter I've given password and mail for admin, but for other users how can i add them on the ui i don't see much options at all. and what control level i can have over other users?
k
Based on the documentation, here's how you can add users and manage their access levels in Airbyte: ## Adding Users The process depends on whether you're managing users at the workspace or organization level: For Workspace-level access: 1. Navigate to Workspace settings > Members 2. Click New member 3. Start entering the person's name or email to find them in the list 4. Click their name to select them, then assign them an RBAC role 5. Click Add new member [Source: Manage workspaces](https://docs.airbyte.com/platform/using-airbyte/workspaces) For Organization-level access: 1. Navigate to Organization settings > Members 2. Follow a similar process to add members at the organization level ## User Access Control Airbyte provides [Role-Based Access Control (RBAC)](https://docs.airbyte.com/platform/access-management/rbac) with different permission levels: Organization Roles: - Admin: Full control over organization settings, billing, SSO, and user roles - Editor: Can create and delete workspaces - Runner: Can execute syncs - Reader: Can view organization information - Member: Basic read access Workspace Roles: - Admin: Full control over workspace settings, users, and connector versions - Editor: Can modify connections, sources, destinations, and connector settings - Runner: Can start/cancel syncs and refreshes - Reader: Can view workspace information but cannot modify anything Important notes: - You cannot assign a workspace role that's more restricted than the user's organization role - Organization admins automatically have admin permissions in all workspaces - Once someone is assigned as an admin, you cannot demote them [Source: Role-based access control](https://docs.airbyte.com/platform/access-management/rbac) Note: RBAC features are available in Pro, Enterprise Flex, and Self-Managed Enterprise plans. If you're on the Cloud Standard plan, all users are admins by default.
s
@kapa.ai I'm using open source. do I've options to add users?
k
A message from kapa.ai
Based on the documentation, Airbyte Open Source does not currently support user management or Role-Based Access Control (RBAC). According to the [security documentation](https://docs.airbyte.com/platform/operating-airbyte/security#securing-airbyte-open-source): > "Airbyte Open Source currently does not include any user management or role-based access controls (RBAC) to prevent unauthorized access to the API or UI." ## What You Can Do Instead Since native user management isn't available in Open Source, you'll need to implement access control at the infrastructure level: 1. Deploy behind a reverse proxy (like nginx) and handle authentication there 2. Use a firewall to control which IP addresses can access your Airbyte instance 3. Deploy in a private network to restrict access 4. Use cloud provider solutions: - GCP: [Identity-Aware Proxy (IAP)](https://cloud.google.com/iap) - AWS: [AWS Systems Manager Session Manager](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html) The default password you configured during deployment applies to all users accessing the instance - there's no way to create separate user accounts with different credentials in Open Source. Note: User management and RBAC features are only available in Airbyte Pro, Enterprise Flex, and Self-Managed Enterprise plans.
s
@kapa.ai by chance are you aware of airflow?
k
A message from kapa.ai
I appreciate your question, but I'm specifically designed to answer questions about Airbyte, the open-source data integration platform. While Apache Airflow is a related tool in the data engineering ecosystem (it's a workflow orchestration platform), I'm not tuned to provide detailed information about it. However, if you're interested in how Airbyte integrates with Airflow, I'd be happy to help with that! Airbyte can be orchestrated using Airflow, and there are resources available for setting up that integration. Is there anything specific about Airbyte or how it works with other tools that I can help you with?
s
@kapa.ai are multiple workspace available for open source?
k
A message from kapa.ai
Based on the documentation, yes, multiple workspaces are available in Airbyte Open Source, but with some important limitations: ## How to Use Multiple Workspaces in Open Source According to a [forum discussion](https://discuss.airbyte.io/t/2492), you can use workspaces for multitenancy purposes in the OSS version of Airbyte, but: 1. There is no UI for workspace management in the Open Source version 2. You need to manage workspaces using the API 3. You can create a workspace through the API endpoint:
/v1/workspaces/create
4. To switch between workspaces, you need to manually edit the URL by changing the workspace ID that comes right after
/workspaces/
in the URL ## Important Limitations While workspaces exist in Open Source, keep in mind: - No access control: As we discussed earlier, Open Source doesn't have user management or RBAC, so workspaces won't provide true isolation between different user groups - Manual management: Without a UI, you'll need to use the API for all workspace operations - Limited documentation: Workspace features are not extensively documented for the Open Source version ## Feature Availability According to the [platform documentation](https://docs.airbyte.com/platform/organizations-workspaces), if you use Core (Open Source), you only have one organization and one workspace by default. Multiple workspaces per organization are primarily designed for Cloud Pro, Enterprise Flex, and Self-Managed Enterprise plans. So while technically possible via the API, multiple workspaces in Open Source won't give you the access control and management features you might be looking for without the Enterprise features.
s
@kapa.ai i would like to see some stuff on prometheus. and i saw an option in temporal called temporal.prometheus.endpoint. and there was another option to enable metrics pod. what help do i get through this?
k
A message from kapa.ai
Based on the documentation, here's what you need to know about Prometheus monitoring and metrics in Airbyte: ## Current State of Prometheus Support Airbyte Open Source does not natively expose Prometheus metrics. According to a [forum discussion](https://discuss.airbyte.io/t/172), Airbyte does not yet expose Prometheus metrics directly. However, there are alternative approaches available. ## Available Monitoring Options ### 1. OpenTelemetry (Recommended Approach) The recommended way to get metrics into Prometheus is through OpenTelemetry. According to the [monitoring documentation](https://docs.airbyte.com/platform/operator-guides/collecting-metrics), you can: - Configure Airbyte to send telemetry data to an OpenTelemetry collector endpoint - The OpenTelemetry collector can then export metrics to Prometheus and other monitoring tools - This provides metrics for: - Resource provisioning (API requests, sync attempts) - Sync performance (duration, data volume) - System health (sync status, completion rates) Important limitation: OpenTelemetry metrics monitoring is only available for Self-Managed Enterprise customers, not for Open Source. ### 2. Configuration Options Based on the [configuration documentation](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#monitoring), you can set these environment variables: - `PUBLISH_METRICS`: Set to
true
to enable metrics collection (defaults to
false
) - `METRIC_CLIENT`: Choose either
datadog
or
otel
(OpenTelemetry) - `OTEL_COLLECTOR_ENDPOINT`: Define the ip:port where the OTEL metric client sends metrics ### 3. Temporal Prometheus Endpoint The
temporal.prometheus.endpoint
option you mentioned relates to Temporal (Airbyte's workflow engine), but there's limited documentation on how to leverage this for Airbyte-specific metrics in the Open Source version. ## What You Can Do in Open Source For Airbyte Open Source, your options are limited: - You can enable the metrics framework, but you'll need to set up your own OpenTelemetry collector to bridge to Prometheus - The metrics pod option would help collect metrics, but the full feature set is designed for Enterprise customers If you need comprehensive Prometheus monitoring, you may want to consider upgrading to a Self-Managed Enterprise plan or implementing custom monitoring through Airbyte's API and logs.
s
and btw, @kapa.ai is open source good enough that i can sync my huge amounts of data of say about 500GB?
k
A message from kapa.ai
Based on the documentation, Airbyte Open Source can handle large data volumes like 500GB, but there are important considerations and potential challenges you should be aware of: ## Performance Considerations ### 1. Deployment Method Matters According to a [GitHub issue discussion](https://github.com/airbytehq/airbyte/issues/53614), users have reported that
abctl
(the quickstart installation method) may not be suitable for large-scale data transfers
. One user noted: > "After some testing, I believe the issue may be in the abctl setup. It seems like abctl is more suitable for prototyping rather than handling large scale data transfers. I'd recommend trying the Docker or Kubernetes (kubectl) installation instead." For 500GB+ workloads, consider using Docker or Kubernetes deployments instead of
abctl
. ### 2. Replication Method Selection For large databases, the [replication method you choose is critical](https://airbyte.com/tutorials/low-latency-data-availability-stack): - For databases >500GB: Use CDC (Change Data Capture) for the best performance, as it only replicates actual data changes - For databases <500GB: You can use xmin or cursor-based incremental sync - Avoid Full Refresh for large datasets, as repeatedly syncing entire tables becomes infeasible ### 3. Known Performance Issues Several users have reported performance challenges with large volumes: - A [forum post](https://discuss.airbyte.io/t/3284) described syncing a 242GB Oracle table taking 59+ hours (1.391 rows/s) - Another [GitHub issue](https://github.com/airbytehq/airbyte/issues/21318) reported Databricks transfers at ~1.49MB/s for large files - Users syncing 100GB+ tables have experienced slow throughput and occasional failures ### 4. Resource Requirements According to the [scaling documentation](https://docs.airbyte.com/platform/1.7/operator-guides/scaling-airbyte): - Memory: Source workers read up to 10,000 records in memory. Large row sizes can require significant RAM (e.g., 0.5MB rows = 5GB RAM needed) - Disk Space: Allocate at least 30GB per node, more if you have many connectors - CPU: Start with 4-8 cores and tune based on your workload ### 5. Improvements in Recent Versions The good news is that [Airbyte 1.0](https://docs.airbyte.com/release_notes/v-1.0) introduced several features specifically for large data volumes: - Resumable Full Refresh: Allows large streams to sync without failures - Checkpointing: Syncs can resume from where they left off if interrupted - Large CDC syncs: Better handling of very large initial CDC syncs - Faster connectors: S3 and other sources have been optimized for speed ## Recommendation Yes, Open Source can handle 500GB, but: 1. Use a proper deployment method (Docker/Kubernetes, not
abctl
) 2. Choose the right replication method (CDC for large databases) 3. Allocate sufficient resources (memory, CPU, disk) 4. Monitor your syncs closely, especially initially 5. Consider using [incremental sync modes](https://airbyte.com/tutorials/incremental-data-synchronization) rather than full refresh If you encounter performance issues, you may need to optimize your infrastructure or consider Airbyte Cloud/Enterprise, which includes additional performance optimizations and support for large-scale workloads.
s
and btw, how can i check how many sync jobs i can perform right now, and how to change the number so i am always sure only a number of jobs can run at a time @kapa.ai
k
A message from kapa.ai
Based on the documentation, here's how you can check and configure the number of concurrent sync jobs in Airbyte: ## Checking Current Concurrent Sync Limits The default limits in Airbyte Open Source are: - MAX_SYNC_WORKERS: 10 (maximum sync jobs per worker) - MAX_CHECK_WORKERS: 5 (maximum check/test connection jobs per worker) According to the [worker configuration documentation](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#worker), these define the maximum number of workers each Airbyte Worker container can support. ## How to Change Concurrent Sync Limits ### For Helm Chart Deployments Based on a [GitHub issue discussion](https://github.com/airbytehq/airbyte/issues/29547), you can configure these limits in your
values.yaml
file using `env_vars`:
Copy code
yaml worker:   env_vars:     MAX_SYNC_WORKERS: 12     MAX_CHECK_WORKERS: 12
Note: Use
env_vars
instead of
extraEnvs
- multiple users confirmed this works. ### For Docker/Docker Compose Deployments You can set these environment variables in your
.env
file or docker-compose configuration:
Copy code
MAX_SYNC_WORKERS=12 MAX_CHECK_WORKERS=12
## Calculating Total Concurrent Syncs Your total concurrent syncs =
number of worker replicas
×
MAX_SYNC_WORKERS
For example: - 3 worker replicas × 10 MAX_SYNC_WORKERS = 30 concurrent syncs - 5 worker replicas × 12 MAX_SYNC_WORKERS = 60 concurrent syncs According to a [forum discussion](https://discuss.airbyte.io/t/1077), if you want to run 100 concurrent syncs, you could configure: - Number of Workers: 3 - MAX_SYNC_WORKERS: 100 - SUBMITTER_NUM_THREADS: 200 (deprecated in newer versions) ## Important Considerations 1. Resource Requirements: Each concurrent sync requires at least 3 additional connector pods (
orchestrator
,
read
,
write
). So 10 concurrent syncs = 30 pods running. [Source: Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte) 2. Worker Replicas: You can also increase the number of worker replicas:
Copy code
yaml    worker:      replicaCount: 2  # or more
3. Temporal Worker Ports: In older versions, you needed to ensure
TEMPORAL_WORKER_PORTS
was sufficient (default is 9001-9040, providing 40 ports). However, with the new [Workloads architecture](https://docs.airbyte.com/platform/understanding-airbyte/jobs), this is less of a concern. ## Monitoring Active Jobs Unfortunately, there's no built-in UI or API endpoint explicitly documented for checking the current number of running jobs in real-time in Open Source. You would need to: - Check the Airbyte UI's connection status page - Query the database directly - Use Kubernetes commands like
kubectl get pods
to count running job pods The configuration limits you set will ensure that only your specified number of jobs can run concurrently, with additional jobs queuing until resources become available.
s
@kapa.ai "*MAX_SYNC_WORKERS" this is the number of replication workload pods right? the pod that gets started by workload-launcher?*
k
A message from kapa.ai
Based on the documentation, not exactly - there's an important distinction to clarify: ## What MAX_SYNC_WORKERS Controls
MAX_SYNC_WORKERS
defines the maximum number of concurrent sync jobs that each Airbyte Worker container can handle, not the number of pods directly. According to the [worker configuration documentation](https://docs.airbyte.com/platform/operator-guides/configuring-airbyte#worker): > "MAX_SYNC_WORKERS - Defines the maximum number of Sync workers each Airbyte Worker container can support." ## The Relationship to Pods Here's how it actually works: 1. Each sync job (controlled by MAX_SYNC_WORKERS) spawns at least 3 connector pods: -
orchestrator
pod -
read
pod (source) -
write
pod (destination) According to the [scaling documentation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte): > "Each concurrent sync requires at least 3 additional connector pods to be running at once (
orchestrator
,
read
,
write
). For example, 10 concurrent syncs require 30 additional pods in your namespace." 2. The Workload Launcher is responsible for actually creating these pods, but it's the Worker that determines how many sync jobs can be processed concurrently. ## The Architecture Based on the [Workloads architecture documentation](https://docs.airbyte.com/platform/understanding-airbyte/jobs): - Workers communicate with the Workload API Server to create a Workload - The Workload API Server queues the job - The Launcher picks up the job and launches the Kubernetes pods needed to run it -
MAX_SYNC_WORKERS
controls how many of these sync workloads can be in progress at once per Worker container So
MAX_SYNC_WORKERS
is a concurrency limit on sync jobs, which indirectly determines how many replication workload pods can be running (multiply by 3 for the actual pod count).
s
how can i make sure the replication pods(orchestrator,read,write) have enough cpu and memory? where do i define the values for these. the defaults are cpu: 2, memory: 2Gi @kapa.ai
k
A message from kapa.ai
Based on the documentation, here's how you can configure CPU and memory resources for the replication pods (orchestrator, read, write) in Airbyte: ## Configuring Resource Limits ### For Helm Chart Deployments You can modify the default resource requirements in your
values.yaml
file under the
global.jobs.resources
section:
Copy code
yaml global:   edition: "enterprise"  # or "community" for open source   # ...   jobs:     resources:       limits:         cpu: ## e.g. 250m         memory: ## e.g. 500m       requests:         cpu: ## e.g. 75m         memory: ## e.g. 150m
[Source: Scaling Airbyte](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte) ### For Docker/Docker Compose Deployments You can set these environment variables in your
.env
file: -
JOB_MAIN_CONTAINER_CPU_REQUEST
- Minimum CPU usage -
JOB_MAIN_CONTAINER_CPU_LIMIT
- Maximum CPU usage -
JOB_MAIN_CONTAINER_MEMORY_REQUEST
- Minimum RAM usage -
JOB_MAIN_CONTAINER_MEMORY_LIMIT
- Maximum RAM usage [Source: Configuring connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources) ### Units to Use According to a [forum discussion](https://discuss.airbyte.io/t/1675): For Memory:
Copy code
JOB_MAIN_CONTAINER_MEMORY_REQUEST=2g JOB_MAIN_CONTAINER_MEMORY_LIMIT=2g
For CPU (percentage of a single core):
Copy code
JOB_MAIN_CONTAINER_CPU_REQUEST=0.50  # 50% of a single core JOB_MAIN_CONTAINER_CPU_LIMIT=0.50    # 50% of a single core
Or in Kubernetes format:
250m
= 0.25 cores,
1000m
= 1 core ## Configuration Hierarchy Airbyte supports four levels of resource configuration with different precedence levels: 1. Instance-wide (lowest precedence) - Applies to all connectors 2. Connector definition - Applies to all connectors of that type (e.g., all Postgres sources) 3. Connector-specific - Applies to one specific connector instance 4. Connection-specific (highest precedence) - Applies to a specific source/destination pair [Source: Configuring connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources) ## Best Practices According to the [scaling documentation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte): 1. Monitor your resources using infrastructure monitoring tools: - Requested CPU % - CPU Usage % - Requested Memory % - Memory Usage % 2. **If high requested resources are blocking pods** while used resources are low, reduce the limits 3. If your deployment is under-provisioned, you may see: - Stuck jobs that remain in-progress for long periods - Failures related to unavailable pods 4. Increasing limits may also allow for increased sync speeds ## Important Note According to a [GitHub issue](https://github.com/airbytehq/airbyte/issues/42921), some users have reported that resource configurations may not always be respected in certain versions. If you encounter this issue, verify that: - Your configuration is in the correct format - You're using a recent version of Airbyte - The environment variables are properly set in your deployment