Skip to main content

Anyscale machine pools

info

Using machine pools in an Anyscale cluster is in developer preview.

A machine pool defines a fixed-size group of provisioned compute resources. Unlike standard cloud deployments where instances are ephemeral across workloads, machines in a machine pool can be reused across workloads.

There are two different kinds of machine pools:

  • Anyscale-managed machine pools: Anyscale manages the machine pool and machine lifecycles. Machines are launched & terminated in standard cloud deployments by Anyscale.
  • Customer-managed machine pools: Users manage the machine pool and machine lifecycles. Users must install all necessary dependencies and run anyscalemachine up to register machines into the machine pool.

Anyscale-managed machine pools are ideal for:

  • Sharing cloud capacity reservations across an organization
  • Maintaining a warm pool of cloud instances when frequent instance rotation is inefficient
  • Enforcing concurrency control for applications with strict resource requirements

Customer-managed machine pools are ideal for:

  • Running workloads on on-premises machines