- Estimated time to complete: 5 minutes
- Start your trial on the ScaleGrid Console.
- Select “Dedicated Hosting” on the Getting Started page, click New Cluster in the bottom right-hand corner, and select New MongoDB Cluster:
- Name: In the pop-up menu, set a name for your cluster using alphanumeric characters.
- Cloud Profile: Choose from the 12 AWS data centers, 24 GCP data centers, 8 DigitalOcean data centers, 21 Oracle Cloud data centers and 12 Azure data centers to host your MongoDB dedicated clusters through ScaleGrid. Check out the data centers available under each cloud provider for MongoDB here.
- VM Size: Select your virtual machine (VM) size for the MongoDB cluster you wish to create, ranging from Micro to X4XLarge.
- Version: Then, select the MongoDB version that you wish to use.
- Storage Engine: Lastly, select either WiredTiger or MMAP v1 as the storage engine to use for your MongoDB cluster.
After you've entered and reviewed all the information on the 1. New Cluster step, click the green Next button.
You have the option to enable replica sets for your MongoDB cluster. Select the Yes checkbox, and then choose your replica type. From there, you will be prompted to select data center you'd like to use for each replica:
If you wish to enable sharding for your MongoDB cluster, you must first enter your payment information in the billing portal.
Next, you can enable SSL, encrypt your data disk, and enable disk compression. Click these boxes to enable, and select either Snappy or zlib as the compression algorithm you wish to use. After configuring, click the green Next button:
You also have the option to import data from your existing MongoDB deployments into your new cluster. Simply turn on the “Import your data” button, and enter the following details on the data you’d like to import before clicking “Next”:
- Server name
- Database name
- Authentication DB
- SSL enabled (optional)
On the last page, review the MongoDB Dedicated Cluster details you’ve entered, and if all the information is correct, click “Create”.
Find detailed instructions with code samples on our Connecting to MongoDB page.
Your cluster is now being created! This process takes 15-20 minutes, and the “Creating” status on the right-hand side will change to “Running” once it’s complete. While your cluster is being created, grab your credentials to connect to your MongoDB by going into your new cluster, and then clicking “Show” next to the Credentials section halfway down your cluster page.
Updated 4 months ago