Home Explore Blog CI



kubernetes

1st chunk of `content/en/blog/_posts/2017-05-00-Managing-Microservices-With-Istio-Service-Mesh.md`
254eab84afc4d2f66d4aa79d9ee82b48a3ce61c472f16b590000000100000d6e
---
title: "  Managing microservices with the Istio service mesh "
date: 2017-05-31
slug: managing-microservices-with-istio-service-mesh
url: /blog/2017/05/Managing-Microservices-With-Istio-Service-Mesh
---

_Today’s post is by the Istio team showing how you can get visibility, resiliency, security and control for your microservices in Kubernetes._  

Services are at the core of modern software architecture. Deploying a series of modular, small (micro-)services rather than big monoliths gives developers the flexibility to work in different languages, technologies and release cadence across the system; resulting in higher productivity and velocity, especially for larger teams.  

With the adoption of microservices, however, new problems emerge due to the sheer number of services that exist in a larger system. Problems that had to be solved once for a monolith, like security, load balancing, monitoring, and rate limiting need to be handled for each service.  

**Kubernetes and Services**  

Kubernetes supports a microservices architecture through the [Service](/docs/concepts/services-networking/service/) construct. It allows developers to abstract away the functionality of a set of [Pods](/docs/concepts/workloads/pods/pod/), and expose it to other developers through a well-defined API. It allows adding a name to this level of abstraction and perform rudimentary L4 load balancing. But it doesn’t help with higher-level problems, such as L7 metrics, traffic splitting, rate limiting, circuit breaking, etc.  

[Istio](https://istio.io/), announced last week at GlueCon 2017, addresses these problems in a fundamental way through a service mesh framework. With Istio, developers can implement the core logic for the microservices, and let the framework take care of the rest – traffic management, discovery, service identity and security, and policy enforcement. Better yet, this can be also done for existing microservices without rewriting or recompiling any of their parts. Istio uses [Envoy](https://lyft.github.io/envoy/) as its runtime proxy component and provides an [extensible intermediation layer](https://istio.io/docs/concepts/policy-and-control/mixer.html) which allows global cross-cutting policy enforcement and telemetry collection.  

The current release of Istio is targeted to Kubernetes users and is packaged in a way that you can install in a few lines and get visibility, resiliency, security and control for your microservices in Kubernetes out of the box.  

In a series of blog posts, we'll look at a simple application that is composed of 4 separate microservices. We'll start by looking at how the application can be deployed using plain Kubernetes. We'll then deploy the exact same services into an Istio-enabled cluster without changing any of the application code -- and see how we can observe metrics.   

In subsequent posts, we’ll focus on more advanced capabilities such as HTTP request routing, policy, identity and security management.  

**Example Application: BookInfo**  

We will use a simple application called BookInfo, that displays information, reviews and ratings for books in a store. The application is composed of four microservices written in different languages:  

 ![BookInfo-all (2).png](https://lh6.googleusercontent.com/2l4VGkujZ2U_Ujuo55vTz08JBKhMVjNgQqlnX7DZHttDhJs_rKudWsXh6kU4JkwkKZETR7ljN70zAzhb__LqC0CondM_ps3h3viYGqxfvVcIYnFhbahEjXvGEZSmmEOET1oc7dRL)

Title: Managing Microservices with Istio Service Mesh
Summary
This blog post introduces Istio, a service mesh framework that addresses the challenges of managing microservices in Kubernetes. Istio provides features like traffic management, discovery, security, and policy enforcement without requiring code changes to existing microservices. It uses Envoy as its runtime proxy and offers an extensible intermediation layer for policy enforcement and telemetry collection. The post outlines a series of upcoming blog posts that will explore the capabilities of Istio using a sample application called BookInfo, which consists of four microservices.