서비스 검색을 사용해 DNS 이름으로 Amazon ECS 서비스 연결

서비스 검색을 사용해 DNS 이름으로 Amazon ECS 서비스 연결

Amazon ECS 서비스는 선택적으로 Amazon ECS 서비스 검색(service discovery)을 사용하도록 구성할 수 있어요. 서비스 검색은 AWS Cloud Map API 작업을 사용해 Amazon ECS 서비스용 HTTP 및 DNS 네임스페이스를 관리해요. 자세한 내용은 AWS Cloud Map Developer Guide의 What Is AWS Cloud Map을 참고하세요.

출처: 문서

본문

서비스 검색은 다음 AWS 리전에서 사용할 수 있어요.

리전 이름 리전
US East (N. Virginia) us-east-1
US East (Ohio) us-east-2
US West (N. California) us-west-1
US West (Oregon) us-west-2
Africa (Cape Town) af-south-1
Asia Pacific (Hong Kong) ap-east-1
Asia Pacific (Taipei) ap-east-2
Asia Pacific (Mumbai) ap-south-1
Asia Pacific (Hyderabad) ap-south-2
Asia Pacific (Tokyo) ap-northeast-1
Asia Pacific (Seoul) ap-northeast-2
Asia Pacific (Osaka) ap-northeast-3
Asia Pacific (Singapore) ap-southeast-1
Asia Pacific (Sydney) ap-southeast-2
Asia Pacific (Jakarta) ap-southeast-3
Asia Pacific (Melbourne) ap-southeast-4
Asia Pacific (Malaysia) ap-southeast-5
Asia Pacific (New Zealand) ap-southeast-6
Asia Pacific (Thailand) ap-southeast-7
Canada (Central) ca-central-1
Canada West (Calgary) ca-west-1
China (Beijing) cn-north-1
China (Ningxia) cn-northwest-1
Europe (Frankfurt) eu-central-1
Europe (Zurich) eu-central-2
Europe (Ireland) eu-west-1
Europe (London) eu-west-2
Europe (Paris) eu-west-3
Europe (Milan) eu-south-1
Europe (Stockholm) eu-north-1
Israel (Tel Aviv) il-central-1
Europe (Spain) eu-south-2
Middle East (UAE) me-central-1
Mexico (Central) mx-central-1
Middle East (Bahrain) me-south-1
South America (São Paulo) sa-east-1
AWS GovCloud (US-East) us-gov-east-1
AWS GovCloud (US-West) us-gov-west-1

서비스 검색 개념 (Service Discovery concepts)

서비스 검색은 다음 구성 요소로 이루어져 있어요.

서비스 검색 네임스페이스(Service discovery namespace): 트래픽을 라우팅하려는 example.com 같은 동일한 도메인 이름을 공유하는 서비스 검색 서비스의 논리적 그룹이에요. aws servicediscovery create-private-dns-namespace 명령을 호출하거나 Amazon ECS 콘솔에서 네임스페이스를 만들 수 있어요. aws servicediscovery list-namespaces 명령을 사용해 현재 계정이 만든 네임스페이스에 대한 요약 정보를 볼 수 있어요.