SlideShare a Scribd company logo
IMPLEMENT API GATEWAY USING
AZURE API MANAGEMENT
ALEXANDER LAYSHA,
CHIEF SOFTWARE ENGINEER AT EPAM SYSTEMS
AGENDA
• WHY WE IMEPLEMENTED API GATEWAY
• INTRODUCTION TO AZURE API MANAGEMENT
• DESIGN FOR PRICING TIERS
• OVERVIEW OF PUBLISH AND DEVELOPER PORTALS
• POLICY DISCUSSION
• OPTIONS FOR SECURITY
EVOLUTION OF OUR PROJECT
UI
SOAP
REST API 1
REST API 2
REST API N
REST APIs
DEVELOPERS
APPS
BEFORE AFTER
MONOLITH APP
OUR CONCERNS IN API MANAGEMENT
• ACCESS TO PUBLIC & INTERNAL APIs
• VISIBILITY OF APIs TO CUSTOMERS BASE ON PRICING TIER
• CONTROL OF API USAGE BASE ON PRICING TIER
• ANALYTICS OF APIs USAGE BY CUSTOMERS
• FUTURE NEEDS AND GROWTH PLANS
HOW WE ADDRESSED CONCERNS?
UI
SOAP
REST API 1
REST API 2
REST API N
REST APIs
DEVELOPERS
APPS
BEFORE AFTER
MONOLITH APP
APIGATEWAY
A BIT ABOUT API GATEWAY & HISTORY
API GATEWAY
SERVICE
TRANSFORMATION
SECURITY
USAGE QUOTAS &
LIMITS
MONETIZATION
LOGS
ANALYTICS DEV SUPPORT
VISIBILITY
• CREATE API TO EXPOSE BACK-END SERVICES
• ACTS AS REVERSE-PROXY
• VENDORS: Apigee, WSO2, MuleSoft, AWS
API Gateway, Azure API Management
INTRO TO AZURE API MANAGEMENT
API
DEVELOPER
PORTAL
PUBLISHER
PORTAL
PROXY
AZURE
API MANAGEMENT
PUBLISHER /
ADMIN
DEVELOPERS
APPS
BACKEND
API MANAGEMENT FEATURES
DEVELOPER PORTAL
PUBLISHER
PORTAL
PROXY
AZURE API MANAGEMENT
REGISTRATION
DOCUMENTATION
INTERACTIVE API CONSOLE
DEVELOPER ANALYTICS
APP GALLERY
FORUMS
NEWS
ISSUES
WIKI
API PUBLISHING
SUBSCRIPTION MANAGEMENT
SECURITY
MEDIATION
CONTENT PUBLISHING
SITE CUSTOMIZATION
ISSUE MANAGEMENT
ANALYTICS
REPORTS
SCALING
CACHING
MONITORING
TRAFFIC MANAGEMENT
TRANSFORMATION
API MANAGEMENT ENTITIES
USER PRODUCT
OPEN|PROTECTED
API
RATE LIMITS &
QUOTAs
GROUP
DEMO: OUR DESIGN FOR PRICING TIERS
TRIAL
PRODUCT
PROTECTED
PAID
PRODUCT
PROTECTED
SYS
PRODUCT
PROTECTED
Health Check
API
LIMITS FOR
TRIAL
SYS GROUP
LIMITS FOR
PAID
TRIAL
GROUP
ADMIN
GROUP
UNLIMITED
SYS
ACCOUNT
TRIAL
ACCOUNT
PAID
ACCOUNT
ADMIN
ACCOUNT
API NAPI 2API 1
APIs
CUSTOMER
PRODUCTS
INTERNAL USE ADMIN USE BUSINESS USE
PAID
GROUP
API MANAGEMENT POLICY
“In Azure API Management, policies are a powerful capability of the
system that allow the publisher to change the behavior of the API
through configuration. Policies are a collection of Statements that are
executed sequentially on the request or response of an API. ”
POLICY SCOPES ARE EVALUATED IN THE FOLLOWING ORDER:
• Global scope
• Product scope
• API scope
• Operation scope
POLICY TEMPLATE
<policies>
<inbound>
<!-- statements to be applied to the request go here -->
</inbound>
<backend>
<!-- statements to be applied before the request is forwarded to the backend service go here -->
</backend>
<outbound>
<!-- statements to be applied to the response go here -->
</outbound>
<on-error>
<!-- statements to be applied if there is an error condition go here -->
</on-error>
</policies>
POLICY REFERENCE: https://docs.microsoft.com/en-us/azure/api-management/api-management-policy-reference
HOW TO DEBUG API MANAGEMENT?
• API INSPECTOR TOOL
HEADER: Ocp-Apim-Trace = true
• EVENT HUB LOGGER
<log-to-eventhub logger-id ='logger-id'>
@( string.Join(",", DateTime.UtcNow, ...))
</log-to-eventhub>
DEMO: POLICY TO DOWNLOAD A FILE
DEVELOPERS
AZURE BLOB
STORAGE
CUSTOMPOLICY
AZURE WEB APP
AZUREAPIMANAGEMENT
URL + SAS
2
5
URL + SAS
FILE ID
3
4
FILE
FILE ID
FILE
1
6
WHAT ARE OPTIONS TO SECURE API?
• SECURITY BY OBSCURITY
• BASIC AUTH
• MUTUAL SSL
• VNET
• OAUTH 2.0
• OPENID
DEMO: OUR DESIGN FOR SECURITY
DEVELOPERS AZURE API MANAGEMENT
SUBSCIPTION KEY
AZURE WEB APPs
CERTIFICATIO
NFILE
BUSINESS
PROCESS TO
REGISTER NEW
CUSTOMER
SUBSCIPTION
KEY
API NAPI 1
Q&A

More Related Content

PPTX
Exposing services with Azure API Management
PPTX
API Management Part 1 - An Introduction to Azure API Management
PPTX
API as-a-Product with Azure API Management (APIM)
PPTX
Azure API Management
PPTX
Azure API Management
PPTX
Modern CI/CD Pipeline Using Azure DevOps
PPTX
API Management in Azure
PPSX
Zero-Trust SASE DevSecOps
Exposing services with Azure API Management
API Management Part 1 - An Introduction to Azure API Management
API as-a-Product with Azure API Management (APIM)
Azure API Management
Azure API Management
Modern CI/CD Pipeline Using Azure DevOps
API Management in Azure
Zero-Trust SASE DevSecOps

What's hot (20)

PPTX
Azure Cost Management
PPTX
API Strategy Introduction
PPTX
API Management in Digital Transformation
PPTX
JIRA Service Desk presentation
PPTX
Microsoft Azure - Introduction
PPTX
Azure Migrate
PDF
Azure Monitoring Overview
PPT
API Management architect presentation
PPTX
original.pptx
PPTX
Intro to Azure Api Management - With Cats
PPTX
Azure Logic Apps
PPTX
PDF
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
PPSX
Microservices, DevOps & SRE
PPTX
Microservices Part 3 Service Mesh and Kafka
PPTX
Microsoft Azure Cost Optimization and improve efficiency
PPTX
Azure Site Recovery Bootcamp
PDF
Azure Arc by K.Narisorn // Azure Multi-Cloud
PPTX
Microsoft Azure
PPTX
Microsoft Cloud Adoption Framework for Azure: Thru Partner Governance Workshop
Azure Cost Management
API Strategy Introduction
API Management in Digital Transformation
JIRA Service Desk presentation
Microsoft Azure - Introduction
Azure Migrate
Azure Monitoring Overview
API Management architect presentation
original.pptx
Intro to Azure Api Management - With Cats
Azure Logic Apps
Open API and API Management - Introduction and Comparison of Products: TIBCO ...
Microservices, DevOps & SRE
Microservices Part 3 Service Mesh and Kafka
Microsoft Azure Cost Optimization and improve efficiency
Azure Site Recovery Bootcamp
Azure Arc by K.Narisorn // Azure Multi-Cloud
Microsoft Azure
Microsoft Cloud Adoption Framework for Azure: Thru Partner Governance Workshop
Ad

Viewers also liked (12)

PPTX
Usage of Reliable Actors in Azure Service Fabric
PPTX
Azure API Management Update
PPTX
Service Fabric – building tomorrows applications today
PPTX
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
PPT
Todas las APIs de Google
PPTX
Azure API Management
PDF
Treat Your API Like a Product
PPTX
API Management Demystified
PDF
An Inside Look at a Sophisticated, Multi-vector DDoS Attack
PPTX
Why Network and Endpoint Security Isn’t Enough
ODP
ESB vs API management
PPTX
Microsoft Cloud Computing - Windows Azure Platform
Usage of Reliable Actors in Azure Service Fabric
Azure API Management Update
Service Fabric – building tomorrows applications today
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Todas las APIs de Google
Azure API Management
Treat Your API Like a Product
API Management Demystified
An Inside Look at a Sophisticated, Multi-vector DDoS Attack
Why Network and Endpoint Security Isn’t Enough
ESB vs API management
Microsoft Cloud Computing - Windows Azure Platform
Ad

