MongoDB Atlas
Create a free Vantage account then follow the steps below to integrate MongoDB Atlas costs.
Prerequisites
Vantage integrates with your MongoDB account through the use of the Invoices API. To see Active Resources for your MongoDB Atlas account, Vantage uses the Clusters API and the Projects API.
To create an API key for Vantage to ingest costs, you must be an Organization Owner inside the MongoDB Atlas console. To add the API key to relevant projects to use Active Resource Inventories inside Vantage, you must be a Project Owner in the MongoDB Atlas console.
Connecting your MongoDB Atlas Account
To connect your MongoDB Atlas account, open the MongoDB Atlas Settings page in the Vantage console. Follow the instructions which require performing the following operations in the MongoDB Atlas console. Begin by clicking Add API Key
in the Vantage console.
Get your Organization ID
In the MongoDB Atlas console, click the Gear icon to go to Organization Settings.
Copy the Organization ID and supply this to Vantage under "Organization ID".
This is the first required piece of information to supply to Vantage. Below you will create an API key and give it read-only permissions to your invoices and optionally to cluster-level cost data.
Create an Organization API Key
Next, choose "Access Manager" in the pane on the left.
Click "Create an API Key", give it a name like "Vantage Integration" and grant it Organization Read Only and Organization Billing Viewer permissions.
Copy the Public Key and the Private Key into the "Public API key" and "Private API key" fields in Vantage.
If your API Key Access List uses an IP allowed list for access control, you will need to add the following IPs to that allowed list:
54.87.66.45
3.95.43.133
54.162.3.72
44.199.143.63
Click Add Key
to grant Vantage read-only access to the Invoices API or proceed with the next steps to have Vantage ingest per-cluster resource data from MongoDB Atlas.
Grant Project Access for Active Resources
Under "Organization" select "Projects" to see your list of Atlas projects.
Click on the Project and click on the Gear icon to go to Project Settings.
Invite the Vantage Integration API key to this and any other projects for which you want to see resource level costs. You can search for the API Key in the box.
Select the Vantage Integration API key and grant it Project Read Only access.
If successful, you will see the Vantage API key added to the project and your Active Resources will begin populating with cost data.
Back in the Vantage console, click Add Key
and your MongoDB Atlas integration status should move from Pending
to Importing
automatically. MongoDB Atlas data is refreshed once a day.
MongoDB Atlas Reporting Dimensions
MongoDB Atlas Cost Reports enable you to filter MongoDB costs along several dimensions:
- Service
- Region
- Cost Category
- Resource level costs such as Realm costs