Available in VPC
You can easily build and automatically manage MongoDB databases with Cloud DB for MongoDB. It is a fully managed cloud database service that operates stably through NAVER's optimization settings, and it automatically recovers in case of failure occurrence. Cloud DB for MongoDB provides APIs for database management features in RESTful form.
Common Cloud DB for MongoDB settings
The following describes commonly used request and response formats in Cloud DB for MSSQL APIs.
Request
The following describes the common request format.
API URL
The request API URL is as follows:
https://ncloud.apigw.ntruss.com/vmongodb/v2
Request headers
The following describes the request headers.
Field | Required | Description |
---|---|---|
x-ncp-apigw-timestamp |
Required | This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC. |
x-ncp-iam-access-key |
Required | Access key issued on NAVER Cloud Platform |
x-ncp-apigw-signature-v2 |
Required | Base64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256) |
Response
The following describes the common response format.
Response status codes
Cloud DB for MongoDB APIs use NAVER Cloud Platform's common response status codes. For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.
Cloud DB for MongoDB API
The following describes the APIs provided by the Cloud DB for MongoDB API service.
API | Description |
---|---|
addCloudMongoDbUserList | Add Cloud DB for MongoDB user. |
changeCloudMongoDbConfigCount | Change the number of config servers for Cloud DB for MongoDB. |
changeCloudMongoDbMongosCount | Change the number of mongos servers for Cloud DB for MongoDB. |
changeCloudMongoDbSecondaryCount | Change the number of secondary servers for Cloud DB for MongoDB. |
changeCloudMongoDbShardCount | Change the number of shards for Cloud DB for MongoDB. |
changeCloudMongoDbUserList | Edit Cloud DB for MongoDB user information. |
createCloudMongoDbInstance | Create Cloud DB for MongoDB instances. |
deleteCloudMongoDbInstance | Delete Cloud DB for MongoDB instances. |
deleteCloudMongoDbUserList | Delete Cloud DB for MongoDB users. |
exportBackupToObjectStorage | Send Cloud DB for MongoDB backup files to Object Storage. |
exportDbServerLogToObjectStorage | Send Cloud DB for MongoDB database server log files to Object Storage. |
getCloudMongoDbBackupDetailList | Get Cloud DB for MongoDB backup details. |
getCloudMongoDbBackupList | Get Cloud DB for MongoDB backup list. |
getCloudMongoDbBucketList | Get the list of Object Storage buckets available for use in Cloud DB for MongoDB. |
getCloudMongoDbImageProductList | Get Cloud DB for MongoDB product code list. |
getCloudMongoDbInstanceDetail | Get Cloud DB for MongoDB instance details. |
getCloudMongoDbInstanceList | Get Cloud DB for MongoDB instance list. |
getCloudMongoDbProductList | Get the list of Cloud DB for MongoDB server specification codes available for use. |
getCloudMongoDbTargetSubnetList | Get the list of available subnets. |
getCloudMongoDbTargetVpcList | Get the list of available VPCs. |
getCloudMongoDbUserList | Get Cloud DB for MongoDB user list. |
getDbServerLogList | Get the list of Cloud DB for MongoDB database server logs. |
rebootCloudMongoDbServerInstance | Restart Cloud DB for MongoDB server instances. |
Cloud DB for MongoDB related resources
NAVER Cloud Platform provides a variety of related resources to help users better understand Cloud DB for MongoDB APIs.
- Cloud DB for MongoDB API guides
- Create signature: how to create a signature to add to the request header
- API Gateway User Guide: how to issue the API key to be added to the request header
- Sub Account User Guides: how to issue the access key to be added to the request header
- Common Ncloud response status codes: information on common response status codes of NAVER Cloud Platform used by Cloud DB for MongoDB
- How to use the Cloud DB for MongoDB service
- Cloud DB for MongoDB User Guide: how to use Cloud DB for MongoDB in the NAVER Cloud Platform console
- Introduction to pricing, characteristics, and detailed features: the summary of pricing system, characteristics, and detailed features of Cloud DB for MongoDB
- Latest service news: the latest news on Cloud DB for MongoDB
- FAQ: frequently asked questions from Cloud DB for MongoDB users
- Contact us: Send direct inquiries for unresolved questions that aren't answered by the API guide.