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):
- Data Catalog: the connection to your Iceberg catalog. Icebreaker reads table metadata from it.
- Capacity Policy: the EC2 capacity that query pods are allowed to use.
- Data Server: the endpoint your SQL client connects to.
1. Create the Data Catalog
Section titled “1. Create the Data Catalog”In AWS CloudShell, run this command from your ~/icebreaker/eval-install directory:
./generate-catalog-config.sh YOUR-PREFIX-icebreakerThis 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:
cat data-catalog-config.jsonThe file contains a live AWS secret key. Paste it into the Icebreaker Admin console as follows, and nowhere else.
In the Icebreaker Admin console:
- Click on Data Catalogs in the sidebar menu and click + New Data Catalog.
- Enter a name, such as
YOUR-PREFIX-catalog. - Paste the contents of
data-catalog-config.jsoninto Configuration (JSON). - Click Create.
2. Create a Capacity Policy
Section titled “2. Create a Capacity Policy”Open your Agent from Virtual Clusters, then go to Compute Specs.
Click + New Compute Spec.
Enter a Spec Name, such as
YOUR-PREFIX-policy.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) Capacity Evaluation Recommendation Karpenter Capacity Type On-Demand(orSpot)CPU Limit 8Memory Limit 16GiConsolidation Policy When EmptyConsolidate After 5mInstance Types
When using On-Demand capacity, specify your negotiated Reserve Instance or Savings Plan Instance TypesExample: c8i.2xlarge, c8a.2xlarge, c7i.2xlarge, c7a.2xlarge, c6a.2xlargeAvailability Zones Two or three zones in your region, e.g.: us-east-1a, us-east-1b, us-east-1cWarm Pool Size 2Executor Image 448049788517.dkr.ecr.us-east-1.amazonaws.com/sparrowhawk/executor:latestExecutor CPU 3.5Executor Memory 6GiBurst (dynamic) Capacity Evaluation Recommendation Karpenter Capacity Type SpotCPU Limit 32Memory Limit 64GiConsolidation Policy When EmptyConsolidate After 5mInstance Types
When using Spot capacity, you benefit from heavy discounts on a wide variety of instance typesExample: 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.4xlargeAvailability Zones Two or three zones in your region, e.g.: us-east-1a, us-east-1b, us-east-1cExecutor CPU 3.5Executor Memory 6GiClick 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:
- Still in your Virtual Cluster, go to Virtual Data Warehouses.
- Click + New Virtual Data Warehouse.
- Enter a Name, such as
YOUR-PREFIX data server.
Tip: You may want to include the data catalog name in the description. - Select the Data Catalog and Compute Spec you just created.
- 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.
What you have at this point
Section titled “What you have at this point”- 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.