Volumes: High IOPS and Low Latency NVMe SSDs Public Preview
5 minIt’s the final day of Koyeb's Launch Week Round 2, and today we’re announcing the public preview of Volumes!
Volumes on Koyeb are blazing-fast NVMe SSD you can use to persist data across deployments. After announcing Volumes in technical preview a few months ago, we are now opening the preview to all users on the Starter plan!
Offering high throughput and low latency, Volumes open the door to a wide range of new workloads and use cases to handle the state of your applications. Whether you’re looking to run:
- Clustered databases
- Object storage
- Queue systems
- Storing model checkpoints and weights for AI workloads
- Or anything else that requires data persistence
Get seamless data persistence by deploying any container image from DockerHub - such as Minio, Neo4j, ClickHouse, or Meilisearch - on Koyeb. With just a few clicks or simple CLI commands, you can leverage volumes and persist your data across deployments.
Right now, Volumes are available in Washington DC and Frankfurt for all Standard CPU instance types. Over the next few months, we will progressively add Volumes to more regions, if you are interested in a specific region, just let us know!
Getting Started with Volumes
To help you get started, here are a few examples to deploy some popular stateful applications including Minio, ClickHouse, MongoDB, and Neo4j using Volumes to handle data persistence using Koyeb CLI.
Minio
Minio is a high-performance distributed object storage server with an S3 compatible API. In the following example, we will:
- Create a 10GB Volume in the Washington DC region
- Deploy Minio using the official Minio Docker image
quay.io/minio/minio
- Attach the
minio-data
Volume to the service and mount our volume into the/data
directory of the container
Create a Volume
Deploy Minio
ClickHouse
ClickHouse is a fast and resource efficient open-source column-oriented database management system. In the following example, we will:
- Create a 10GB Volume in the Washington DC region
- Deploy ClickHouse using the official ClickHouse Docker image
clickhouse/clickhouse-server
- Attach the
clickhouse-data
Volume to the service and mount our volume into the/var/lib/clickhouse
directory of the container
Create a Volume
Deploy ClickHouse
MongoDB
MongoDB is a general-purpose, document-based, distributed database built for modern applications. In the following example, we will:
- Create a 10GB Volume in the Washington DC region
- Deploy MongoDB using the official MongoDB Docker image
mongo
- Attach the
mongo-data
Volume to the service and mount our volume into the/data/db
directory of the container
Create a Volume
The command above creates a 10GB Volume in the Frankfurt region.
Deploy MongoDB
Neo4j
Neo4j is a highly scalable, robust native graph database. In the following example, we will:
- Created a 10GB Volume in the Washington DC region
- Deploy Neo4j using the official Neo4j Docker image
neo4j
- Attach the
neo4j-data
Volume to the service and mount our volume into the/data
directory of the container
Create a Volume
The command above creates a 10GB Volume in the Frankfurt region.
Deploy Neo4j
That's it! For each of the example above, in less than 60 seconds, you will have a Minio, ClickHouse, Mongo, or Neo4j service running on Koyeb using a Volume to handle peristence. You can then start using from your other services using our built-in service mesh for secure service to service communication.
What’s Next?
Volumes is a foundational primitive to build and run stateful applications on Koyeb. We're currently working on adding more features around data mobility to let you attach and detach Volumes from services and support snapshots to create a point-time copy of your Volumes.
We're looking forward to your feedback to help us shape the product, and stay tuned as we roll out even more exciting updates during Launch Week!