Google Service Directory Is Now Generally Available

Service Directory enables you to easily register services to a single fully managed registry.

Recently, Google announced the general availability of Service Directory, which enables you to easily register services to a single fully managed registry, and uplevel your environment from an infrastructure-centric to a service-centric model.

As the number and diversity of services grow, it becomes difficult to maintain an inventory of all of the services across an organization. Service Directory simplifies the problem of service management.

The solution allows you to maintain a flexible runtime service inventory. Benefits of using Service Directory include Human-friendly service naming; Enrich service data with additional properties; Easily resolve services from a variety of clients; Fully managed; and more.

Source: Google

This GA release, now, also enables you to automatically register services in Service Directory without needing to write any orchestration code. This capability is available currently for Internal TCP/UDP and Internal HTTP(S) load balancers, and will be extended to many other products going forward. 

To register services with Service Directory users just need to create an Internal Load Balancer forwarding rule, register it with Service Directory by specifying a --service-directory-registration flag with the name of the Service Directory service that want their load balancer to be registered in. 

The above step automatically creates a Service Directory entry for your ILB service, and populates it with data like - forwarding rule’s IP and port.   Deleting the forwarding rule will automatically remove the Service Directory entry, without needing to write any cleanup or teardown code.