Milvus Powered by GlobalSolutions
Milvus is an open-source vector database designed to handle and search massive amounts of vector data, typically generated by machine learning models. It excels in similarity searches, making it perfect for applications like recommendation systems, image and audio similarity searches, and fraud detection. Milvus is renowned for its high performance, scalability, and capacity to manage billions of vectors. At GlobalSolutions, we’ve packaged the Milvus database to enable our customers to start quickly without the need to build, package, or deploy it themselves.
Access to the Milvus Database
We have deployed the Milvus stack in containers, and as the EC2 instance boots up, Milvus will be operational. We’ve installed all necessary tools to connect to the Milvus database and create collections and fields. You can connect using a Python program or the Milvus CLI. A sample con.py is provided under home/ubuntu/connection/connection.
We’ve created a virtual environment named 'connection' with all relevant tools. The first step to access the Milvus Database is to activate this environment. Follow these steps:
- Log in to the EC2 instance using your preferred connection method.
- Navigate to the
connection/connectionfolder from the home directory. - Activate the virtual environment with the following command:
source ./bin/activate
This command will place you in the virtual environment.
The 'connection' virtual environment includes all tools needed to connect to the Milvus DB. The sample con.py program can connect to the Milvus DB and can be extended for additional actions. You can also use the Milvus CLI to connect.
How to Connect Using Milvus CLI
With the Milvus CLI, you can create databases, collections, fields, and more. To start the Milvus CLI, use the following command:
~/home/ubuntu/connection/connection/milvus_cli
This command opens the Milvus CLI prompt. Try the basic commands below:
connect- Connects to the Milvus database.list databases- Lists all databases.create database -db name- Creates a new database (replace 'name' with the actual name).use database-name- Switches to the specified database.create collection- Guides you through creating a collection (similar to a table/schema in a SQL database).
Support
For any questions or assistance with our AWS Marketplace offering, reach out to us at support@theglobalsolutions.net.