High-performance, flexible, document-oriented NoSQL database for JSON with native support for hierarchical data and ad-hoc queries.
Version:
8.0.19
back to Marketplace
mongosh "mongodb://<USUARIO>:<PASSWORD>@<IP_DE_LA_VM>:30017/?authSource=admin"
mongodb://<USERNAME>:<PASSWORD>@<VM_IP>:30017/<database>?authSource=admin
# Python (pymongo)
from pymongo import MongoClient
client = MongoClient("mongodb://root:<PASSWORD>@<IP_DE_LA_VM>:30017/?authSource=admin")
// Node.js (mongoose)
mongoose.connect("mongodb://root:<PASSWORD>@<IP_DE_LA_VM>:30017/mi_app?authSource=admin");
ℹ️ The parameter ?authSource=admin is required when connecting as the root user. Without it, authentication will fail.
# View the MongoDB pod
`kubectl get pods -A | grep mongodb`
# View the installation log
`tail -f /var/log/cuemby/bootstrap.log`
# Verify that the port is listening
`ss -tlnp | grep 30017`
Expected output:
NAME READY STATUS RESTARTS
mongodb-xxxxxxxxx-xxxxx 1/1 Running 0 ← Running ✓
ℹ️ If you did not set a password during deployment, look for it in the deployment outputs in the Cuemby portal.
// Select or create a database
use my_app
// Insert a document
db.users.insertOne({ name: "Martin", active: true, role: "admin" })
// Query documents
db.users.find({ active: true })
// Create an index
db.users.createIndex({ name: 1 })
// List databases
show dbs
IaaS
Cuemby Cloud is enterprise-grade cloud infrastructure managed from a single console, built for stronger security, predictable operations, and easy scaling across regions.
Datacenters regions available in Colombia, Ecuador, and Chile
Backed by Tier III / Tier IV data center locations
Zero Network Ingress and Egress Fees
24/7 local expert support