

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

# Amazon Neptune에서 OpenSearch로 복제
<a name="full-text-search-cfn-setup"></a>

Amazon Neptune은 Amazon OpenSearch Service(OpenSearch Service)를 사용하여 Gremlin 및 SPARQL 쿼리에서 전체 텍스트 검색을 지원합니다. AWS CloudFormation 스택을 사용하여 OpenSearch Service 도메인을 Neptune에 연결할 수 있습니다. CloudFormation 템플릿은 Neptune-to-OpenSearch 복제를 제공하는 스트림 소비자 애플리케이션 인스턴스를 생성합니다.

시작하기 전에 소스로 사용할 스트림이 활성화된 기존 Neptune DB 클러스터와 복제 대상으로 사용할 OpenSearch Service 도메인이 필요합니다.

Neptune DB 클러스터가 있는 VPC에서 Lambda에 의해 액세스할 수 있는 기존 대상 OpenSearch Service 도메인이 이미 있는 경우 템플릿에서 해당 도메인을 사용할 수 있습니다. 그렇지 않으면 새로 만들어야 합니다.

**참고**  
생성하는 OpenSearch 클러스터 및 Lambda 함수는 Neptune DB 클러스터와 동일한 VPC에 있어야 하며, OpenSearch 클러스터는 인터넷 모드가 아닌 VPC 모드에서 구성되어야 합니다.

