tutorials
Discover how to build, deploy and run applications in production on Koyeb. The fastest way to deploy applications globally.
Use FLUX, PyTorch, and Streamlit to Build an AI Image Generation App
Learn how to use the FLUX model to generate images based on prompts in real-time.
Use Stable Diffusion and PyTorch to Build an Image Inpainting Service
Learn how to create an image inpainting service using Stable Diffusion and Gradio and deploy it on Koyeb.
Fine-Tune MistralAI and Evaluate the Fine-Tuned Model on Koyeb Serverless GPUs
A step-by-step guide to learn how to fine-tune MistralAI on domain-specific knowledge and evaluate the fine-tuned model's performance.
Fine-Tune Llama 3.1 8B using QLORA on Koyeb Serverless GPUs
Learn how to fine-tune an Llama 3.1 8B using QLORA on your favourite project's documentation. This will enable the model to answer questions with (hopefully) correct, and up-to-date information.
Deploy Portkey Gateway to Koyeb to Streamline Requests to 200+ LLMs
Learn how to deploy Portkey Gateway, a request and prompt router for LLMs with a unified API, and build an application that can query more than one LLM easily.
Using ComfyUI, ComfyUI Manager, and Flux to Generate High-Quality Images on Koyeb
Learn how to deploy ComfyUI, an image creation workflow manager, to Koyeb to generate images with Flux, an advanced image generation AI model.
Using YOLO for Real-Time Object Detection with Koyeb GPUs
Understand how the YOLO algorithm works and use it to identify and manipulate images through computer vision.
Using OpenAI Whisper to Transcribe Podcasts on Koyeb
Learn how to use OpenAI Whisper to build an app to generate transcription of podcast audio files in real-time.
Deploy Redis as an In-Memory Database for Koyeb Applications
Learn how to set up Redis, the most popular in-memory key-value data store, to use with your Koyeb applications.
Use Continue, Ollama, Codestral, and Koyeb GPUs to Build a Custom AI Code Assistant
This guide shows how to use Continue with Ollama, a self-hosted AI solution to run the Mistral Codestral model on Koyeb GPUs
Deploy Fooocus and Generate AI Images on Koyeb GPUs
Learn how to deploy and configure Fooocus, an AI-based image generation tool, on Koyeb.
Deploy the vLLM Inference Engine to Run Large Language Models (LLM) on Koyeb
Learn how to set up a vLLM Instance to run inference workloads and host your own OpenAI-compatible API on Koyeb.
How to Deploy Infisical to Manage Application Secrets on Koyeb
In this guide, we demonstrate how to deploy and configure Infisical to help you manage secrets and other configuration for applications across your environments.
How to Deploy Strapi as a Content Backend and Headless CMS on Koyeb
Set up Strapi as a production-ready content management backend for your website, blog, or application.
Build a Video Processing Pipeline with AssemblyAI on Koyeb
Learn how to build a powerful video processing pipeline with AssemblyAI and deploy it to Koyeb
Using LlamaIndex and MongoDB to Build a Job Search Assistant
Learn how to build a job search assistant with LlamaIndex using Retrieval-Augmented Generation (RAG) and MongoDB.
Using Wasp to Build Full-Stack Web Applications on Koyeb
Learn how to build and deploy applications written with Wasp, a Rails-like framework for React, Node.js, and Prisma.
How to Deploy Directus as a Backend-as-a-Service (BaaS) on Koyeb
Learn how to deploy and configure Directus, an open-data platform that can be used as a Backend-as-a-Service, headless CMS, or API.
How to Deploy Flowise to Koyeb to Create Custom AI Workflows
Learn how to set up Flowise, a platform for creating customized LLM orchestration workflows and AI agents, on Koyeb.
Using Autonomous AI Agents with SerpApi and AutoGPT to Build a Trip Planner
Learn how to create a trip planning application using autonomous AI agents in order to plan trips by analyzing user requirements and preferences.
Using Groq to Build a Real-Time Language Translation App
Learn how to use Groq, speech-to-text (STT), and text-to-speech (TTS) to build an app to automatically translate between languages in real-time.
Use LlamaIndex to Build a Retrieval-Augmented Generation (RAG) Application
Learn how to build a retrieval-augmented generation application to query general AI models with specific contextual information.
Using Astro and Server-Sent Events (SSE) to Build Realtime In-App Notifications
Learn how to create in-app notifications for an Astro application using server-sent events.
Build a Multimodal Chat App using LLava, Chainlit, and Replicate
This tutorial walks through how to build a multimodal vision chat app powered by LLaVa, Chainlit, and Replicate.
Build a Retrieval-Augmented Generation Chatbot using pgvector
In this tutorial, we show how to deploy an RAG chatbot built with the OpenAI embedding API, Replicate, pgvector, and the Koyeb Managed PostgreSQL service.
Use LlamaIndex, Streamlit, and OpenAI to Query Unstructured Data
Learn how to use LlamaIndex, a data framework specializing in context augmentation, to quickly query general LLMs with custom data.
Using LangServe to build REST APIs for LangChain Applications
Learn how to build and serve an API for LangChain applications with LangServe.
Use MistralAI, FastAPI, and FastUI to Build a Conversational AI Chatbot
This tutorial walks through how to build a chatbot powered by MistralAI, with FastAPI as the backend and FastUI as the front end.
Use PostgREST and HTMX to Build RESTful APIs from PostgreSQL Databases
Learn how PostgREST and HTMX can help you build APIs quickly directly from database queries.
Build a gRPC API using Go and gRPC-gateway
Build and deploy a Go gRPC API server with an HTTP gateway to improve access for web clients.
Using Spring Authorization Server as an Auth Solution on Koyeb
Deploy and configure your Spring Boot application with the customizable and lightweight Spring Authorization Server on Koyeb.
Use AutoGen, Chainlit, and OpenAI to Generate Dynamic AI Personas
Learn step-by-step how to set up and utilize AutoGen within Chainlit. You'll discover how to create and interact with AI personas that are tailored to your specific needs, be it scriptwriting for YouTube content or ideating SaaS products.
Use Django REST Framework and Managed Postgres to Build an API
This tutorial showcases how to build your own URL shortener like tiny.url and bit.ly using Django REST Framework, Managed Postgres, and Koyeb.
Deploy a Go Gin Application on Koyeb
This tutorial explains how to deploy a Go Gin application on the Koyeb serverless platform using git-driven deployment.
Use pgvector and Hugging Face to Build an Optimized FAQ Search with Sentence Similarity
In this tutorial, we showcase how to deploy a FAQ search service built with Hugging Face's Inference API, pgvector, Koyeb's Managed Postgres. The optimized FAQ Search leverages sentence similarity searching to provide the most relevant results to a user's search terms.
Use LangChain, Deepgram, and Mistral 7B to Build a Youtube Video Summarization App
This guide explains how to build a YouTube video summarization using Langchain, Deepgram, and Mistral 7B. Deploy your AI workload on Koyeb to enjoy high-performance microVMs, seamless scaling, and fast global deployments.
Deploy Apps Using Docker Compose on Koyeb
In this tutorial, we demonstrate how to deploy a Docker Compose project to Koyeb from a GitHub repository.
Deploy Preview Environments on Koyeb for GitHub Pull Requests
This guide explains how to automate deployments on Koyeb when you create a new pull request on GitHub repository using GitHub Actions.
Deploying GitHub Actions Self-Hosted runners on Koyeb
Learn how to deploy and run GitHub Actions self-hosted runners on Koyeb serverless platform.
Dynamically Start GitHub Action Runners on Koyeb
In this tutorial, we'll demonstrate how to configure the Koyeb GitHub Scheduler to dynamically provision GitHub Action runners on Koyeb.
Build and Run a Web App using Turso, Drizzle ORM, and Express on Koyeb
In this tutorial, we show how to create a web app using a Turso SQLite database, the Drizzle ORM, and Express and run it on Koyeb.
Monitor your Websites and Apps using Uptime Kuma
In this tutorial, we show how to deploy Uptime Kuma to configure monitoring and status pages for your services. We use Litestream to replicate all changes to our database to a remote object storage bucket for resiliancy.
Deploy Cal.com on Koyeb to Manage Scheduling with Google Calendar
In this tutorial, we demonstrate how to deploy a Cal.com instance to Koyeb to handle meeting scheduling with Google calendar integration.
How to Set Up DocuSeal on Koyeb to Sign and Manage Digital Documents
This guide shows how to deploy and configure DocuSeal, an open-source document managment platform, on Koyeb.
Deploy Authorizer to Handle User Authentication on Koyeb
This tutorial demonstrates how to deploy and configure Authorizer, an authentication and authorization framework to Koyeb.
Deploy Grafana on Koyeb and Build a Dashboard to Visualize GitHub Data
This tutorial shows you how to deploy a Grafana instance on Koyeb and use it to visualize data from your GitHub repositories.
How to Use Node-Schedule to Build and Deploy a Hacker News Aggregator
This guide explains how to use the node-schedule library to email users the top Hacker News posts on a cron-like schedule.
Deploy the Metabase Business Intelligence Platform to Koyeb
This guide explains how to deploy Metabase, an open-source business intelligence and data visualization platform to Koyeb.
Deploy a Ghost Blog in Production to Koyeb
This guide explains how to deploy Ghost, a modern blogging platform, to Koyeb.
Build and Deploy a gRPC-Web App Using Rust Tonic and React
At Koyeb, we focus on creating a powerful platform for running global real-time applications. To run your application in our platform, create an account for free.
Using WebSockets with Socket.io and Node.js on Koyeb
Learn how to build and deploy real-time applications by using WebSockets with Socket.io on Koyeb.
Deploy a Python Celery Worker
This guide explains how to deploy Python Celery Workers using git-driven deployment on Koyeb Serverless Platform.
Migrate from Heroku to Koyeb
This guide explains how to migrate and deploy your Herokus apps to the Koyeb serverless platform.
Add full-text search with MongoDB Atlas and MERN
This is the second part of our mini MERN series. In this guide, we showcase how to add search capabilities to the MERN blog we created in part one using MongoDB Atlas Search.
Use Remix and Tailwind to build a Hacker News clone
Discover how to use Remix and Tailwind to build a reactive frontend. This guide covers how to build a Hacker News clone application and deploy it on the Koyeb Serverless Platform for native global load balancing, autoscaling, autohealing, auto HTTPS (SSL) encryption, and more with zero configuration.
Get started with the MERN stack: Build a blog with MongoDB Atlas
Discover the MERN stack by learning how to build a blog application using MongoDB Atlas, Express, React, and Node. Then, learn how to deploy your MERN stack on the Koyeb Serverless Platform. This guide is the first in a mini-series on the MERN stack.
Build a Rust speed test using Actix and WebSockets
Learn how to build your own speed test to measure your network connection speed using Rust Actix and WebSockets and discover how to deploy it on the Koyeb serverless platform.
Deploy a GraphQL API with MongoDB Atlas and Apollo Server on Koyeb
Discover how to deploy a GraphQL API using MongoDB Atlas and Apollo Server. Apollo Server is s an open-source GraphQL server that provides an easy way to build a GraphQL API that can use data from multiple sources, including several databases and even REST APIs.
Add Authentication to your Apps using OAuth2 Proxy
This guide explains how to deploy OAuth2 Proxy to secure and add authentication to all your services on the Koyeb serverless platform.
How to Deploy a REST API with Flask, Fauna, and Authentication on Koyeb
This tutorial showcases how to build a REST API with Flask and a Fauna database and deploy it on Koyeb serverless platform. It also explains how to add authentication to a REST API.
How to Deploy a Rails Application and Add Authentication using Devise
This guide showcases how to add authentication to a Rails application by using Devise and deploy it into production on Koyeb Serverless Platform.
Deploy Docusaurus on Koyeb
This guide explains how to deploy Docusaurus sites using git-driven deployment on Koyeb Serverless Platform.
Deploy a Web Scraper using Puppeteer, Node.js and Docker on Koyeb
This guide shows how to deploy a web scraper using Puppeteer, Node.js, Docker and Express.js on the Koyeb Serverless Platform.
Deploy a Rest API using Koa, Prisma, and Aiven on Koyeb
This guide explains how to build and deploy a REST API using Koa, Prisma, and Aiven on the Koyeb serverless platform.
Deploy a Laravel Application with Continuous Deployment on Koyeb
This guide shows how to deploy a Laravel application on the Koyeb Serverless Platform using git-driven deployment. Git-driven deployment allows you to push your code without having to take care of the build, deployment, and run process. Koyeb handles all this for you.
Continuous Deployment of a NestJS Application on Koyeb
This guide explains how to continuously deploy a NestJS application on the Koyeb serverless platform.
Continuously Deploy a Flask App using Gunicorn on Koyeb
This guide shows how to deploy a Python Flask application using Gunicorn on the Koyeb Serverless Platform. Using Koyeb's git-driven deployment lets you benefit from the platform's built-in continuous deployment pipeline.
How to Deploy a Python Django Application using PlanetScale and Koyeb Serverless Platform
In this guide, we will demonstrate how to deploy a Python Django application using Koyeb Serverless Platform and PlanetScale.
Dockerize, Deploy and Run a Ruby on Rails application on Koyeb
This guide explains how to dockerize, deploy and run a Ruby on Rails application to production on the Koyeb serverless platform.
Deploy a RESTful Go API with Gin on Koyeb
This guide explains how to build and deploy a RESTful Go API using the Gin framework on the Koyeb serverless platform.
Dockerize and Deploy a Laravel Application to Production
This guide explains how to dockerize and deploy a Laravel application to production using Docker to containerized our app and the Koyeb Serverless Platform to run the application.
How to use Heroku Postgres with Koyeb Serverless Platform
This guide explains how to use and connect an Heroku Postgres database from a Koyeb app.
Running PostHog Product Analytics on Koyeb
This guide covers how to deploy the open-source PostHog product analytics app on the Koyeb serverless platform. With PostHogs, you can integrate product analytics into your app without needing to send data to third parties.
Deploy a Rust Web App With Rocket
This guide explains how to deploy a Rust web application using the Rocket web framework and deploy it on the Koyeb serverless platform.
Deploy a Node Express Application to Production
This guide explains how to deploy a Node.js Express application using Docker to containerize our app, GitHub actions to perform the CI and CD, and Koyeb Serverless Platform to run the application.
How to connect your apps to a PlanetScale database on Koyeb
This tutorial explains how to use and securely connect your apps to a PlanetScale database on the Koyeb serverless platform.
Use Kong API Gateway on Koyeb Serverless Platform
Discover how to leverage your microservices stack using Kong API Gateway with Koyeb Serverless Platform. In this guide, we do a quick tour of how to configure and use Kong Gateway. We explored the Kong plugin system and enable rate-limiting and auth on our services. We also showcase how to secure and restrict access to the Kong admin API.
How to Build and Deploy a Deno Application on Koyeb
This tutorial showcases how easy it is to build and deploy a Deno application to production on the Koyeb serverless platform.
Python Flask Application Deployment on Koyeb
This guide shows how to build a Docker image for your Flask application and how to deploy it on Koyeb serverless platform.
Deploy the Hasura GraphQL Engine to Expose and Create APIs from your Databases on Koyeb
This tutorial explains how to deploy and configure the Hasura GraphQL engine on Koyeb to instantly expose GraphQL API to query your database backend.
Deploy your own image processing API using Imaginary on Koyeb
This guide showcases how to configure and deploy imaginary on Koyeb to perform image processing on a global scale.
How to Dockerize and Deploy a Next.js Application on Koyeb
This tutorial explains how to dockerize a Next.js application and deploy it on Koyeb.