Validate BYOC infrastructure prerequisites
Changed onDisclaimer: This beta endpoint is evolving; the API contract may change. <br /><br /> Preflight-validates that a cloud account is ready for BYOC infrastructure creation: simulates the cloud permissions ClickHouse needs (and, for BYO-VPC, checks the provided network resources) without creating anything. For restricted access, where ClickHouse holds no role in the account, it instead checks that the registration facts fit the account and region; malformed facts are still rejected with a 400. Takes the same parameters as infrastructure creation, so a payload that passes validation will not be rejected by create for the same inputs.
Request
- Base URLhttps://api.clickhouse.cloud
- AuthHTTP basic
Path parameters
ID of the requested organization.
Request body
Region in which the BYOC infrastructure will be located
Cloud account ID the BYOC infrastructure is configured for: AWS account ID, GCP project ID, or Azure subscription ID
List of availability zone suffixes
CIDR range for the ClickHouse-managed VPC. Mutually exclusive with the BYO-VPC fields (vpcId, privateSubnetIds, publicSubnetIds)
AWS only: ExternalID baked into the ClickHouse management role trust policy in your account
Azure only (required for Azure regions): Entra tenant ID of the subscription
Azure only (required for Azure regions): client ID of the service principal ClickHouse uses to manage the infrastructure
BYO-VPC only (AWS and GCP): ID or network name of the customer-provided VPC to deploy into. Requires privateSubnetIds
BYO-VPC only: private subnet IDs or names (1-6 entries on AWS, exactly one on GCP)
AWS BYO-VPC only: public subnet IDs (at most 6 entries)
GCP BYO-VPC only: secondary IP range names on the subnet to use for pod IPs. Omitted: all secondary ranges are used
GCP BYO-VPC only: Shared VPC host project owning the VPC and subnet, when different from accountId
How ClickHouse reaches the infrastructure. standard (default) provisions it through a management role in your account; restricted registers a cluster you own, reached only through the connector you install. restricted is AWS only and requires restrictedFacts
Example request
{
"accountId": "123456789012",
"vpcCidrRange": "10.0.0.0/16",
"externalId": "ch-0a1b2c3d4e5f6789",
"vpcId": "vpc-0abc1234def567890",
"restrictedFacts": {
"imageMode": "bundle",
"scraperEndpoint": "http://clicklink-connector-scraper.clicklink.svc.cluster.local:9093/api/v1/write"
}
}Response
Successful response
HTTP status code.
Unique id assigned to every request. UUIDv4
Example response
{
"status": 200,
"result": {
"checks": [
{
"name": "Create EKS cluster",
"action": "eks:CreateCluster",
"reason": "implicitDeny"
}
]
}
}Changes
- info
added the new optional request property
accessModel - info
added the new optional request property
restrictedFacts
- info