Cloud DB for MongoDB (VPC) overview

Prev Next

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.
  • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes.
  • x-ncp-iam-access-key Required Access key issued on NAVER Cloud Platform
  • Issue and check access key: See Create authentication key.
  • Issue and check access key for sub account: See Create sub account.
  • 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)
  • Issue and check secret key: See Create authentication key.
  • Create signature: See Create signature.
  • 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.