Skip to main content

Manage virtual compute pools

AI summary
Explains how to create and manage virtual compute pools in Imply Lumi for querying data outside the hot tier. Covers pool sizing, cluster scaling, and configuration options. Describes cold start behavior and idle time settings that affect performance and costs.

About AI summaries.

A virtual compute pool is a set of transient compute resources that Lumi provisions to query managed data in the virtual tier and external data. When you query data outside the hot tier, Lumi starts the virtual compute pool if it isn't already running, and loads only the data it needs to serve the query into virtual storage. Lumi shuts down the pool after reaching the maximum idle time you configure.

This topic explains how to create and manage virtual compute pools.

Prerequisites​

To create or edit a virtual compute pool, you need a Lumi user with the Admin role. For information on roles and permissions, see Use roles to control access.

Default virtual compute pool​

Lumi uses the default virtual compute pool to serve queries that don't specify any pool. You can modify the default pool, including its size, but you can't delete it.

Your deployment type determines the way Lumi creates or assigns the default pool as follows:

  • New Lumi Cloud accounts: Lumi creates the default pool when you activate your account. The default pool has a size of Large and a 30-minute idle time.
  • New Lumi Enterprise accounts: Lumi creates the default pool when you deploy Lumi. By default, the pool has a size of Large. If you configure custom t-shirt sizes, the default pool uses the entry with size set to l. If there's no such entry, Lumi uses the first size in your virtual_compute_tshirt_sizes list.
  • Existing Lumi Cloud and Lumi Enterprise accounts: Lumi doesn't create a default pool. To create one, go to Virtual compute and click Create default pool. After you create the default pool, the option no longer appears.

Until your account has a pool, you can only query data in the hot tier, and you can't assign a pool to an IAM key.

Create a virtual compute pool​

If you want to keep queries from different integrations separate, or isolate resources by use case or team, you can create additional virtual compute pools. Lumi supports up to 20 virtual compute pools per company account, including the default pool. Each pool has its own compute resources and processes queries in isolation, so queries in one pool don't compete for resources with queries in another.

To create a virtual compute pool:

  1. From the Lumi navigation menu, click Virtual compute.
  2. Click + Create pool.
  3. In the Create virtual compute pool pane, enter the following:
    • Name: Pool name. Name your pools by intended use, so you can tell them apart in the Lumi UI.
    • Description: Optional description of the pool.
    • Keys: IAM keys with the federated search integration that can route queries to this pool. If the IAM key doesn't exist yet, leave the Keys field blank and assign this pool when you create the key. Use separate keys for separate workloads. For more information, see Virtual tier access.
    • Instance family: Amount of compute, such as CPU and memory, the pool has for its data. Select Standard, Balanced, or Performance. For more information, see Instance family.
    • Size: T-shirt size that determines how much data the pool can hold. For more information, see Size.
    • Max number of clusters: Maximum number of clusters per pool. Each cluster increases concurrent query capacity. You can have up to 20 clusters per pool. For more information, see Maximum number of clusters.
    • Idle time: Maximum time the virtual compute pool can remain idle before shutting down. Idle time must be between 15 minutes and 3 days. For more information, see Idle time.
  4. Click Create.

To control when data moves out of the hot tier, create a tiering rule. For more information, see Manage tiering rules.

Size​

When you create a virtual compute pool, you choose the pool's instance family and t-shirt size. Together, these settings determine how much data the pool can hold and how much compute it has to process queries.

Query performance also depends on the volume of data scanned, the shape of the data, and the complexity of the query.

Instance family​

The instance family determines how much compute, such as CPU and memory, the pool has to process its data. Choose an instance family based on how much processing power your queries need.

Lumi offers the following instance families:

FamilyCompute for the amount of dataBest for
StandardLowestBroad historical scans and investigations over large amounts of data.
BalancedModerateWorkloads that need more compute than Standard, at a lower cost than Performance.
PerformanceHighestFrequent queries over a smaller set of data, where query speed matters most.

The balance of compute to storage stays the same at every size in a family, so moving to a larger size adds capacity without changing that balance. To change the balance, choose a different family.

Standard is the default instance family and the lowest-cost option for a given amount of data. Standard isn't available in all regions. In those regions, Lumi doesn't show it, and the Instance family setting defaults to Balanced.

Pools created before Lumi introduced instance families use the Performance family.

Each combination of family and size has its own ICR rate. For more information, see Billing.

T-shirt size​

Lumi measures pool size in t-shirt sizes, from Small to 5X-large. A t-shirt size determines how much data the pool can hold, and the same size holds the same amount of data in every family. Within a family, each size provides twice the compute, memory, and storage of the previous size, at twice the cost.

