SlideShare a Scribd company logo
API Management with Service Mesh
Lakmal Warusawithana
@lakwarus
Agenda
● Evolution of Applications
● Why Microservice Architecture?
● Challenges with Microservices
● Why Service Mesh?
● Why API Management?
● Demo
Api Management with Service Mesh
Monolith to Microservice
● Easy to scale with customer
demands.
● Agility, flexibility and speed to
market.
● Smaller teams, agile software
development life cycles.
● Freedom to use heterogeneous
technologies, early feedback
cycles
Microservices Challenges - Resiliency
Microservices Challenges - Security
Microservices Challenges - Observability
Microservices Challenges - Risk of Code Releases
How can this be solved?
Service Mesh
A service mesh is a dedicated infrastructure layer that
controls service-to-service communication over a network.
It provides a method in which separate parts of an
application can communicate with each other.
source:techtarget.com
Sidecar
Service Mesh
Istio is an open source service mesh implementation which
provides behavioral insights and operational control over
the service mesh as a whole, offering a complete solution
to satisfy the diverse requirements of microservice
applications.
Istio
Istio Architecture (source — https://istio.io/docs/concepts/what-is-istio/)
Type Service Mesh API Management
Routing • L3/L4 • HTTP, GRPC, GraphQL
Security • Service identity and mTLS • User/App Authentication
and Authorization (OAuth /
JWT)
Analytics • Service Operational Analytics • Business and Developer
focus Analytics
Rate Limiting • RPC level rate limiting • Business related rate
limiting
Personas and
Portal
• DevOps portals
• Publisher, Developer, CXO
portals
When is API Management required in a Service Mesh
● When users need to expose microservices to outside in
a secured and a controlled manner.
● When fine grained security should be enforced on APIs
exposed.
● When stats need to be collected on API usage for
monetization and billing.
● When it is required to offer a marketplace for APIs for
easy discovery and adoption.
WSO2 API Manager and Istio
Api Management with Service Mesh
Api Management with Service Mesh
Demo
JWT Validation Process
JWT Token Validation Process
OAuth 2.0 Validation Process
Analytics Process
Q & A
THANK YOU
wso2.com

More Related Content

Api Management with Service Mesh