Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Azure-Samples/qdrant-azure
Qdrant Vector Database on Azure Cloud
https://github.com/Azure-Samples/qdrant-azure
azure azure-container-instances azure-kubernetes-service azure-resource-templates docker qdrant-vector-database
Last synced: 2 months ago
JSON representation
Qdrant Vector Database on Azure Cloud
- Host: GitHub
- URL: https://github.com/Azure-Samples/qdrant-azure
- Owner: Azure-Samples
- License: mit
- Created: 2023-02-06T21:58:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-11T20:23:51.000Z (10 months ago)
- Last Synced: 2024-04-11T17:03:10.435Z (9 months ago)
- Topics: azure, azure-container-instances, azure-kubernetes-service, azure-resource-templates, docker, qdrant-vector-database
- Language: Shell
- Homepage:
- Size: 726 KB
- Stars: 79
- Watchers: 146
- Forks: 21
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Qdrant Vector Database on Azure Cloud
This project combines the power of the Qdrant Vector Database with the Microsoft Azure Cloud
allowing you to bring Vector Search and Embeddings storage to your AI products.## Getting started
You have several options for how to get Qdrant running on Azure:
- [Azure Kubernetes Service](Azure-Kubernetes-Svc/README.md)
- [Qdrant Container in Docker](Local-Docker-Deployment/README.md)## Prerequisites
To get started, users will need access to an Azure subscription.
To deploy using the Deploy to Azure button which leverages an ARM template, you need write access on the resources you're deploying and access to all operations on the Microsoft.Resources/deployments resource type.
## Installation
### Azure Kubernetes Service
To deploy Qdrant to a cluster running in Azure Kubernetes Services, go to the `Azure-Kubernetes-Svc` folder and follow instructions in the `README.md` to deploy to a Kubernetes cluster with Load Balancer on Azure Kubernetes Services (AKS).
You can quickly create an **Azure Kubernetes Service** cluster by clicking the Deploy to Azure button below. After creating your AKS cluster, go to the `Azure-Kubernetes-Svc` folder to deploy **Qdrant** into the AKS cluster using **Helm**.
#### AKS Prerequisites
**PLEASE NOTE! ensure that you have a resource group and ssh key in that resource created before selecting the Deploy to Azure Button below. More details can be found in README.md in [Azure Kubernetes Service README.md](Azure-Kubernetes-Svc/README.md)**[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fqdrant-azure%2Fmain%2FAzure-Kubernetes-Svc%2Faks-arm-deploy.json)
### Docker (Local)
To develop against and run Qdrant locally.
**VS Code Dev Container**
This project contains a dev container configuration which can be used for local development. To learn more about using a dev container, please review [Developing inside a Container](https://code.visualstudio.com/docs/devcontainers/containers).**Docker Locally**
To run the **Qdrant** vector database running in **Docker** locally, please follow the instructions from Qdrant's website:
[Install Qdrant with Docker](https://qdrant.tech/documentation/install/#with-docker)To run Qdrant with Docker locally, you can use the following command using default values stored in the file `.config/config.yaml` located in the `Local-Docker-Deployment` folder.
```bash
docker run -p 6333:6333 \
-v $(pwd)/path/to/data:/qdrant/storage \
-v $(pwd)/path/to/custom_config.yaml:/qdrant/config/production.yaml \
qdrant/qdrant
```You can overwrite values by creating and adding new records to a file `./config/production.yaml`. An example of the production.yaml file located in the `Local-Docker-Deployment` directory. Please review the [Qdrant documentation](https://qdrant.tech/documentation/install/#configuration) to learn more information on configuration options for **Qdrant**.
## Resources for Learning More
- [Semantic Kernel Blog: The Power of Persistent Memory with Semantic Kernel and Qdrant Vector Database](https://devblogs.microsoft.com/semantic-kernel/the-power-of-persistent-memory-with-semantic-kernel-and-qdrant-vector-database/)
- [Qdrant Vector Search [Vector Database]](https://qdrant.tech/)
- [Qdrant Integration with OpenAI](https://qdrant.tech/documentation/integrations/#openai)
- [Azure Container Instances (ACI)](https://learn.microsoft.com/azure/container-instances/)
- [Azure Kubernetes Service (AKS)](https://learn.microsoft.com/azure/aks/)
- [Docker Desktop](https://docs.docker.com/desktop/)