Area: Ingestion Issues
Sub-Area: Remote Executor / Multi-Cloud Configuration
Applies to: Cloud
Issue
You run DataHub Cloud with a Remote Executor in one cloud, for example Azure (AKS). Now you need to ingest from sources in another cloud, such as AWS Glue or S3. You want to know if one DataHub Cloud instance can run ingestion in both clouds, or if you need a second instance.
You Might Be Asking
- Can one DataHub Cloud instance ingest from both AWS and Azure sources?
- Do I need a separate DataHub instance for each cloud?
- How do I add a Remote Executor in AWS when my existing executor runs in Azure?
- Can I have more than one Executor Pool on the same DataHub Cloud instance?
- Will an AWS executor affect my existing Azure ingestion sources?
Solution
Yes. One DataHub Cloud instance supports several Executor Pools, and you assign each ingestion source to one pool. Give each cloud its own pool: your Azure executor stays in its pool, and you add a new pool for AWS. You don't need a second DataHub instance. Sources stay on the pool they are assigned to, so your Azure sources keep running where they run today.
The full procedure is in Configuring Remote Executor.
-
Create the AWS pool first. In DataHub, open Data Sources, select the Executors tab and click Create. Enter a Pool Identifier that no other pool uses (for example
aws-prod). Leave Default Pool off unless you want new sources to use the AWS pool. The executor does not create its pool. You create the pool in the UI first, then deploy executors for it. See Creating and Managing Executor Pools. -
Check the pool's channel. The Channel column on the Executors tab shows
SQSorKAFKAfor each pool. The executor must use the same channel as its pool, or it gets no work. -
Generate a Remote Executor token. Go to Settings > Access Tokens > Generate new token > Remote Executor. You need the Manage Metadata Ingestion privilege to see the Remote Executor option. Use this token, not a personal access token.
-
Get registry access for your AWS account. The executor image is in a private registry. For ECS, give your AWS account ID to DataHub. For EKS, give DataHub the IAM principal that pulls the image. Until DataHub grants access, the image pull fails. Contact DataHub Support or your DataHub representative to set this up.
-
Deploy the executor in AWS. Pick one method from Deploying Remote Executors in Your Environment:
- ECS/Fargate with the CloudFormation template
- ECS/Fargate with the
remote-ingestion-executorTerraform module - EKS with the
datahub-executor-workerHelm chart
Each method takes the same three inputs: your DataHub Cloud URL with the trailing
/gms(for examplehttps://<your-company>.acryl.io/gms), the Pool ID from step 1, and the token from step 3. For aKAFKApool on Helm, also setglobal.datahub.executor.channel="KAFKA".If you run the container yourself, set the mode as well:
DATAHUB_GMS_URL=https://<your-company>.acryl.io/gms DATAHUB_GMS_TOKEN=<remote-executor-token> DATAHUB_EXECUTOR_POOL_ID=aws-prod DATAHUB_EXECUTOR_MODE=workerUse
DATAHUB_EXECUTOR_MODE=kafka-workerfor aKAFKApool. If you leaveDATAHUB_EXECUTOR_MODEunset, the executor starts as a coordinator (its log saysStarting datahub executor coordinator) and does not take work from the pool. -
Give the executor AWS credentials. Attach an IAM role to the ECS task, or an IAM role to the EKS service account (IRSA). The Glue and S3 connectors use the default AWS credential chain when the recipe has no access keys or profile, so they pick up that role. You can also put keys in the recipe and reference them as secrets, for example
${AWS_SECRET_ACCESS_KEY}. -
Open outbound network access. The executor needs outbound HTTPS (port 443) only. No inbound ports are needed. Allow these from the AWS network:
-
https://<your-company>.acryl.io/*(DataHub Cloud) -
https://sqs.*.amazonaws.com/*forSQSpools - a Python package index
- the container registry that hosts the executor image
At startup the executor calls
<DATAHUB_GMS_URL>/healthand waits for a response. You can run the same check from the executor's network:curl -sf https://<your-company>.acryl.io/gms/health && echo OKIf the executor can't reach DataHub, its log shows
Timeout waiting for GMS at <url>and the container exits. -
-
Confirm the executor is up. On the Executors tab, the AWS pool shows the new executor and its status. For a worker on an
SQSpool, the container log showsStarting datahub executor worker (Celery/SQS). -
Assign the AWS sources to the AWS pool. Open Manage Data Sources, edit a source or click Create Source. On the Connection Details page, expand Advanced Settings and select the AWS pool in Executor Pool. New sources use the Default Pool unless you change it here. Your Azure sources keep their current pool and need no changes. See Assigning Ingestion Sources to an Executor Pool.
Additional Notes
- Remote Executor is a DataHub Cloud feature.
- All executors with the same Pool ID take work from the same pool. If the AWS executor used your Azure pool's ID, it would pick up runs for your Azure sources. Give each cloud its own Pool ID.
- Source credentials and network access stay in each cloud. DataHub Cloud does not connect to your data sources. The executor in that cloud does, and it only makes outbound connections.
- The Kubernetes Helm chart runs on any Kubernetes cluster, including AKS and EKS, so you can use the same chart in both clouds.