Choose a size based on the amount of data your queries typically need.

The following table shows each size's resources and cost relative to Small in the same family, and the max concurrency per cluster for each family:

SizeResources and costStandardBalancedPerformance
Small1x224
Medium2x244
Large4x288
X-large8x41114
2X-large16x42014
3X-large32x82026
4X-large64x142026
5X-large128x262026

Max concurrency is the maximum number of queries each cluster in a pool can run at the same time. A pool's total concurrency is the max concurrency multiplied by the number of clusters.

Max concurrency doesn't increase at every size, so two sizes with the same max concurrency can differ in resources. For example, in the Standard family, each cluster in a Large pool runs the same number of concurrent queries as a cluster in a Small pool, but has four times the resources to process each one.

When choosing a t-shirt size for your pool, consider the following general guidelines:

  • Data size and composition: Larger and more complex datasets may require more compute resources to query.
  • Query latency: If low latency is required, you may need a larger t-shirt size for faster query execution and a longer idle time to avoid cold start delays.
  • Number of concurrent queries: If you regularly run more queries at the same time than your pool's max concurrency, choose a size with a higher max concurrency or increase the maximum number of clusters.

Lumi Enterprise customers can define custom t-shirt sizes in Terraform. For more information, see Configure custom t-shirt sizes for Lumi Enterprise.

Maximum number of clusters​

A virtual compute pool runs one or more clusters, each with the resources of the pool's size. When a query requires additional capacity, Lumi adds clusters one at a time, up to the maximum number of clusters you set. Lumi then removes them one at a time as demand drops. If all clusters are busy, new queries wait until capacity is available.

The minimum number of clusters a pool can have is 1. You can specify up to 20 clusters per pool.

Each running cluster is billed separately, so a higher maximum can increase costs during periods of high demand. For more information, see Virtual tier searches.

You can set the maximum number of clusters only in the Lumi UI.

Idle time​

The idle time setting controls how long a virtual compute pool can remain running without processing queries before it shuts down. You can set an idle time between 15 minutes and 3 days.

Virtual tier spins up compute resources and loads data only when a query needs them. After a pool shuts down, the next query incurs a cold start, a delay that occurs while Lumi provisions the resources the query needs. Before the query can run, Lumi might need to start the virtual compute pool, load the required data, or both.

The amount of cold start latency depends on the status of the pool and whether the data is already in virtual storage:

  • Pool stopped, data not loaded: Lumi spins up the virtual compute pool and loads the data. This is a full cold start.
  • Pool running, data not loaded: Lumi loads the data, which adds some latency.
  • Pool running, data loaded: No additional latency. Performance is comparable to the hot tier.

When configuring the idle time for your virtual compute pool, consider the following:

  • A shorter idle time reduces costs, but leads to more frequent cold starts.
  • A longer idle time reduces cold starts, but incurs more charges.

Status​

You can see the current status of your virtual compute pool on the Virtual compute page:

Virtual compute page

Because virtual compute resources spin up on demand and shut down after the idle time, the status of the virtual compute pool changes based on its current state:

  • Starting: Virtual compute pool is starting. Lumi is provisioning compute resources to serve queries.
  • Running: Virtual compute pool is running and available to serve queries.
  • Stopped: Virtual compute pool is inactive. All compute resources are shut down.

Modify a virtual compute pool​

You can edit a virtual compute pool's settings or delete the pool.

Edit a pool​

To edit a virtual compute pool:

  1. From the Lumi navigation menu, click Virtual compute.
  2. Click the ellipsis next to the pool name, then click Edit.
  3. Make your changes, then click Save.

When you change the size of a pool, Lumi starts new clusters of the new size to replace the existing ones. Until the new clusters are ready, queries continue to run on the existing clusters. Changing the size doesn't interrupt running queries.

Until the new clusters are running, you're billed at the rate for the previous size. After the switch, you're billed at the rate for the new size, starting a new 10-minute billing increment. For more information, see Virtual tier searches.

info

Updating IAM keys assigned to a virtual compute pool can take up to two minutes to take effect.

Delete a pool​

When you delete a pool, Lumi cancels any queries that are running on the pool. Federated search queries that use IAM keys assigned to the deleted pool fail when they need data outside the hot tier.

Before you delete a pool, do the following:

  • Make sure the pool's status is Stopped. A stopped pool isn't running any queries.
  • Assign any IAM keys that use the pool to another pool.

To delete a virtual compute pool:

  1. From the Lumi navigation menu, click Virtual compute.
  2. Click the ellipsis next to the pool name, then click Delete.
  3. Confirm your selection, then click Delete.

Learn more​

For more information, see the following topics: