Amazon ECS Service Discovery Concepts

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

Service discovery uses Amazon Route 53 to create a namespace for an ECS service, which allows it to be discoverable via DNS.

Namespace

The service discovery namespace is a logical group of service discovery services that share the same domain name. A hosted zone in Route 53 is created for each private namespace. If a hosted zone with the same name already exists, it is used.

Service Discovery Service

A service discovery service exists within the service discovery namespace and consists of the service name and DNS configuration for the namespace. It provides a "service registry" core component.

Service Registry

Allows to look up a service via DNS or AWS Cloud Map API actions and get back one or more available endpoints that can be used to connect to the service.

Service Discovery Instance

Exists within the service discovery service and consists of the attributes associated with each Amazon ECS service in the service directory.