-
Notifications
You must be signed in to change notification settings - Fork 4
RP SQL on GCP #636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
RP SQL on GCP #636
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,15 +6,17 @@ | |
| :learning-objective-2: Scale or disable the SQL engine | ||
| :learning-objective-3: Verify that the SQL engine is running and ready to accept connections | ||
|
|
||
| Enable Redpanda SQL on a Bring Your Own Cloud (BYOC) cluster so you can query streaming data in Redpanda topics using standard PostgreSQL syntax. For Iceberg-enabled topics, queries can span both the streaming topic and its Iceberg history. See xref:sql:query-data/query-iceberg-topics.adoc[Query Iceberg-enabled topics] for that workflow. | ||
| // TODO: Drop the "On AWS" scoping once RPSQL Deployment with Iceberg on GCP | ||
| // (CIAINFRA-3422/M9) and BigLake REST catalog support (OXLA-9522, cloudv2 PR #27525) ship. | ||
| Enable Redpanda SQL on a Bring Your Own Cloud (BYOC) cluster so you can query streaming data in Redpanda topics using standard PostgreSQL syntax. You can also run queries that span both the streaming topic and its Iceberg history for Iceberg-enabled topics. See xref:sql:query-data/query-iceberg-topics.adoc[Query Iceberg-enabled topics] for that workflow. | ||
|
Comment on lines
+9
to
+11
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Qualify the Iceberg claim by cloud provider. The page now states that SQL is available on GCP, while the TODO indicates that GCP Iceberg deployment and BigLake support are not yet shipped. The unconditional claim on Line 11 therefore tells GCP users that the cross-topic/Iceberg workflow is available. Scope it to supported providers or remove it until GCP support is live. 🤖 Prompt for AI Agents |
||
|
|
||
| After reading this page, you will be able to: | ||
|
|
||
| * [ ] {learning-objective-1} | ||
| * [ ] {learning-objective-2} | ||
| * [ ] {learning-objective-3} | ||
|
|
||
| NOTE: Redpanda SQL is currently available only on BYOC clusters running on AWS. | ||
| NOTE: Redpanda SQL is available for BYOC clusters on AWS and GCP. | ||
|
|
||
| TIP: If you manage your infrastructure with Terraform, see xref:manage:terraform-provider.adoc#enable-redpanda-sql-on-a-byoc-cluster[Enable Redpanda SQL on a BYOC cluster] in the Terraform provider guide. | ||
|
|
||
|
|
@@ -43,7 +45,7 @@ Cloud Console:: | |
| + | ||
| -- | ||
| . Log in to https://cloud.redpanda.com[Redpanda Cloud^]. | ||
| . Start creating a new BYOC cluster on AWS. For details and prerequisites, see xref:get-started:cluster-types/byoc/aws/create-byoc-cluster-aws.adoc[]. | ||
| . Start creating a new BYOC cluster on AWS or GCP. For details and prerequisites, see xref:get-started:cluster-types/byoc/aws/create-byoc-cluster-aws.adoc[] or xref:get-started:cluster-types/byoc/gcp/create-byoc-cluster-gcp.adoc[]. | ||
| . In the cluster creation form, locate the *Redpanda SQL engine* card. Toggle the engine on and use the *RPU* slider to set the compute size. | ||
| + | ||
| For more on RPUs, compute, and cost calculations, see xref:billing:billing.adoc#redpanda-sql-billing-metrics[Redpanda SQL billing metrics]. | ||
|
|
@@ -64,7 +66,7 @@ curl -X POST "https://api.redpanda.com/v1/clusters" \ | |
| -d '{ | ||
| "cluster": { | ||
| "name": "<cluster-name>", | ||
| "cloud_provider": "CLOUD_PROVIDER_AWS", | ||
| "cloud_provider": "<cloud-provider>", | ||
| "type": "TYPE_BYOC", | ||
| "region": "<region>", | ||
| "zones": [ <zones> ], | ||
|
|
@@ -79,8 +81,9 @@ curl -X POST "https://api.redpanda.com/v1/clusters" \ | |
| }' | ||
| ---- | ||
| + | ||
| Replace the `rpsql` placeholders with your own values: | ||
| Replace the placeholders with your own values: | ||
| + | ||
| * `<cloud-provider>`: `CLOUD_PROVIDER_AWS` or `CLOUD_PROVIDER_GCP`. | ||
| * `<compute-nodes>`: Set the initial number of SQL compute nodes (minimum 1). | ||
| * `<sql-az>` (optional): For multi-AZ clusters, specify which of the cluster's availability zones to deploy for the SQL engine. Provide a single zone string from the cluster's `zones` list. | ||
| + | ||
|
|
@@ -90,6 +93,9 @@ Replace the `rpsql` placeholders with your own values: | |
|
|
||
| === On an existing cluster | ||
|
|
||
| // TODO: Confirm with SME whether GCP BYOC clusters created before Redpanda SQL launched on GCP | ||
| // (M7/CIAINFRA-3420) need an equivalent agent-permission refresh step before enabling SQL, similar | ||
| // to the AWS `rpk cloud byoc aws apply` requirement below. | ||
| NOTE: If your BYOC cluster on AWS was created before May 28, 2026, rerun `rpk cloud byoc aws apply --redpanda-id=<cluster-id>` to update the agent's IAM permissions before enabling Redpanda SQL. | ||
|
|
||
| [tabs] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Use a genuinely custom endpoint in the custom-endpoint example.
The text describes targeting an emulator or custom endpoint, but the example uses the standard
https://storage.googleapis.comendpoint. Use a placeholder such as<custom-endpoint>or an emulator URL so the example matches the stated use case.🤖 Prompt for AI Agents