Databases and storage

The solution to persistent data storage is to usually connect your Fly App to a separate database or object store. If you need hardware-local disk storage on your Machines—for example, if your Fly App is a database or if you want to use LiteFS—then you can use Fly Volumes.

Fly Volumes - Disk storage

The Fly Machines in your app provide ephemeral storage, so you get a blank slate on every startup. For persistent storage on Fly.io, use Fly Volumes. You can attach volumes on an app directly, or run a separate database app with volume storage and connect an app to that.

  • Fly Volumes: A Fly Volume is a slice of NVMe disk storage attached to the server that hosts your Machine. Read the Fly Volumes overview to find out if volumes are the best solution for your use case.

Object storage services

Object storage service from our extension partners.


Managed database services

Managed database services from our extension partners.


Fly.io databases

These are not managed services; you deploy and manage them yourself as Fly Apps.

  • Fly Postgres - Our Postgres app provides a PostgreSQL database with some tools to make it easier to manage yourself. When you deploy an App on Fly.io, we give you the option to launch a Fly Postgres App and attach it to your App.

  • LiteFS for SQLite - SQLite is a very lightweight file-based database. LiteFS is a distributed file system that transparently replicates SQLite databases. You deploy it and you manage it.


Other database and storage options

Examples to help you get started with other popular storage options.


Options for different fully-managed databases or storage solutions for your Fly Apps.


More external providers

You can connect your Fly Apps to the usual suspects, too.