Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse Cloud Production Readiness Guide
For organizations who have completed the quick start guide and have an active service with data flowingTL;DRThis guide helps you transition from quick start to enterprise-ready ClickHouse Cloud deployments. You’ll learn how to:
- Establish separate dev/staging/production environments for safe testing
- Integrate SAML/SSO authentication with your identity provider
- Automate deployments with Terraform or the Cloud API
- Connect monitoring to your alerting infrastructure (Prometheus, PagerDuty)
- Validate backup procedures and document disaster recovery processes
Introduction
You have ClickHouse Cloud running successfully for your business workloads. Now you need to mature your deployment to meet enterprise production standards—whether triggered by a compliance audit, a production incident from an untested query, or IT requirements to integrate with corporate systems. ClickHouse Cloud’s managed platform handles infrastructure operations, automatic scaling, and system maintenance. Enterprise production readiness requires connecting ClickHouse Cloud to your broader IT environment through authentication systems, monitoring infrastructure, automation tools, and business continuity processes. Your responsibilities for enterprise production readiness:- Establish separate environments for safe testing before production deployment
- Integrate with existing identity providers and access management systems
- Connect monitoring and alerting to your operational infrastructure
- Implement infrastructure-as-code practices for consistent management
- Establish backup validation and disaster recovery procedures
- Configure cost management and billing integration
Environment strategy
Establish separate environments to safely test changes before impacting production workloads. Most production incidents trace back to untested queries or configuration changes deployed directly to production systems.In ClickHouse Cloud, each environment is a separate service. You’ll provision distinct production, staging, and development services within your organization, each with its own compute resources, storage, and endpoint.
Private networking
Private networking in ClickHouse Cloud allows you to connect your ClickHouse services directly to your cloud virtual network, ensuring that data doesn’t traverse the public internet. This is essential for organizations with strict security or compliance requirements, or for those running applications in private subnets. ClickHouse Cloud supports private networking through the following mechanisms:- AWS PrivateLink: Enables secure connectivity between your VPC and ClickHouse Cloud without exposing traffic to the public internet. It supports cross-region connectivity and is available in the Scale and Enterprise plans. Setup involves creating a PrivateLink endpoint and adding it to your ClickHouse Cloud organization and service allow list. More details and step-by-step instructions are available in the documentation here.
- GCP Private Service Connect (PSC): Allows private access to ClickHouse Cloud from your Google Cloud VPC. Like AWS, it is available in Scale and Enterprise plans and requires explicit configuration of service endpoints and allow lists here.
- Azure Private Link: Provides private connectivity between your Azure VNet and ClickHouse Cloud, supporting cross-region connections. The setup process involves obtaining a connection alias, creating a private endpoint, and updating allow lists here.
Enterprise authentication and user management
Moving from console-based user management to enterprise authentication integration is essential for production readiness.SSO and social authentication
SAML SSO: Enterprise tier ClickHouse Cloud supports SAML integration with identity providers including Okta, Azure Active Directory, and Google Workspace. SAML configuration requires coordination with ClickHouse support and involves providing your IdP metadata and configuring attribute mappings. Social SSO: ClickHouse Cloud also supports social authentication providers (Google, Microsoft, GitHub) as an equally secure alternative to SAML SSO. Social SSO provides faster setup for organizations without existing SAML infrastructure while maintaining enterprise security standards.Important limitationUsers authenticated through SAML or social SSO are assigned the “Member” role by default and must be manually granted additional roles by an admin after their first login. Group-to-role mapping and automatic role assignment aren’t currently supported.
Access control design
ClickHouse Cloud uses organization-level roles (Admin, Developer, Billing, Member) and service/database-level roles (Service Admin, Read Only, SQL console roles). Design roles around job functions applying the principle of least privilege:- Application users: Service accounts with specific database and table access
- Analyst users: Read-only access to curated datasets and reporting views
- Admin users: Full administrative capabilities
User lifecycle management limitations
ClickHouse Cloud doesn’t currently support SCIM or automated provisioning/deprovisioning via identity providers. Users must be manually removed from the ClickHouse Cloud console after being removed from your IdP. Plan for manual user management processes until these features become available. Learn more about Cloud Access Management and SAML SSO setup.Infrastructure as code and automation
Managing ClickHouse Cloud through infrastructure-as-code practices and API automation provides consistency, version control, and repeatability for your deployment configuration.Terraform Provider
Configure the ClickHouse Terraform provider with API keys created in the ClickHouse Cloud console:Cloud API integration
Organizations with existing automation frameworks can integrate ClickHouse Cloud management directly through the Cloud API. The API provides programmatic access to service lifecycle management, user administration, backup operations, and monitoring data retrieval. Common API integration patterns:- Custom provisioning workflows integrated with internal ticketing systems
- Automated scaling adjustments based on application deployment schedules
- Programmatic backup validation and reporting for compliance workflows
- Integration with existing infrastructure management platforms
Monitoring and operational integration
Connecting ClickHouse Cloud to your existing monitoring infrastructure ensures visibility and proactive issue detection.Built-in monitoring
ClickHouse Cloud provides an advanced dashboard with real-time metrics including queries per second, memory usage, CPU usage, and storage rates. Access via Cloud console under Monitoring → Advanced dashboard. Create custom dashboards tailored to specific workload patterns or team resource consumption.Common production gapsLack of proactive alerting integration with enterprise incident management systems and automated cost monitoring. Built-in dashboards provide visibility but automated alerting requires external integration.