Skip to content

Set up a Data Server

With the Agent (Virtual Cluster) connected, you define three Icebreaker components in the Admin console. The Agent pulls those definitions from the Icebeaker-managed control plane to manage resources in your cluster (data plane):

  1. Data Catalog: the connection to your Iceberg catalog. Icebreaker reads table metadata from it.
  2. Capacity Policy: the EC2 capacity that query pods are allowed to use.
  3. Data Server: the endpoint your SQL client connects to.

In AWS CloudShell, run this command from your ~/icebreaker/eval-install directory:

Terminal window
./generate-catalog-config.sh YOUR-PREFIX-icebreaker

This writes data-catalog-config.json, which holds the catalog address, the warehouse ID, and the S3 access key from the Icebreaker stack. Print it so you can copy it:

Terminal window
cat data-catalog-config.json

The file contains a live AWS secret key. Paste it into the Icebreaker Admin console as follows, and nowhere else.

In the Icebreaker Admin console:

  1. Click on Data Catalogs in the sidebar menu and click + New Data Catalog.
  2. Enter a name, such as YOUR-PREFIX-catalog.
  3. Paste the contents of data-catalog-config.json into Configuration (JSON).
  4. Click Create.
  1. Open your Agent from Virtual Clusters, then go to Compute Specs.

  2. Click + New Compute Spec.

  3. Enter a Spec Name, such as YOUR-PREFIX-policy.

  4. For evaluation purposes, you can start with a policy that restricts your capacity budget. This way you can more quickly see how Icebreaker dynamically provisions and retires resources to balance budget and performance goals.

    Stand-by (static) CapacityEvaluation Recommendation
    Karpenter Capacity TypeOn-Demand (or Spot)
    CPU Limit8
    Memory Limit16Gi
    Consolidation PolicyWhen Empty
    Consolidate After5m
    Instance Types
    When using On-Demand capacity, specify your negotiated Reserve Instance or Savings Plan Instance Types
    Example:
    c8i.2xlarge, c8a.2xlarge, c7i.2xlarge, c7a.2xlarge, c6a.2xlarge
    Availability ZonesTwo or three zones in your region, e.g.:
    us-east-1a, us-east-1b, us-east-1c
    Warm Pool Size2
    Executor Image448049788517.dkr.ecr.us-east-1.amazonaws.com/sparrowhawk/executor:latest
    Executor CPU3.5
    Executor Memory6Gi
    Burst (dynamic) CapacityEvaluation Recommendation
    Karpenter Capacity TypeSpot
    CPU Limit32
    Memory Limit64Gi
    Consolidation PolicyWhen Empty
    Consolidate After5m
    Instance Types
    When using Spot capacity, you benefit from heavy discounts on a wide variety of instance types
    Example:
    c5.xlarge, c5.2xlarge, c5.4xlarge, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c6i.xlarge, c6i.2xlarge, c6i.4xlarge, c6a.xlarge, c6a.2xlarge, c6a.4xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6a.large, m6a.xlarge, m6a.2xlarge, m6a.4xlarge
    Availability ZonesTwo or three zones in your region, e.g.:
    us-east-1a, us-east-1b, us-east-1c
    Executor CPU3.5
    Executor Memory6Gi
  5. Click Create.

To learn what the settings control, see Manage Capacity Policies.

3. Create the Data Server (Virtual Data Warehouse)

Section titled “3. Create the Data Server (Virtual Data Warehouse)”

The Data Server is the endpoint that query users interact with. One data server can accommodate a very wide variety of use cases, making it ideal as an enterprise-managed serverless query platform. It requires:

  • Data Catalog: manages the portion of your data lake ready for SQL queries
  • Capacity Policy (Compute Spec): sets minimum standby compute (can be zero) and maximum burst capacity

To create a Data Server:

  1. Still in your Virtual Cluster, go to Virtual Data Warehouses.
  2. Click + New Virtual Data Warehouse.
  3. Enter a Name, such as YOUR-PREFIX data server.
    Tip: You may want to include the data catalog name in the description.
  4. Select the Data Catalog and Compute Spec you just created.
  5. Click Create.

The Agent running in your private data plane maintains a websocket connection with the Icebreaker-managed control plane, where the Admin console runs. Your Agent pulls the Data Server definition, deploys it into your cluster, and reports back its status to the control plane. Watch for its status to change to ready in the Admin console, typically within a minute or two.

Click your Data Server to see its connection details, and leave it open. You’ll copy the JDBC URL in the next step.

  • A Data Catalog connected to the evaluation Lakekeeper catalog.
  • A Capacity Policy that can be used for one or more Agents (can be helpful when managing multiple availability zones).
  • A Data Server running in your private cluster, with a JDBC URL ready to copy.

Continue to Run your first query.