Configuration Requirements
Discovery
To enable clustering, the Connectors need to be able to discover each other. Clustering is supported on AWS ECS and Kubernetes.- AWS ECS Fargate (Terraform)
- Kubernetes (Helm)
For AWS ECS deployments, configure IAM permissions to allow Connector instances to list and describe ECS tasks. This enables them to discover other instances in the same service:See our AWS Terraform example for a complete configuration.
Network
Connectors communicate with each other over the network on ports 2379 and 2380.- AWS ECS Fargate (Terraform)
- Kubernetes (Helm)
Configure the security group to allow inter-instance communication on the cluster ports:See our AWS Terraform example for a complete configuration.
Filesystem
The Connector process requires read and write permissions to the/default.etcd directory. This directory is used by the embedded state server (etcd) to persist cluster state, including member information, configuration, and the distributed key-value store used for features like rate limiting and BigQuery job ID caching.
Example
Here’s an example policy that uses the cluster’s shared state to enforce a rate limit on S3 bucket access:sensitive-bucket if it has been accessed more than five times in the last minute by the user, across all Connector instances.
If a Connector instance fails, the cluster automatically rebalances and continues operating. Features that leverage the shared state is preserved across the remaining healthy instances.