Cloud DB for PostgreSQL 개요

Prev Next

VPC 환경에서 이용 가능합니다.

Cloud DB for PostgreSQL은 PostgreSQL 데이터베이스를 손쉽게 구축하고 자동으로 관리할 수 있습니다. 네이버의 최적화 설정을 통해 안정적으로 운영하며, 장애 발생 시 자동 복구하는 완전 관리형 클라우드 데이터베이스 서비스입니다. Cloud DB for PostgreSQL에서는 데이터베이스 관리 기능에 대한 API를 RESTful 형태로 제공합니다.

Cloud DB for PostgreSQL 공통 설정

Cloud DB for PostgreSQL API에서 공통으로 사용하는 요청 형식과 응답 형식을 설명합니다.

요청

공통 요청 형식을 설명합니다.

API URL

요청 API URL은 다음과 같습니다.

https://ncloud.apigw.gov-ntruss.com/vpostgresql/v2

요청 헤더

요청 헤더에 대한 설명은 다음과 같습니다.

필드 필수 여부 설명
x-ncp-apigw-timestamp Required 1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간(밀리초)
  • API Gateway 서버와 5분 이상 시간차 발생 시 유효하지 않은 요청으로 간주
  • x-ncp-iam-access-key Required 네이버 클라우드 플랫폼에서 발급받은 Access Key
  • Access Key 발급 및 확인: 인증키 생성 참조
  • 서브 계정의 Access Key 발급 및 확인: 서브 계정 생성 참조
  • x-ncp-apigw-signature-v2 Required 네이버 클라우드 플랫폼에서 발급받은 Access Key에 맵핑되는 Secret Key 및 HMAC 암호화 알고리즘(HmacSHA256)으로 요청 정보를 암호화한 후 Base64로 인코딩한 서명
  • Secret Key 발급 및 확인: 인증키 생성 참조
  • 서명 생성: 시그니처 생성 참조
  • 응답

    공통 응답 형식을 설명합니다.

    응답 상태 코드

    Cloud DB for PostgreSQL API는 네이버 클라우드 플랫폼의 공통 응답 상태 코드를 사용합니다. 네이버 클라우드 플랫폼에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Ncloud API 응답 상태 코드를 참조해 주십시오.

    Cloud DB for PostgreSQL API

    Cloud DB for PostgreSQL API 서비스에서 제공하는 API에 대한 설명은 다음과 같습니다.

    API 설명
    addCloudPostgresqlDatabaseList Cloud DB for PostgreSQL Database 추가
    addCloudPostgresqlUserList Cloud DB for PostgreSQL DB User 추가
    changeCloudPostgresqlUserList Cloud DB for PostgreSQL DB User 정보
    createCloudPostgresqlInstance Cloud DB for PostgreSQL 인스턴스 생성
    createCloudPostgresqlReadReplicaInstance Cloud DB for PostgreSQL Read Replica 서버 인스턴스 생성
    deleteCloudPostgresqlDatabaseList Cloud DB for PostgreSQL Database 삭제
    deleteCloudPostgresqlInstance Cloud DB for PostgreSQL 인스턴스 삭제
    deleteCloudPostgresqlReadReplicaInstance Cloud DB for PostgreSQL Read Replica 서버 인스턴스 삭제
    deleteCloudPostgresqlUserList Cloud DB for PostgreSQL DB User 삭제
    exportBackupToObjectStorage Cloud DB for PostgreSQL 백업 파일을 Object Storage로 전송
    exportDbServerLogToObjectStorage Cloud DB for PostgreSQL 데이터베이스 서버 로그 파일을 Object Storage로 전송
    getCloudPostgresqlBackupDetailList Cloud DB for PostgreSQL 백업 상세 목록 조회
    getCloudPostgresqlBackupList Cloud DB for PostgreSQL 백업 목록 조회
    getCloudPostgresqlBucketList Cloud DB for PostgreSQL 에서 사용할 수 있는 Object Storage 버킷 목록 조회
    getCloudPostgresqlDatabaseList Cloud DB for PostgreSQL Database 목록 조회
    getCloudPostgresqlImageProductList Cloud DB for PostgreSQL 상품 코드 목록 조회
    getCloudPostgresqlInstanceDetail Cloud DB for PostgreSQL 인스턴스 상세 정보 조회
    getCloudPostgresqlInstanceList Cloud DB for PostgreSQL 인스턴스 목록 조회
    getCloudPostgresqlProductList 사용 가능한 Cloud DB for PostgreSQL 서버 스펙 코드 목록 조회
    getCloudPostgresqlTargetSubnetList 사용할 수 있는 Subnet 목록 조회
    getCloudPostgresqlTargetVpcList 사용할 수 있는 VPC 목록 조회
    getCloudPostgresqlUserList Cloud DB for PostgreSQL DB User 목록 조회
    getDbServerLogList Cloud DB for PostgreSQL 데이터베이스 서버 로그 목록 조회
    rebootCloudPostgresqlServerInstance Cloud DB for PostgreSQL 서버 인스턴스 재시작

    Cloud DB for PostgreSQL 연관 리소스

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