Overview
This is a repackaged software product wherein additional charges apply for hardening, security configuration, and support.
WHAT IS CLICKHOUSE
ClickHouse is an open-source column-oriented online analytical processing (OLAP) database management system written in C++ and distributed as a single compiled native binary. It is designed for low-latency analytical queries over very large tables: aggregations, time-series rollups, ad-hoc SQL on billions of rows. Features include the MergeTree storage engine with automatic part merges and partitioning, distributed and replicated tables for horizontal scale-out, materialized views, dictionaries, projections, an HTTP REST API on port 8123, a fast native binary protocol on port 9000, and a built-in web SQL console at /play. SQL is extended with array, tuple, nested, JSON, and IPv4/IPv6 types. Standard ODBC and JDBC drivers and client libraries for most popular languages are available. Data is persisted on local disk under /var/lib/clickhouse - no external database required for single-node deployments. Apache-2.0 license, no vendor lock-in. A self-hosted alternative to proprietary cloud data warehouses for hot-data analytics, keeping all data inside your own AWS account.
WHAT THIS AMI ADDS
Security hardening:
- Strong random 32-character password generated per instance at first boot for the ClickHouse default user
- Password stored only as SHA-256 hex in users.d drop-in - never written in plain text inside the AMI
- UFW firewall pre-configured - ports 8123 and 9000 open externally for buyer use, port 22 for SSH; all other inbound traffic dropped
- fail2ban, AppArmor enabled
- CVE scan - every image is scanned for vulnerabilities before release
OS hardening (CIS Level 1):
- CIS Ubuntu 24.04 LTS Level 1 benchmark applied via ansible-lockdown
- auditd, SSH hardening (key-only, PermitRootLogin no, LoginGraceTime 60), Kernel hardening (ASLR, reverse path filtering, SYN cookies, kexec disabled, IPv6 off), IMDSv2 enforced
Compliance artifacts:
- SBOM - CycloneDX 1.6 at /etc/lynxroute/sbom.json
- CIS Conformance Report at /etc/lynxroute/cis-report.html
- CIS Tailored Profile at /usr/share/doc/lynxroute/CIS_TAILORED_PROFILE.md
Highlights
- ClickHouse security baked in: strong random password for the default user generated at first boot and stored as SHA-256 hex, UFW firewall pre-configured, fail2ban and AppArmor enabled - unlike bare ClickHouse AMIs that ship with an empty default-user password, expose HTTP and native ports with no authentication, and leave the OS unhardened.
- CIS Level 1 hardened Ubuntu 24.04 LTS: auditd, fail2ban, AppArmor, SSH key-only, IMDSv2 enforced. CVE-scanned before every release. SBOM (CycloneDX) and CIS Conformance Report included.
- Self-hosted hot-data analytics: sub-second SQL queries over billions of rows, MergeTree storage, HTTP and native protocols, built-in /play web SQL console. Apache-2.0 license - no vendor lock-in, no per-query pricing.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Cost/hour |
|---|---|
t3.xlarge Recommended | $0.05 |
t3.large | $0.03 |
m6i.xlarge | $0.05 |
m6i.2xlarge | $0.07 |
Vendor refund policy
We do not offer refunds for this product. AWS infrastructure charges (EC2, EBS, data transfer) are billed separately by AWS and are not refundable by us.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Version 26.1.12.23 - Initial release (May 2026)
- ClickHouse 26.1.12.23 on Ubuntu 24.04 LTS
- CIS Level 1 hardening applied (ansible-lockdown/UBUNTU24-CIS)
- CVE-scanned before every release
- Strong random password for the ClickHouse default user generated at first boot, stored as SHA-256 hex
- listen_host = 0.0.0.0 on HTTP (8123) and native TCP (9000); IPv6 disabled at the kernel
- UFW firewall pre-configured (ports 8123, 9000 only)
- fail2ban, auditd, AppArmor pre-configured
- SBOM (CycloneDX 1.6) at /etc/lynxroute/sbom.json
- CIS Conformance Report (OpenSCAP) at /etc/lynxroute/cis-report.html
- IMDSv2 enforced
Additional details
Usage instructions
- Launch instance (t3.xlarge recommended; t3.large minimum, m6i.xlarge or larger for production)
- Open Security Group - allow TCP 8123 and TCP 9000 from your IP only
- SSH: ssh -i key.pem ubuntu@<PUBLIC_IP>
- Read credentials: sudo cat /root/clickhouse-credentials.txt
- Test the HTTP API: curl -u "default:<password>" "http://<PUBLIC_IP>:8123/?query=SELECT+version()"
- Open the web SQL console: http://<PUBLIC_IP>:8123/play - log in as user "default" with the password from the credentials file
- Connect via native protocol from your workstation: clickhouse-client --host <PUBLIC_IP> --password "<password>" --query "SELECT 1"
The default-user password is generated at first boot and saved to /root/clickhouse-credentials.txt (mode 600). For production use, restrict TCP 8123 and 9000 to trusted IPs (never 0.0.0.0/0) and terminate TLS in a reverse proxy in front of the HTTP endpoint. Data is persisted at /var/lib/clickhouse - for production attach a dedicated gp3 EBS volume mounted there for higher IOPS.
Resources
Vendor resources
Support
Vendor support
Lynxroute is not affiliated with ClickHouse, Inc. - this AMI packages the Apache-2.0 open-source ClickHouse distribution; ClickHouse(R) is a registered trademark of ClickHouse, Inc.
Visit us online: https://lynxroute.com
For ClickHouse documentation: https://clickhouse.com/docs For ClickHouse upstream issues: https://github.com/ClickHouse/ClickHouse/issues For AWS infrastructure issues:
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.