Available in VPC
Cloud DB for MongoDB is a fully managed cloud database service that allows you to easily build and manage MongoDB databases. Cloud DB for MongoDB provides CLIs for database management features with the vmongodb command.
Common Cloud DB for MongoDB (VPC) settings
This section covers the command and option formats used across the Cloud DB for MongoDB (VPC) CLI.
Syntax
Run vmongodb using the following syntax.
./ncloud vmongodb <subcommand> [options]
Options
The following options are available across all vmongodb subcommands:
| Options | Type | Required | Description |
|---|---|---|---|
--regionCode |
String | Optional | Region code
|
--output |
String | Optional | Format of the response result
|
Cloud DB for MongoDB (VPC) commands
The following subcommands are available under vmongodb.
DB Server
The following describes the DB server-related commands:
| Commands | Description |
|---|---|
| createCloudMongoDbInstance | Create Cloud DB for MongoDB instances. |
| getCloudMongoDbInstanceList | Get Cloud DB for MongoDB instance list. |
| getCloudMongoDbInstanceDetail | Get Cloud DB for MongoDB instance details. |
| changeCloudMongoDbConfigCount | Change the number of config servers for a Cloud DB for MongoDB instance. |
| changeCloudMongoDbMongosCount | Change the number of mongos servers for a Cloud DB for MongoDB instance. |
| changeCloudMongoDbSecondaryCount | Change the number of secondary servers for a Cloud DB for MongoDB instance. |
| changeCloudMongoDbShardCount | Change the number of shards for a Cloud DB for MongoDB instance. |
| rebootCloudMongoDbServerInstance | Restart Cloud DB for MongoDB server instances. |
| deleteCloudMongoDbInstance | Delete Cloud DB for MongoDB instances. |
DB User
The following describes the DB user-related commands:
| Commands | Description |
|---|---|
| addCloudMongoDbUserList | Add a user to a Cloud DB for MongoDB instance. |
| getCloudMongoDbUserList | Get the user list for a Cloud DB for MongoDB instance. |
| changeCloudMongoDbUserList | Edit user information for a Cloud DB for MongoDB instance. |
| deleteCloudMongoDbUserList | Delete a user from a Cloud DB for MongoDB instance. |
Backup
The following describes the backup-related commands:
| Commands | Description |
|---|---|
| getCloudMongoDbBackupList | Get the Cloud DB for MongoDB instance backup list. |
| getCloudMongoDbBackupDetailList | Get the list of Cloud DB for MongoDB instance backup details. |
| exportBackupToObjectStorage | Send Cloud DB for MongoDB instance backup files to Object Storage. |
DB Server Log
The following describes the DB server logs-related commands:
| Commands | Description |
|---|---|
| getDbServerLogList | Get the DB server log list of a Cloud DB for MongoDB instance. |
| exportDbServerLogToObjectStorage | Send DB server log files in a Cloud DB for MongoDB instance to Object Storage. |
Common
Use the following common lookup commands when creating resources:
| Commands | Description |
|---|---|
| getCloudMongoDbImageProductList | Get the list of Cloud DB for MongoDB image product codes. |
| getCloudMongoDbProductList | Get the list of Cloud DB for MongoDB server specification codes. |
| getCloudMongoDbTargetVpcList | Get VPC list. |
| getCloudMongoDbTargetSubnetList | Get subnet list. |
| getCloudMongoDbBucketList | Get Object Storage bucket list. |
Cloud DB for MongoDB (VPC) related resources
These resources provide additional context and support for the Cloud DB for MongoDB (VPC) CLI.
- Cloud DB for MongoDB (VPC) CLI guides
- CLI download: Learn how to download and install the Ncloud CLI.
- Authenticate CLI: How to set an API authentication key and manage profiles
- CLI usage: Review the Ncloud CLI command structure, option syntax, and output formats.
- Cloud DB for MongoDB (VPC) CLI service guides
- Cloud DB for MongoDB user guide: How to use Cloud DB for MongoDB in the NAVER Cloud Platform console
- Cloud DB for MongoDB API guide: Learn how to call Cloud DB for MongoDB APIs.
- Cloud DB for MongoDB user environment guide: Explore VPC and Classic environments and supported services.
- Pricing and features: View pricing details and key capabilities.
- Latest announcements: Stay informed about Cloud DB for MongoDB updates and news.
- FAQs: Get answers to common Cloud DB for MongoDB questions.
- Contact Support: Get help if you can't find what you need in the CLI guide.