예: 기본 파라미터 그룹을 사용하여 1.1.1.0에서 1.2.0.2로 메이저 버전 업그레이드 - Amazon Neptune

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

예: 기본 파라미터 그룹을 사용하여 1.1.1.0에서 1.2.0.2로 메이저 버전 업그레이드

업그레이드하려는 DBCluster와 이를 생성할 때 사용한 템플릿을 찾습니다. 예:

Description: Base Template to create Neptune Stack with Engine Version 1.1.1.0 using default Parameter Groups Parameters: DbInstanceType: Description: Neptune DB instance type Type: String Default: db.r5.large Resources: NeptuneDBCluster: Type: 'AWS::Neptune::DBCluster' Properties: EngineVersion: 1.1.1.0 NeptuneDBInstance: Type: 'AWS::Neptune::DBInstance' Properties: DBClusterIdentifier: Ref: NeptuneDBCluster DBInstanceClass: Ref: DbInstanceType DependsOn: - NeptuneDBCluster Outputs: DBClusterId: Description: Neptune Cluster Identifier Value: Ref: NeptuneDBCluster
  • DBClusterParameterGroup 기본값을 새 엔진 버전에서 사용하는 파라미터 그룹 제품군의 것으로 업데이트하세요(여기서는 default.neptune1.2).

  • DBCluster에 첨부된 각 DBInstance 항목에 대해 DBParameterGroup 기본값을 새 엔진 버전에서 사용하는 제품군의 기본값으로 업데이트하세요(여기서는 default.neptune1.2).

  • DBInstanceParameterGroupName 속성을 해당 제품군의 기본 파라미터 그룹(여기서는 default.neptune1.2)으로 설정합니다.

  • EngineVersion 속성을 1.1.0.0에서 1.2.0.2로 업데이트하세요.

템플릿은 다음과 같아야 합니다.

Description: Template to upgrade major engine version to 1.2.0.2 by using upgraded default parameter groups Parameters: DbInstanceType: Description: Neptune DB instance type Type: String Default: db.r5.large Resources: NeptuneDBCluster: Type: 'AWS::Neptune::DBCluster' Properties: EngineVersion: 1.2.0.2 DBClusterParameterGroupName: default.neptune1.2 DBInstanceParameterGroupName: default.neptune1.2 NeptuneDBInstance: Type: 'AWS::Neptune::DBInstance' Properties: DBClusterIdentifier: Ref: NeptuneDBCluster DBInstanceClass: Ref: DbInstanceType DBParameterGroupName: default.neptune1.2 DependsOn: - NeptuneDBCluster Outputs: DBClusterId: Description: Neptune Cluster Identifier Value:

이제 수정된 템플릿을 실행하는 AWS CloudFormation 데 사용합니다.