

# Amazon Aurora에서 블루/그린 배포 보기
<a name="blue-green-deployments-viewing"></a>

AWS Management Console, AWS CLI 또는 RDS API를 사용하여 블루/그린 배포의 세부 정보를 확인할 수 있습니다.

이벤트를 보고 구독하여 블루/그린 배포 관련 정보를 확인할 수도 있습니다. 자세한 내용은 [블루/그린 배포 이벤트](USER_Events.Messages.md#USER_Events.Messages.BlueGreenDeployments) 단원을 참조하십시오.

## 콘솔
<a name="blue-green-deployments-viewing-console"></a>

**블루/그린 배포의 세부 정보를 확인하는 방법**

1. [https://console.aws.amazon.com/rds/](https://console.aws.amazon.com/rds/)에서 AWS Management Console에 로그인한 후 Amazon RDS 콘솔을 엽니다.

1. 탐색 창에서 **Databases**(데이터베이스)를 선택한 다음 목록에서 블루/그린 배포를 찾습니다.  
![\[데이터베이스 목록의 블루/그린 배포\]](http://docs.aws.amazon.com/ko_kr/AmazonRDS/latest/AuroraUserGuide/images/blue-green-deployment-view-db-list-aurora.png)

   블루/그린 배포의 **Role**(역할) 값은 **Blue/Green Deployment**(블루/그린 배포)입니다.

1. 세부 정보를 표시할 블루/그린 배포의 이름을 선택합니다.

   각 탭에는 블루 배포 섹션과 그린 배포 섹션이 있습니다. 예를 들어, 그린 환경에서 DB 엔진 버전을 업그레이드한다면 블루 환경과 그린 환경의 **구성** 탭에 표시되는 DB 엔진 버전이 다를 수 있습니다.

   다음 이미지에서는 **연결 및 보안** 탭 예시를 확인할 수 있습니다.  
![\[블루/그린 배포 세부 정보\]](http://docs.aws.amazon.com/ko_kr/AmazonRDS/latest/AuroraUserGuide/images/blue-green-deployment-view-details-aurora.png)

   **연결성 및 보안** 탭에는 블루와 그린 환경 사이의 복제 및 복제 지연의 현재 상태를 보여주는 **복제**라는 섹션도 있습니다. 복제 상태가 `Replicating`인 경우 블루/그린 배포가 성공적으로 복제되고 있는 것입니다.

   Aurora PostgreSQL 블루/그린 배포의 경우 블루 환경에서 지원되지 않는 DDL이나 대규모 객체를 변경하면 복제 상태가 `Replication degraded`로 변경될 수 있습니다. 자세한 내용은 [블루/그린 배포의 논리적 복제 관련 제한 사항](blue-green-deployments-considerations.md#blue-green-deployments-limitations-postgres) 단원을 참조하십시오.

   다음 이미지에서는 **구성** 탭 예시를 확인할 수 있습니다.  
![\[블루/그린 배포 구성 세부 정보\]](http://docs.aws.amazon.com/ko_kr/AmazonRDS/latest/AuroraUserGuide/images/blue-green-deployment-view-config-aurora.png)

   다음 이미지에서는 **상태** 탭 예시를 확인할 수 있습니다.  
![\[블루/그린 배포 상태\]](http://docs.aws.amazon.com/ko_kr/AmazonRDS/latest/AuroraUserGuide/images/blue-green-deployment-view-status-aurora.png)

## AWS CLI
<a name="blue-green-deployments-viewing-cli"></a>

AWS CLI를 사용하여 블루/그린 배포 세부 정보를 보려면 [describe-blue-green-deployments](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-blue-green-deployments.html) 명령을 사용해야 합니다.

**Example 이름을 필터링하여 블루/그린 배포 세부 정보 확인**  
[describe-blue-green-deployments](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-blue-green-deployments.html) 명령을 사용하는 경우 `--blue-green-deployment-name`으로 필터링할 수 있습니다.  
다음 예에서는 `my-blue-green-deployment`라는 블루/그린 배포의 세부 정보를 확인할 수 있습니다.  

```
aws rds describe-blue-green-deployments \
  --filters Name=blue-green-deployment-name,Values=my-blue-green-deployment
```

**Example 식별자를 지정하여 블루/그린 배포 세부 정보 확인**  
[describe-blue-green-deployments](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-blue-green-deployments.html) 명령을 사용하는 경우 `--blue-green-deployment-identifier` 옵션을 지정할 수 있습니다.  
다음 예에서는 `bgd-1234567890abcdef`라는 식별자가 있는 블루/그린 배포의 세부 정보를 확인할 수 있습니다.  

```
aws rds describe-blue-green-deployments \
  --blue-green-deployment-identifier bgd-1234567890abcdef
```

## RDS API
<a name="blue-green-deployments-viewing-api"></a>

Amazon RDS API를 사용하여 블루/그린 배포 세부 정보를 보려면 [https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeBlueGreenDeployments.html](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeBlueGreenDeployments.html) 작업을 사용하고 `BlueGreenDeploymentIdentifier`를 지정해야 합니다.