Actions23
MongoDB → Create
AI-generatedSummary
Create a MongoDB cluster on IONOS Cloud DBaaS.
Inputs
- displayName (required) — The display name of the cluster/replica set.
- mongoVersion (required) — The MongoDB version (e.g., 5.0, 6.0, 7.0).
- templateId (required) — The unique ID of the template which specifies cores, storage size, and memory. Use /templates to get available templates.
- instances (required) — The number of instances in the cluster (1-5).
- location (required) — The location/region for the database (e.g., de/fra).
- connections — Optional. Connection parameters including datacenter ID, LAN ID, and CIDR list for cluster IP allowlisting. Must provide as many IPs as instances; all IPs must be in a /24 network.
Output shape
The created MongoDB cluster resource returned by the IONOS API, wrapped in n8n execution metadata.
Resource allocation (cores, RAM, storage) is controlled via the templateId parameter; the ram and storageSize UI parameters are declared but not sent in the API request for MongoDB clusters.
Examples
Example 1: Create a single-node MongoDB cluster with version 6.0 in Frankfurt using a specific template.
displayName: 'my-mongo-cluster'; mongoVersion: '6.0'; templateId: '6b78d3d3-3381-4493-8c04-76f4f034d20e'; instances: 1; location: 'de/fra'