Documentation Index

Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

Cloud DB for MongoDB 개요

Prev Next

Cloud DB for MongoDB는 MongoDB 데이터베이스를 손쉽게 구축하고 자동으로 관리할 수 있는 완전 관리형 클라우드 데이터베이스 서비스입니다. Cloud DB for MongoDB에서는 데이터베이스 관리 기능에 대한 CLI를 vmongodb 명령어로 제공합니다.

Cloud DB for MongoDB 공통 설정

Cloud DB for MongoDB CLI에서 공통으로 사용하는 명령어와 옵션 형식을 설명합니다.

구문

vmongodb는 다음 구문으로 실행합니다.

./ncloud vmongodb <subcommand> [options]

옵션

vmongodb에서 공통으로 사용할 수 있는 옵션입니다.

옵션 타입 필수 여부 설명
--regionCode String Optional 리전 코드
--output String Optional 응답 결과의 형식
  • json (기본값) | xml

Cloud DB for MongoDB 명령어

vmongodb 명령어에서 실행할 수 있는 하위 명령어 목록입니다.

DB Server

DB Server 관련 명령어는 다음과 같습니다.

명령어 설명
createCloudMongoDbInstance Cloud DB for MongoDB 인스턴스 생성
getCloudMongoDbInstanceList Cloud DB for MongoDB 인스턴스 목록 조회
getCloudMongoDbInstanceDetail Cloud DB for MongoDB 인스턴스 상세 정보 조회
changeCloudMongoDbConfigCount Cloud DB for MongoDB 인스턴스의 Config 서버 대수 변경
changeCloudMongoDbMongosCount Cloud DB for MongoDB 인스턴스의 Mongos 서버 대수 변경
changeCloudMongoDbSecondaryCount Cloud DB for MongoDB 인스턴스의 Secondary 서버 대수 변경
changeCloudMongoDbShardCount Cloud DB for MongoDB 인스턴스의 샤드 수 변경
rebootCloudMongoDbServerInstance Cloud DB for MongoDB 서버 인스턴스 재시작
deleteCloudMongoDbInstance Cloud DB for MongoDB 인스턴스 삭제

DB User

DB User 관련 명령어는 다음과 같습니다.

명령어 설명
addCloudMongoDbUserList Cloud DB for MongoDB 인스턴스에 사용자 추가
getCloudMongoDbUserList Cloud DB for MongoDB 인스턴스의 사용자 목록 조회
changeCloudMongoDbUserList Cloud DB for MongoDB 인스턴스의 사용자 정보 수정
deleteCloudMongoDbUserList Cloud DB for MongoDB 인스턴스에서 사용자 삭제

Backup

백업 관련 명령어는 다음과 같습니다.

명령어 설명
getCloudMongoDbBackupList Cloud DB for MongoDB 인스턴스의 백업 목록 조회
getCloudMongoDbBackupDetailList Cloud DB for MongoDB 인스턴스의 백업 상세 정보 목록 조회
exportBackupToObjectStorage Cloud DB for MongoDB 인스턴스의 백업 파일을 Object Storage로 전송

DB Server Log

DB Server 로그 관련 명령어는 다음과 같습니다.

명령어 설명
getDbServerLogList Cloud DB for MongoDB 인스턴스의 DB 서버 로그 목록 조회
exportDbServerLogToObjectStorage Cloud DB for MongoDB 인스턴스의 DB 서버 로그 파일을 Object Storage로 전송

Common

리소스 생성 시 참조하는 공통 조회 명령어는 다음과 같습니다.

명령어 설명
getCloudMongoDbImageProductList Cloud DB for MongoDB 이미지 상품 코드 목록 조회
getCloudMongoDbProductList Cloud DB for MongoDB 서버 스펙 코드 목록 조회
getCloudMongoDbTargetVpcList VPC 목록 조회
getCloudMongoDbTargetSubnetList Subnet 목록 조회
getCloudMongoDbBucketList Object Storage 버킷 목록 조회

Cloud DB for MongoDB연관 리소스

Cloud DB for MongoDB CLI에 대한 사용자의 이해를 돕기 위해 다양한 연관 리소스를 제공하고 있습니다.