ScaleGrid Bring Your Own Cloud plans are available under three different cloud providers:
- Bring Your Own Cloud - AWS
- Bring Your Own Cloud - Azure
- Bring Your Own Cloud - Google Cloud Platform
- Bring Your Own Cloud - Oracle Cloud Infrastructure
Estimated time to complete: 5 minutes
- Start your trial on the ScaleGrid Console
- Select “Bring Your Own Cloud” on the Getting Started page, click New cloud profile in the bottom right-hand corner, and then select either AWS, Azure, GCP or OCI to connect to your own cloud account:
All Bring Your Own Cloud plans must have a Cloud Profile created before you can create your cluster. This process takes only a couple minutes to set up, and you can create one for these cloud providers:
- Setup an AWS EC2 Cloud Profile
- Setup an Azure (ARM) Cloud Profile
- Setup a GCP Cloud Profile
- Setup a OCI Cloud Profile
You must first create a Cloud Profile before creating a MongoDB cluster.
Let's get started creating a MongoDB cluster. After completing the Cloud Profile setup, click on the blue "Create cluster" button in the pop-up window. You can also create a Bring Your Own Cloud MongoDB cluster from the Getting Started page, or on the MongoDB page accessible in the left-hand side menu.
- Enter a name for your MongoDB cluster.
- Cloud Profile: Your newly created one should be selected by default.
- VM Size: Select your MongoDB cluster VM size, from Micro to X4XLarge (this will dynamically scale as you grow!).
- Version: Select the version of MongoDB that you'd like to use.
Review this information, then 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:
We recommend you distribute your replica sets across three different availability zones. If you're using a VPC, please create three cloud profiles - one per subnet/availability zone.
If you wish to enable sharding for your MongoDB cluster, you must first enter your payment information in the billing portal. Open a new tab to visit the Console Settings to add a credit card, or click the green Next button to proceed:
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 cluster details for your Bring Your Own Cloud account, and 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 2 months ago