<@U04S8PLJWMT> I want to use my AWS ECR to add cus...
# ask-ai
j
@kapa.ai I want to use my AWS ECR to add custom connectors from UI. How to setup?
k
To use AWS ECR (Elastic Container Registry) for adding custom connectors via the Airbyte UI, follow these steps: ### 1. Push Your Custom Connector Image to AWS ECR - Build your custom connector Docker image. - Authenticate your local or CI environment to AWS ECR using the AWS CLI:
Copy code
aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin <aws_account_id>.dkr.ecr.<region>.amazonaws.com
- Tag and push your image to your ECR repository. ### 2. Authenticate Airbyte Instance to AWS ECR - For Docker Compose deployments: Authenticate your Airbyte instance (e.g., EC2 VM) to ECR using the same AWS CLI command above. - For Kubernetes deployments: - Create a Kubernetes Secret with your ECR credentials as described in the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). - Set the
JOB_KUBE_MAIN_CONTAINER_IMAGE_PULL_SECRET
environment variable on the
airbyte-worker
pod to the name of your Kubernetes Secret. More details on authentication can be found in the official docs: [Uploading Docker-based custom connectors – AWS ECR](https://docs.airbyte.com/platform/1.6/operator-guides/using-custom-connectors#3-adhere-to-airbytes-docker-image-requirements) ### 3. Add the Custom Connector in the Airbyte UI 1. In the Airbyte UI, go to Settings > Sources or Destinations. 2. Click Add a new Docker connector. 3. Enter: - Connector display name (your choice) - Docker full image name (e.g., `<aws_account_id>.dkr.ecr.<region>.amazonaws.com/your-connector`) - Docker image tag (e.g.,
latest
or a specific version) - (Optional) Connector documentation URL 4. Click Add to save the connector. You can now use it in your connections. Reference: [How to use your custom Docker connector in Airbyte](https://docs.airbyte.com/platform/1.6/operator-guides/using-custom-connectors#4-use-your-custom-docker-connector-in-airbyte) --- Note: - Ensure both your build environment and Airbyte instance are authenticated to ECR. - For Kubernetes, the image pull secret must be set up and referenced correctly. - The process is the same for both Airbyte OSS and Enterprise self-managed deployments. For more details, see: [Uploading Docker-based custom connectors](https://docs.airbyte.com/platform/1.6/operator-guides/using-custom-connectors)