Skip to content

Softlandia-Ltd/qdrant-azure-app-service

Repository files navigation

Azure App Service QDrant Deployment with Authentication (+ optional gRPC)

This repository provides an Azure Resource Manager (ARM) template for deploying QDrant, a vector similarity search engine with extended filtering support, to Azure Web App for Containers. It also demonstrates how to leverage Azure's built-in authentication for secure access to QDrant.

Prerequisites

Before proceeding with this guide, make sure you have:

  • An active Azure account. If you don't have one, you can create a free account before you begin.

Deployment

Deploying the application to Azure is as simple as clicking the "Deploy to Azure" button below.

Deploy to Azure

The link will direct you to the Azure portal with pre-filled parameters from the ARM template. You'll need to fill in any remaining necessary parameters (e.g., subscription, resource group, app service names etc.), then click "Review + create" to validate and deploy the template.

Post Deployment Configuration

After successful deployment, you need to enable Azure's built-in authentication:

  1. Go to the Azure portal and navigate to your App Service.
  2. Under the "Settings" menu, click on "Authentication".
  3. Click "Add identity provider".
  4. Use the following settings, replace "GetStartedWebApp" with your own app name: Authentication Settings
  5. See the detailed guide below for a Python example that accesses the QDrant database

Optional: enabling gRPC

To enable gRPC on Azure App Service, you need to add the following configuration to Configuration -> General Settings:

grpc

To environment variables add the following:

HTTP20_ONLY_PORT = 6334
WEBSITES_PORT = 6333

Running the samples & detailed guides

The samples in this repository can be run by installing the dependencies and editing your instance settings to the code.

Check out the blog posts for detailed guides on how to deploy QDrant to Azure App Service and access it securely:

Part 1

Part 2 (gRPC, FastAPI and Async Python)

About

ARM template to deploy QDrant to Azure Web App for Containers using Azure's built-in authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages