# Deploy Meilisearch on Koyeb

# Introduction

This guide explains how to deploy a ready-to-use Meilisearch instance on Koyeb.

Koyeb (opens new window) is a developer-friendly serverless platform to deploy apps globally. The platform lets you seamlessly run Docker containers, web apps, and APIs with git-based deployment, TLS encryption, native autoscaling, a global edge network, and built-in service mesh & discovery.

# Requirements

To successfully follow and complete this guide, you need a Koyeb account (opens new window).

# Deploy Meilisearch

The fastest way to deploy Meilisearch on Koyeb is to use the Deploy to Koyeb button.

(opens new window)

Take care to replace the MEILI_MASTER_KEY environment variable value with a strong key to secure your Meilisearch instance.

You can for instance run the following command from the terminal to generate a strong secret to use as a master key:

python -c 'import os,base64; print(base64.urlsafe_b64encode(os.urandom(32)).decode())'

WARNING

Using a master key is optional but strongly recommended when running in production. If you launch without a master key, your Meilisearch instance will be unprotected and publicly accessible.

# Test Meilisearch

Copy the public URL (e.g., https://meili-myorg.koyeb.app) from the Koyeb control panel (opens new window) and paste it in your browser.

You should land on the Meilisearch search preview, where you are asked to enter your master key.

You are now ready to create your first index!

Enjoy!