---
title: "Managing DB Fleets | InvarDB Docs"
description: Create and manage databases at scale
---
# Managing DB Fleets

Create and manage databases at scale

## Overview

Since Hardpoint Lattice enforces a pure one-database-per-tenant model *cryptographically*, creating and managing individual databases at scale would quickly become cumbersome and error-prone. For this reason, Lattice offers an abstraction for managing many similar databases together called a **fleet**.

A fleet represents a group of functionally identical databases, each one dedicated to a single tenant. It's the fundamental building block of database infrastructure inside the Lattice platform.

---

## Creating a fleet

Fleets are created programmatically through the Hardpoint control plane API. You can provision them directly from the CLI. For example, to create a fleet of PostgreSQL databases called `main_prod`, you'd run the following command:

```
npx @hardpointlabs/cli create fleet --type=postgres --name=main_prod
```

Creating a fleet itself doesn't provision any databases; they're created/accessed on-demand when tenant traffic passes through [Hardpoint Connect](https://invardb.com/docs/guides/hardpoint-enterprise)'s routing mesh. The fleet is responsible for managing database-specific properties, performing upgrades and exposing a service endpoint to Hardpoint Connect.

## Viewing a fleet status

#### Listing all fleets in your Hardpoint organization

```
npx @hardpointlabs/cli get fleets
```

## Connecting to a fleet instance

A lattice fleet behaves like a
