Production-ready vector database for AI/RAG applications on Amazon Linux 2023
Get your Qdrant vector database up and running in minutes
SSH into your instance using the key pair you selected during launch
ssh -i your-key.pem ec2-user@your-instance-ip
API keys are auto-generated on first boot. View them securely
sudo cat /opt/flowops/credentials.txt
Open the Qdrant web dashboard in your browser
https://your-instance-ip:6333/dashboard
Verify Qdrant is running with a simple API call
curl -k -H "api-key: YOUR_API_KEY" \
https://localhost:6333/collections
Everything you need to know about your Qdrant instance
# Credentials and API keys
/opt/flowops/credentials.txt
# Qdrant configuration
/etc/qdrant/config.yaml
# Data directory (separate EBS volume)
/qdrant-data/storage # Collections and vectors
/qdrant-data/snapshots # Local snapshots
# Service management
sudo systemctl status qdrant
sudo systemctl restart qdrant
sudo journalctl -u qdrant -f
API keys are auto-generated on first boot and stored in credentials.txt. Keep them secure and never share them publicly. The Read-Only key can only perform search operations.
Quick example using the official Qdrant Python client
# Install the client
pip install qdrant-client
# Connect to your Qdrant instance
from qdrant_client import QdrantClient
from qdrant_client.models import VectorParams, Distance
client = QdrantClient(
url="https://your-instance-ip:6333",
api_key="your-admin-api-key",
https=True
)
# Create a collection for OpenAI embeddings (1536 dimensions)
client.create_collection(
collection_name="documents",
vectors_config=VectorParams(size=1536, distance=Distance.COSINE)
)
# Insert vectors
client.upsert(
collection_name="documents",
points=[
{"id": 1, "vector": [0.1] * 1536, "payload": {"text": "Hello world"}},
{"id": 2, "vector": [0.2] * 1536, "payload": {"text": "Qdrant is great"}}
]
)
# Search for similar vectors
results = client.search(
collection_name="documents",
query_vector=[0.15] * 1536,
limit=5
)
Keep your data safe and monitor performance
Setup automated snapshots to S3 with one command
sudo /opt/flowops/setup-backups.sh
Monitor collection sizes, queries, and performance
curl -k https://localhost:6333/metrics
Use health endpoints for load balancer integration
curl -k https://localhost:6333/healthz
Our UK-based support team is available 24/7 with guaranteed response within 24 hours
support@flowopsconsulting.co.uk