Connect MongoDB
Connect your MongoDB account to Cloudability to ingest your cost and usage data.
After you connect to MongoDB, it takes 4 to 24 hours for your initial cost and usage data to appear in Cloudability. During this time, a message indicates that the process is not yet complete.
If you are purchasing MongoDB via a cloud provider marketplace and adding cost and usage data for MongoDB with this integration, you will see costs displayed twice in Cloudability reporting. As an example, if you purchased MongoDB via the AWS Marketplace, you will see:
- The high-level line item for AWS
- The line items with detailed MongoDB costs, with "AWS Marketplace" listed as Seller.
If you want to hid your marketplace costs, set up a filter. Marketplace costs are excluded from billing.
Before you start
- You are a Cloudability administrator.
- You have admin permissions in the MongoDB console.
Integrate with MongoDB
Get your Organization ID
- Go to the MongoDB Atlas console.
- Click the gear icon next to the Organization dropdown menu.
- Select Organization Settings.
- Copy the your Organization ID.
- Open Cloudability in a new tab or window.
- In Cloudability, go to Settings > Vendor Credentials.
- In the Ingress section, choose the MongoDB tile. The Add MongoDB Account panel opens.
- Read the information presented and choose the Next button when you are ready to proceed.
- Paste the copied Organization ID into the Organization ID field.
Leave Cloudability open in its tab or window while you create an organization API Key in MongoDB.
Create an Organization API Key
- Go back to your MongoDB tab or window.
- Go the Access Manager page in the MongoDB Atlas console.
- Click Create API Key.
- Click the gear icon next to the Organization dropdown menu, and select Organization Settings.
- Enter the API Key information.
- In the Description box, enter a description (e.g., Cloudability Access).
- In the Organization Permissions menu, select the Organization Billing Viewer role.
- Click Next.
- Copy the public and private keys.
- Go back to your Cloudability tab or window.
- Paste the Public Key and Private Key into their respective fields.
- From the Subscription Model field, choose whether your organization uses a Marketplace or buys Direct from MongoDB.
- Choose the Save button.
By default, MongoDB restricts API access using the IP Access List for the Atlas Administration API. If this is not disabled for your organization, use the following IP ranges to give MongoDB access to Cloudability:
- 185.115.88.0/22
- 103.195.128.0/22