Skip to main content
Version: v5.1

OCI ScaleGrid requirements

ScaleGrid Overview#

ScaleGrid is a requirement for OCI installations. ScaleGrid offers a fully managed MongoDB service running within your own private cloud. It handles deployment, upgrades, backup/restore, and monitoring.

This page describes how to set up ScaleGrid, with references to the ScaleGrid documentation on their website.

Setting up ScaleGrid#

The main steps in setting up ScaleGrid are as follows:

  1. Create a ScaleGrid Account
  2. Set up the ScaleGrid Cloud Profile for OCI
  3. Create the ScaleGrid MongoDB Cluster
  4. Connect to the ScaleGrid MongoDB Cluster

Create a ScaleGrid Account#

To create a ScaleGrid account, refer to Bring Your Own Cloud Plans in the Getting Started with ScaleGrid section on the ScaleGrid website.

Set up the ScaleGrid Cloud Profile for OCI#

To set up the OCI Cloud Profile, follow the Setup an OCI Cloud Profile section on the ScaleGrid website.

Create the ScaleGrid MongoDB Cluster#

Using the OCI Cloud Profile set up in the previous step, create a ScaleGrid MongoDB cluster by referring to the Bring Your Own Cloud Plans section on the ScaleGrid website.

Connect to the ScaleGrid MongoDB Cluster#

To connect to the ScaleGrid MongoDB Cluster, do the following:

  1. Using the client of your choice, follow the steps in Connecting to MongoDB Cluster with ScaleGrid on the ScaleGrid website.
  2. Create the necessary users and roles. First, connect using the MongoDB client.
  3. Enter the commands listed in the code sample below. Replace the placeholder XXXXX with a password that meets your security guidelines for database users. All other usernames and database names match the default values from the Platform Helm Chart.
db.createUser(  {    user: "itemsvc_app",    pwd: "XXXXX",    roles: [      {        role: "readWrite",        db: "itemsdb"      }    ]  });db.createUser(  {    user: "metricssvc_app",    pwd: "XXXXX",    roles: [      {        role: "readWrite",        db: "metricssvcdb"      }    ]  });db.createUser(  {    user: "graphicssvc_app",    pwd: "XXXXX",    roles: [      {        role: "readWrite",        db: "graphicssvcdb"      }    ]  });db.createRole(  {    role: "collModItemsDB",    privileges: [      {        resource: {          db: "itemsdb",          collection: ""        },        actions: [          "collMod"        ]      }    ],    roles: []  });db.updateUser("itemsvc_app",  {    roles: [      {        role: "readWriteAnyDatabase",        db: "admin"      },      {        role: "collModItemsDB",        db: "admin"      }    ]  });