Similar to Implement API Gateway using Azure API Management (20)

PDF
Extend soa with api management Doag18
PDF
APIs In Action -Harnessing the Power of Azure API Management: Building Robust...
PPTX
Extend soa with api management spoug- Madrid
PDF
Azure Spring Clean 2024 event - Azure API Management: Architecting for Perfor...
PPT
Creating an app ecosystem for your APIs
PPTX
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
PPTX
Azure API Management to expose backend services securely
PPT
Effective API Design
PPTX
Api management - a lap around vs code extension
PDF
Extend soa with api management Sangam18
PPTX
Lifecycle Manager and the Lifecycle API
PPTX
Lifecycle Manager and the Lifecycle API
PDF
API Management Building Blocks and Business value
PPTX
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
PPTX
Apigee Edge Product Demo
PPTX
API_Strategy_Architecture_Development.pptx
PPT
How to design effective APIs
PDF
apidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhu
PDF
API Design Essentials - Akana Platform Overview
PPTX
MuleSoft_Meetup__Official_August-2022.pptx
Extend soa with api management Doag18
APIs In Action -Harnessing the Power of Azure API Management: Building Robust...
Extend soa with api management spoug- Madrid
Azure Spring Clean 2024 event - Azure API Management: Architecting for Perfor...
Creating an app ecosystem for your APIs
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
Azure API Management to expose backend services securely
Effective API Design
Api management - a lap around vs code extension
Extend soa with api management Sangam18
Lifecycle Manager and the Lifecycle API
Lifecycle Manager and the Lifecycle API
API Management Building Blocks and Business value
Elevating AI Workflows: Integrating Azure API Management and Azure Functions ...
Apigee Edge Product Demo
API_Strategy_Architecture_Development.pptx
How to design effective APIs
apidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhu
API Design Essentials - Akana Platform Overview
MuleSoft_Meetup__Official_August-2022.pptx

Recently uploaded (20)

PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPT
Total quality management ppt for engineering students
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PPTX
introduction to high performance computing
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PPTX
communication and presentation skills 01
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PPTX
Feature types and data preprocessing steps
PPTX
CyberSecurity Mobile and Wireless Devices
PPTX
Fundamentals of Mechanical Engineering.pptx
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
Design Guidelines and solutions for Plastics parts
PPTX
Management Information system : MIS-e-Business Systems.pptx
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Fundamentals of safety and accident prevention -final (1).pptx
Total quality management ppt for engineering students
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
introduction to high performance computing
"Array and Linked List in Data Structures with Types, Operations, Implementat...
August -2025_Top10 Read_Articles_ijait.pdf
communication and presentation skills 01
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
Visual Aids for Exploratory Data Analysis.pdf
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Feature types and data preprocessing steps
CyberSecurity Mobile and Wireless Devices
Fundamentals of Mechanical Engineering.pptx
Information Storage and Retrieval Techniques Unit III
Design Guidelines and solutions for Plastics parts
Management Information system : MIS-e-Business Systems.pptx