새로 만든 Neptune 인스턴스를 활용하여 OpenSearch Service와 함께 사용하는 것이 좋습니다. 데이터가 이미 들어 있는 기존 인스턴스를 사용하는 경우 쿼리하기 전에 OpenSearch Service 데이터 동기화를 수행해야 합니다. 그렇지 않으면 데이터 불일치가 발생할 수 있습니다. 이 GitHub 프로젝트는 [Neptune을 OpenSearch로 내보내기](https://github.com/awslabs/amazon-neptune-tools/tree/master/export-neptune-to-elasticsearch)(https://github.com/awslabs/amazon-neptune-tools/tree/master/export-neptune-to-elasticsearch)에서 동기화를 수행하는 방법의 예를 제공합니다.

**중요**  
Amazon OpenSearch Service와 통합할 때 Neptune은 Elasticsearch 버전 7.1 이상이 필요하며, OpenSearch 2.3, 2.5 및 향후 호환 가능한 Opensearch 버전과 함께 사용할 수 있습니다.

**참고**  
[엔진 릴리스 1.3.0.0](engine-releases-1.3.0.0.md)부터 Amazon Neptune은 Gremlin 및 SPARQL 쿼리에서 전체 텍스트 검색을 위해 [Amazon OpenSearch Service Serverless](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless.html)를 사용할 수 있도록 지원합니다.

**Topics**
+ [AWS CloudFormation 템플릿을 사용하여 Neptune-to-OpenSearch 복제 시작](full-text-search-cfn-create.md)
+ [기존 Neptune 데이터베이스에서 전체 텍스트 검색 활성화](full-text-search-cfn-enabling.md)
+ [스트림 폴러 업데이트](full-text-search-cfn-update-poller.md)
+ [스트림 폴러 프로세스 비활성화 및 재활성화](full-text-search-using-pausing-poller.md)

# AWS CloudFormation 템플릿을 사용하여 Neptune-to-OpenSearch 복제 시작
<a name="full-text-search-cfn-create"></a>

## 리전별 CloudFormation 스택 시작
<a name="full-text-search-cfn-by-region"></a>

아래 각 CloudFormation 템플릿은 특정 AWS 리전에 스트림 소비자 애플리케이션 인스턴스를 생성합니다. CloudFormation 콘솔을 사용하여 해당 스택을 시작하려면 사용하려는 AWS 리전에 따라 다음 표의 **스택 시작** 버튼 중 하나를 선택합니다.


| 리전 | 보기 | Designer에서 보기 | 시작 | 
| --- | --- | --- | --- | 
| 미국 동부(버지니아 북부) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=us-east-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 미국 동부(오하이오) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=us-east-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 미국 서부(캘리포니아 북부) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=us-west-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 미국 서부(오리건) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=us-west-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 캐나다(중부) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=us-west-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 남아메리카(상파울루) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=sa-east-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 유럽(스톡홀름) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-north-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 유럽(아일랜드) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-west-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 유럽(런던) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-west-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 유럽(파리) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-west-3&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 유럽(스페인) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-south-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-south-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=eu-south-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 유럽(프랑크푸르트) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=eu-central-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| Middle East (Bahrain) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=me-south-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=me-south-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=me-south-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 중동(UAE) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=me-central-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=me-central-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=me-central-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 이스라엘(텔아비브) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=il-central-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=il-central-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=il-central-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 아프리카(케이프타운) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=af-south-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=af-south-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=af-south-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 아시아 태평양(홍콩) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-east-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-east-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=ap-east-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 아시아 태평양(도쿄) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-northeast-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 아시아 태평양(서울) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-northeast-2&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 아시아 태평양(싱가포르) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-southeast-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 아시아 태평양(자카르타) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-southeast-3&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-3#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-3#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 아시아 태평양(뭄바이) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.aws.amazon.com/cloudformation/designer/home?region=ap-south-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 중국(베이징) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.amazonaws.cn/cloudformation/designer/home?region=cn-north-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.amazonaws.cn/cloudformation/home?region=cn-north-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.amazonaws.cn/cloudformation/home?region=cn-north-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| 중국(닝샤) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.amazonaws.cn/cloudformation/designer/home?region=cn-northwest-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.amazonaws.cn/cloudformation/home?region=cn-northwest-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.amazonaws.cn/cloudformation/home?region=cn-northwest-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| AWS GovCloud(미국 서부) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.amazonaws-us-gov.com/cloudformation/designer/home?region=us-gov-west-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-west-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-west-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 
| AWS GovCloud(미국 동부) | [보기](https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [Designer에서 보기](https://console.amazonaws-us-gov.com/cloudformation/designer/home?region=us-gov-east-1&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json) | [https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-east-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json](https://console.amazonaws-us-gov.com/cloudformation/home?region=us-gov-east-1#/stacks/new?stackName=NeptuneQuickStart&templateURL=https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json)  | 

**스택 생성** 페이지에서 **다음**을 선택합니다.

## 생성 중인 새 OpenSearch 스택에 대한 세부 정보 추가
<a name="full-text-search-cfn-stack-details"></a>

**스택 세부 정보 지정** 페이지에서는 전체 텍스트 검색 설정을 제어하는 데 사용할 수 있는 속성 및 파라미터를 제공합니다.

**스택 이름** -  생성 중인 새 CloudFormation 스택의 이름입니다. 대개 기본값(`NeptuneStreamPoller`)을 사용합니다.

**파라미터**에서 다음을 제공합니다.

**스트림 소비자가 실행되는 VPC의 네트워크 구성**
+ **`VPC`** –  폴링 Lambda 함수가 실행될 VPC의 이름을 제공합니다.
+ **`List of Subnet IDs`** –  네트워크 인터페이스가 설정된 서브넷입니다. Neptune 클러스터에 해당하는 서브넷을 추가합니다.
+ **`List of Security Group Ids`** –  소스 Neptune DB 클러스터에 대한 쓰기 인바운드 액세스 권한을 부여하는 보안 그룹의 ID를 제공합니다.
+ **`List of Route Table Ids`** –  아직 Amazon DynamoDB 엔드포인트가 없는 경우 Neptune VPC에서 엔드포인트를 생성할 때 필요합니다. 서브넷과 연결된 라우팅 테이블 ID를 쉼표로 분리한 목록을 제공해야 합니다.
+ **`Require to create Dynamo DB VPC Endpoint`** –  기본값이 `true`인 부울 값입니다. VPC에 DynamoDB 엔드포인트를 이미 생성한 경우에만 이를 `false`로 변경하면 됩니다.
+ **`Require to create Monitoring VPC Endpoint`** –  기본값이 `true`인 부울 값입니다. VPC에 모니터링 엔드포인트를 이미 생성한 경우에만 이를 `false`로 변경하면 됩니다.

**스트림 폴러**
+ **`Application Name`** –  이 설정은 대개 기본값(`NeptuneStream`)으로 둡니다. 다른 이름을 사용하는 경우 고유한 이름이어야 합니다.
+ **`Memory size for Lambda Poller`** –  Lambda 폴러 함수에 사용 가능한 메모리 크기를 설정하는 데 사용됩니다. 기본값은 2,048MB입니다.
+ **`Lambda Runtime`** –  Neptune 스트림에서 항목을 검색하는 Lambda 함수에서 사용되는 언어입니다. `python3.9` 또는 `java8`로 설정할 수 있습니다.
+ **`S3 Bucket having Lambda code artifacts`** –  다른 S3 버킷에서 로드하는 사용자 지정 Lambda 폴링 함수를 사용하지 않는 경우 비워둡니다.
+ **`S3 Key corresponding to Lambda Code artifacts`** –  사용자 지정 Lambda 폴링 함수를 사용하지 않는 경우 비워둡니다.
+ **`StartingCheckpoint`** –  스트림 폴러의 시작 체크포인트입니다. 기본값은 `0:0`이며, Neptune 스트림의 시작 부분부터 쓸 수 있음을 의미합니다.
+ **`StreamPollerInitialState`** –  폴러의 초기 상태입니다. 기본값은 `ENABLED`이며, 전체 스택 생성이 완료되는 즉시 스트림 복제가 시작됩니다.
+ **`Logging level for Lambda`** –  이 설정은 대개 기본값(`INFO`)으로 둡니다.
+ **`Managed Policies for Lambda Execution`** –  일반적으로 사용자 지정 Lambda 폴링 함수를 사용하지 않는 경우 비워둡니다.
+ **`Stream Records Handler`** –  일반적으로 Neptune 스트림의 레코드에 사용자 지정 핸들러를 사용하지 않는 경우 비워둡니다.
+ **`Maximum records Fetched from Stream`** –  이 파라미터를 사용하여 성능을 조정할 수 있습니다. 기본값(`100`)으로 시작하는 것이 좋습니다. 허용되는 최대값은 10,000입니다. 숫자가 높을수록 스트림에서 레코드를 읽는 데 필요한 네트워크 호출은 감소하지만 레코드를 처리하는 데 더 많은 메모리가 필요합니다.
+ **`Max wait time between two Polls (in Seconds)`** –  Neptune 스트림을 폴링하기 위해 Lambda 폴러가 호출되는 빈도를 결정합니다. 지속적으로 폴링하는 경우 이 값을 0으로 설정합니다. 최대값은 3,600초(1시간)입니다. 기본값(60초)으로 시작하는 것이 좋습니다(그래프 데이터의 변경 속도에 따라 달라짐).
+ **`Maximum Continuous polling period (in Seconds)`** –  Lambda 폴링 함수에 대한 제한 시간을 설정하는 데 사용됩니다. 이 값은 5초에서 900초 사이여야 합니다. 기본값(600초)으로 시작하는 것이 좋습니다.
+ **`Step Function Fallback Period`** –  장애를 복구하기 위해 Step Function이 Amazon CloudWatch Events를 통해 호출될 때까지 폴러가 대기할 step-function-fallback-period 단위 개수입니다. 기본값(5분)으로 시작하는 것이 좋습니다.
+ **`Step Function Fallback Period Unit`** –  위의 `Step Function Fallback Period`(분, 시간, 일)를 측정하는 데 사용되는 시간 단위입니다. 대개 기본값(분)이면 충분합니다.
+ **`Enable/disable creation of Elastic Search Mappings by Lambda`** -  스트림 폴러에 의한 Elastic Search 매핑의 자동 관리를 활성화/비활성화하는 플래그입니다. 탄력적 검색 매핑은 Neptune과 탄력적 검색 데이터 유형 간의 변환에 매우 중요합니다. 이는 Elastic Search 인덱스의 모든 매핑을 직접 수동으로 제어하려는 고급 사용자만 비활성화해야 합니다. 기본값은 `true`입니다.
+ **`Data replication scope`** –  노드와 엣지 둘 다 또는 노드만 OpenSearch로 복제할지 여부를 결정합니다(Gremlin 엔진 데이터에만 적용). 일반적으로 기본값(All)으로 시작하는 것이 좋습니다.
+ **`Ignore OpenSearch missing document error`** –  OpenSearch에서 누락된 문서 오류를 무시할 수 있는지 여부를 결정하는 플래그입니다. 누락된 문서 오류는 거의 발생하지 않지만, 무시하지 않으면 수동으로 개입해야 합니다. 일반적으로 기본값(`True`)으로 시작하는 것이 좋습니다.
+ **`Enable Non-String Indexing`** –  문자열 콘텐츠가 없는 필드의 인덱싱을 활성화하거나 비활성화하는 플래그입니다. 이 플래그를 `true`로 설정하면 OpenSearch에서 문자열이 아닌 필드가 인덱싱되고, `false`로 설정하면 문자열 필드만 인덱싱됩니다. 기본값은 `true`입니다.
+ **`Properties to exclude from being inserted into OpenSearch`** –  OpenSearch 인덱싱에서 제외할 속성 또는 조건부 키를 쉼표로 구분한 목록입니다. 이 CFN 파라미터 값을 비워두면 모든 속성 키가 인덱싱됩니다.
+ **`Datatypes to exclude from being inserted into OpenSearch`** –  OpenSearch 인덱싱에서 제외할 속성 또는 조건부 데이터 유형을 쉼표로 구분한 목록입니다. 이 CFN 파라미터 값을 비워두면 OpenSearch 데이터 유형으로 안전하게 변환할 수 있는 모든 속성 값이 인덱싱됩니다.

**Neptune 스트림**
+ **`Endpoint of source Neptune Stream`** –  (*필수*) 2가지 형식 중 하나를 취합니다.
  + **`https://your DB cluster:port/propertygraph/stream`**(또는 별칭 `https://your DB cluster:port/pg/stream`).
  + `https://your DB cluster:port/sparql/stream`
+ **`Neptune Query Engine`** –  Gremlin 또는 SPARQL을 선택합니다.
+ **`Is IAM Auth Enabled?`** –  Neptune DB 클러스터가 IAM 인증을 사용하는 경우 이 파라미터를 `true`로 설정합니다.
+ **`Neptune Cluster Resource Id`** –  Neptune DB 클러스터가 IAM 인증을 사용하는 경우 이 파라미터를 클러스터 리소스 ID로 설정합니다. 리소스 ID가 클러스터 ID와 동일하지 않습니다. 그 대신, `cluster-` 뒤에 28개의 영숫자 문자가 오는 형식을 사용합니다. Neptune 콘솔의 **클러스터 세부 정보**에서 찾을 수 있습니다.

**대상 OpenSearch 클러스터**
+ **`Endpoint for OpenSearch service`** –  (필수) VPC에서 OpenSearch 서비스를 위한 엔드포인트를 제공합니다.
+ **`Number of Shards for OpenSearch Index`** –  일반적으로 기본값(5)으로 시작하는 것이 좋습니다.
+ **`Number of Replicas for OpenSearch Index`** –  일반적으로 기본값(1)으로 시작하는 것이 좋습니다.
+ **`Geo Location Fields for Mapping`** –  지리 위치 필드를 사용하는 경우 여기에 속성 키가 나열됩니다.

**경보**
+ **`Require to create Cloud watch Alarm`** –  새 스택에 CloudWatch 경보를 생성하려면 이 필드를 `true`로 설정합니다.
+ **`SNS Topic ARN for Cloudwatch Alarm Notifications`**   –   CloudWatch 경보 알림을 전송해야 하는 SNS 주제 ARN입니다(경보가 활성화된 경우에만 필요).
+ **`Email for Alarm Notifications`** –  경보 알림을 전송해야 하는 이메일 주소입니다(경보가 활성화된 경우에만 필요).

경보 알림 대상으로는 SNS만 추가하거나, 이메일만 추가하거나, SNS와 이메일을 모두 추가할 수 있습니다.

## CloudFormation 템플릿 실행
<a name="full-text-search-cfn-complete"></a>

이제 다음과 같이 Neptune 스트림 소비자 애플리케이션 인스턴스를 프로비저닝하는 프로세스를 완료할 수 있습니다.

1.  CloudFormation의 **스택 세부 정보 지정** 페이지에서 **다음을** 선택합니다.

1. **옵션** 페이지에서 **다음**을 선택합니다.

1. **검토** 페이지에서 첫 번째 확인란을 선택하여 CloudFormation 이 IAM 리소스를 생성하는 것을 승인합니다. 두 번째 확인란을 선택하여 새 스택에 대해 `CAPABILITY_AUTO_EXPAND`를 승인합니다.
**참고**  
`CAPABILITY_AUTO_EXPAND`는 사전 검토 없이 스택을 생성할 경우 매크로가 확장됨을 명시적으로 승인합니다. 사용자는 실제로 스택을 생성하기 전에 매크로를 통한 변경 사항을 검토할 수 있도록 처리된 템플릿에서 변경 세트를 생성하는 경우가 많습니다. 자세한 내용은 API 참조의 CloudFormation [CreateStack](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html) *AWS CloudFormation API 작업을 참조*하세요.

   그런 다음 **생성**을 선택합니다.

# 기존 Neptune 데이터베이스에서 전체 텍스트 검색 활성화
<a name="full-text-search-cfn-enabling"></a>

 이는 기존 Amazon Neptune 데이터베이스에서 전체 텍스트 검색을 활성화하기 위해 확립된 접근 방식입니다. 쓰기 워크로드를 일시 중지할 수 있는지 여부에 따라 단계가 약간 다를 수 있습니다. 이 설명서에서는 쓰기를 일시 중지할 수 있는 경우와 일시 중지할 수 없는 경우의 두 시나리오에 대한 권장 단계를 간략하게 설명합니다. 여기에는 Neptune 스트림 활성화, 데이터베이스 복제본 생성, OpenSearch 도메인에 데이터 동기화, 지속적 업데이트 설정이 포함됩니다. 이 지침은 AWS 서비스 및 오픈 소스 도구를 활용하여 프로세스를 간소화하고 가동 중지 시간을 최소화합니다.

## 쓰기 워크로드를 일시 중지할 수 있는 경우
<a name="full-text-search-cfn-enabling-with-pause"></a>

기존 Neptune 데이터베이스에서 전체 텍스트 검색을 활성화하는 가장 좋은 방법은 쓰기 워크로드를 일시 중지할 수 있는 경우 일반적으로 다음과 같습니다. 복제본을 생성하고, 클러스터 파라미터를 사용하여 스트림을 활성화하고, 모든 인스턴스를 다시 시작해야 합니다. 복제본 생성은 비교적 빠른 작업이므로, 필요한 가동 중지 시간이 제한됩니다.

필수 단계는 다음과 같습니다.

1. 데이터베이스의 모든 쓰기 워크로드를 중지합니다.

1. 데이터베이스에서 스트림을 활성화합니다([Neptune 스트림 활성화](streams-using-enabling.md) 참조).

1. 데이터베이스의 복제본을 생성합니다([Neptune의 데이터베이스 복제](manage-console-cloning.md) 참조).

1. 쓰기 워크로드를 재개합니다.

1. Github의 [export-neptune-to-elasticsearch](https://github.com/awslabs/amazon-neptune-tools/tree/master/export-neptune-to-elasticsearch) 도구를 사용하여 복제된 데이터베이스를 OpenSearch 도메인으로 한 번에 동기화할 수 있습니다.

1. 사용 중인 리전의 [CloudFormation 템플릿](https://docs.aws.amazon.com/neptune/latest/userguide/full-text-search-cfn-create.html#full-text-search-cfn-by-region)을 이용하여 지속적인 업데이트로 원본 데이터베이스에서 동기화를 시작할 수 있습니다. 템플릿에서 구성을 변경할 필요가 없습니다.

1. 복제된 데이터베이스와 `export-neptune-to-elasticsearch` 도구에 대해 생성된 CloudFormation 스택을 삭제합니다.

**참고**  
Opensearch Serverless에서 [export-neptune-to-elasticsearch](https://github.com/awslabs/amazon-neptune-tools/tree/master/export-neptune-to-elasticsearch)를 사용하는 경우 데이터를 성공적으로 복제하려면 [export-neptune-to-elasticsearch](https://github.com/awslabs/amazon-neptune-tools/tree/master/export-neptune-to-elasticsearch) Cloudformation 스택에서 `LambdaExecutionRole` 생성된를 [Opensearch 데이터 액세스 정책에](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html) 추가해야 합니다.

## 쓰기 워크로드를 일시 중지할 수 없는 경우
<a name="full-text-search-cfn-enabling-without-pause"></a>

데이터베이스의 쓰기 워크로드를 일시 중단할 여유가 없는 경우 위의 권장 접근 방식보다 가동 중지 시간이 훨씬 적지만, 신중하게 수행해야 하는 전략을 취해야 합니다.

1. 데이터베이스에서 스트림을 활성화합니다([Neptune 스트림 활성화](streams-using-enabling.md) 참조).

1. 데이터베이스의 복제본을 생성합니다([Neptune의 데이터베이스 복제](manage-console-cloning.md) 참조).

1. 스트림 API 엔드포인트에 대해 다음과 같은 종류의 명령을 실행하여 복제된 데이터베이스의 스트림에서 최신 `eventID`를 가져옵니다(자세한 내용은 [Neptune 스트림 REST API 호출](streams-using-api-call.md) 참조).

   ```
   curl "https://(your neptune endpoint):(port)/(propertygraph or sparql)/stream?iteratorType=LATEST"
   ```

   응답에서 `lastEventId` 객체의 `commitNum` 및 `opNum` 필드 값을 기록해 둡니다.

1. Github의 [export-neptune-to-elasticsearch](https://github.com/awslabs/amazon-neptune-tools/tree/master/export-neptune-to-elasticsearch) 도구를 사용하여 복제된 데이터베이스를 OpenSearch 도메인으로 한 번에 동기화할 수 있습니다.

1. 사용 중인 리전의 [CloudFormation 템플릿](https://docs.aws.amazon.com/neptune/latest/userguide/full-text-search-cfn-create.html#full-text-search-cfn-by-region)을 이용하여 지속적인 업데이트로 원본 데이터베이스에서 동기화를 시작합니다.

   스택을 생성하는 동안 다음과 같이 변경하세요. 스택 세부 정보 페이지의 **파라미터** 섹션에서 앞서 기록한 `commitNum` 및 `opNum` 값을 사용하여 `StartingCheckpoint` 필드의 값을 **commitNum**:**opnum**으로 설정합니다.

1. 복제된 데이터베이스와 `export-neptune-to-elasticsearch` 도구에 대해 생성된 CloudFormation 스택을 삭제합니다.

# 스트림 폴러 업데이트
<a name="full-text-search-cfn-update-poller"></a>

 다음 정보는 AWS 관리 콘솔을 사용하여 스트림 폴러를 최신 Lambda 아티팩트로 업데이트하는 데 필요한 단계를 간략하게 설명합니다.

## 최신 Lambda 아티팩트로 스트림 폴러를 업데이트하려면
<a name="full-text-search-cfn-update-poller-lambda"></a>

다음과 같이 최신 Lambda 코드 아티팩트로 스트림 폴러를 업데이트할 수 있습니다.

1. 에서 기본 상위 CloudFormation 스택으로 AWS Management Console이동하여 CloudFormation 선택합니다.

1. 스택의 **업데이트** 옵션을 선택합니다.

1. **현재 템플릿 교체**를 선택합니다.

1. 템플릿 소스에서 **Amazon S3 URL**을 선택하고 다음 S3 URL을 입력합니다.

   ```
   https://aws-neptune-customer-samples.s3.amazonaws.com/neptune-stream/neptune_to_elastic_search.json
   ```

1.  CloudFormation 파라미터를 변경하지 않고 **다음을** 선택합니다.

1. **스택 업데이트**를 선택합니다.

스택이 이제 Lambda 아티팩트를 최신 아티팩트로 업데이트합니다.

## 사용자 지정 필드를 지원하도록 스트림 폴러 확장
<a name="full-text-search-using-custom-fields"></a>

현재 스트림 폴러는 사용자 지정 필드를 처리하기 위한 사용자 지정 코드를 작성하도록 쉽게 확장할 수 있습니다. 자세한 내용은 블로그 게시물 [Neptune 스트림을 사용하여 그래프 변경 사항 캡처](https://aws.amazon.com/blogs/database/capture-graph-changes-using-neptune-streams/)에 설명되어 있습니다.

**참고**  
OpenSearch에서 사용자 지정 필드를 추가할 때는 새 필드를 조건자의 내부 객체로 추가해야 합니다([Neptune 전체 텍스트 검색 데이터 모델](full-text-search-model.md) 참조).

# 스트림 폴러 프로세스 비활성화 및 재활성화
<a name="full-text-search-using-pausing-poller"></a>

**주의**  
스트림 폴러 프로세스를 비활성화할 때는 주의하세요\$1 스트림 만료 기간보다 오래 프로세스를 일시 중지하면 데이터 손실이 발생할 수 있습니다. 기본 기간은 7일이지만, 엔진 버전 [1.2.0.0](engine-releases-1.2.0.0.md)부터 사용자 지정 스트림 만료 기간을 최대 90일까지 설정할 수 있습니다.

# 스트림 폴러 프로세스 비활성화(일시 중지)
<a name="full-text-search-pause-poller"></a>

1. 에 로그인 AWS Management Console 하고 [https://console.aws.amazon.com/events/](https://console.aws.amazon.com/events/) Amazon EventBridge 콘솔을 엽니다.

1. 탐색 창에서 **규칙**을 선택합니다.

1. 스트림 폴러를 설정하는 데 사용한 CloudFormation 템플릿에서 이름이 **애플리케이션 이름으로** 제공한 이름을 포함하는 규칙을 선택합니다.

1. **비활성화**를 선택합니다.

1. [https://console.aws.amazon.com/states/](https://console.aws.amazon.com/states/)에서 Step Functions 콘솔을 엽니다.

1. 스트림 폴러 프로세스에 해당하는 실행 중인 Step Function을 선택합니다. 다시 말하지만, 해당 단계 함수의 이름에는 스트림 폴러를 설정하는 데 사용한 CloudFormation 템플릿에 **애플리케이션 이름으로** 제공한 이름이 포함됩니다. 함수 실행 상태별로 필터링하여 **실행 중인** 함수만 볼 수 있습니다.

1. **중지**를 선택합니다.

# 스트림 폴러 프로세스 재활성화
<a name="full-text-search-re-enable-poller"></a>

1. 에 로그인 AWS Management Console 하고 [https://console.aws.amazon.com/events/](https://console.aws.amazon.com/events/) Amazon EventBridge 콘솔을 엽니다.

1. 탐색 창에서 **규칙**을 선택합니다.

1. 스트림 폴러를 설정하는 데 사용한 CloudFormation 템플릿에서 이름이 **애플리케이션 이름으로** 제공한 이름을 포함하는 규칙을 선택합니다.

1. **활성화**를 선택합니다. 지정된 스케줄 간격을 기반으로 하는 이벤트 규칙이 이제 Step Function의 새 실행을 트리거합니다.