Implement API Gateway using Azure API Management

  • 1. IMPLEMENT API GATEWAY USING AZURE API MANAGEMENT ALEXANDER LAYSHA, CHIEF SOFTWARE ENGINEER AT EPAM SYSTEMS
  • 2. AGENDA • WHY WE IMEPLEMENTED API GATEWAY • INTRODUCTION TO AZURE API MANAGEMENT • DESIGN FOR PRICING TIERS • OVERVIEW OF PUBLISH AND DEVELOPER PORTALS • POLICY DISCUSSION • OPTIONS FOR SECURITY
  • 3. EVOLUTION OF OUR PROJECT UI SOAP REST API 1 REST API 2 REST API N REST APIs DEVELOPERS APPS BEFORE AFTER MONOLITH APP
  • 4. OUR CONCERNS IN API MANAGEMENT • ACCESS TO PUBLIC & INTERNAL APIs • VISIBILITY OF APIs TO CUSTOMERS BASE ON PRICING TIER • CONTROL OF API USAGE BASE ON PRICING TIER • ANALYTICS OF APIs USAGE BY CUSTOMERS • FUTURE NEEDS AND GROWTH PLANS
  • 5. HOW WE ADDRESSED CONCERNS? UI SOAP REST API 1 REST API 2 REST API N REST APIs DEVELOPERS APPS BEFORE AFTER MONOLITH APP APIGATEWAY
  • 6. A BIT ABOUT API GATEWAY & HISTORY API GATEWAY SERVICE TRANSFORMATION SECURITY USAGE QUOTAS & LIMITS MONETIZATION LOGS ANALYTICS DEV SUPPORT VISIBILITY • CREATE API TO EXPOSE BACK-END SERVICES • ACTS AS REVERSE-PROXY • VENDORS: Apigee, WSO2, MuleSoft, AWS API Gateway, Azure API Management
  • 7. INTRO TO AZURE API MANAGEMENT API DEVELOPER PORTAL PUBLISHER PORTAL PROXY AZURE API MANAGEMENT PUBLISHER / ADMIN DEVELOPERS APPS BACKEND
  • 8. API MANAGEMENT FEATURES DEVELOPER PORTAL PUBLISHER PORTAL PROXY AZURE API MANAGEMENT REGISTRATION DOCUMENTATION INTERACTIVE API CONSOLE DEVELOPER ANALYTICS APP GALLERY FORUMS NEWS ISSUES WIKI API PUBLISHING SUBSCRIPTION MANAGEMENT SECURITY MEDIATION CONTENT PUBLISHING SITE CUSTOMIZATION ISSUE MANAGEMENT ANALYTICS REPORTS SCALING CACHING MONITORING TRAFFIC MANAGEMENT TRANSFORMATION
  • 9. API MANAGEMENT ENTITIES USER PRODUCT OPEN|PROTECTED API RATE LIMITS & QUOTAs GROUP
  • 10. DEMO: OUR DESIGN FOR PRICING TIERS TRIAL PRODUCT PROTECTED PAID PRODUCT PROTECTED SYS PRODUCT PROTECTED Health Check API LIMITS FOR TRIAL SYS GROUP LIMITS FOR PAID TRIAL GROUP ADMIN GROUP UNLIMITED SYS ACCOUNT TRIAL ACCOUNT PAID ACCOUNT ADMIN ACCOUNT API NAPI 2API 1 APIs CUSTOMER PRODUCTS INTERNAL USE ADMIN USE BUSINESS USE PAID GROUP
  • 11. API MANAGEMENT POLICY “In Azure API Management, policies are a powerful capability of the system that allow the publisher to change the behavior of the API through configuration. Policies are a collection of Statements that are executed sequentially on the request or response of an API. ” POLICY SCOPES ARE EVALUATED IN THE FOLLOWING ORDER: • Global scope • Product scope • API scope • Operation scope
  • 12. POLICY TEMPLATE <policies> <inbound> <!-- statements to be applied to the request go here --> </inbound> <backend> <!-- statements to be applied before the request is forwarded to the backend service go here --> </backend> <outbound> <!-- statements to be applied to the response go here --> </outbound> <on-error> <!-- statements to be applied if there is an error condition go here --> </on-error> </policies> POLICY REFERENCE: https://docs.microsoft.com/en-us/azure/api-management/api-management-policy-reference
  • 13. HOW TO DEBUG API MANAGEMENT? • API INSPECTOR TOOL HEADER: Ocp-Apim-Trace = true • EVENT HUB LOGGER <log-to-eventhub logger-id ='logger-id'> @( string.Join(",", DateTime.UtcNow, ...)) </log-to-eventhub>
  • 14. DEMO: POLICY TO DOWNLOAD A FILE DEVELOPERS AZURE BLOB STORAGE CUSTOMPOLICY AZURE WEB APP AZUREAPIMANAGEMENT URL + SAS 2 5 URL + SAS FILE ID 3 4 FILE FILE ID FILE 1 6
  • 15. WHAT ARE OPTIONS TO SECURE API? • SECURITY BY OBSCURITY • BASIC AUTH • MUTUAL SSL • VNET • OAUTH 2.0 • OPENID
  • 16. DEMO: OUR DESIGN FOR SECURITY DEVELOPERS AZURE API MANAGEMENT SUBSCIPTION KEY AZURE WEB APPs CERTIFICATIO NFILE BUSINESS PROCESS TO REGISTER NEW CUSTOMER SUBSCIPTION KEY API NAPI 1
  • 17. Q&A