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

What's hot (20)

PDF
DevSecOps: What Why and How : Blackhat 2019
NotSoSecure Global Services
 
PPTX
Building better security for your API platform using Azure API Management
Eldert Grootenboer
 
PDF
Azure DevOps Presentation
InCycleSoftware
 
PPTX
Azure devops
Mohit Chhabra
 
PDF
Demystifying DevSecOps
Archana Joshi
 
PDF
DevSecOps and the CI/CD Pipeline
James Wickett
 
PDF
Observability driven development
Geert van der Cruijsen
 
PPTX
App Modernization Pitch Deck.pptx
MONISH407209
 
PPTX
Azure API Management
jeremysbrown
 
PPTX
Site reliability engineering
Jason Loeffler
 
PPTX
What is an API Gateway?
LunchBadger
 
PDF
DevSecOps in Baby Steps
Priyanka Aash
 
PDF
MuleSoft Anypoint Platform and Three Tier Architecture
Harish Kumar
 
PDF
Apigee Edge: Intro to Microgateway
Apigee | Google Cloud
 
PPTX
Azure DevOps in Action
Callon Campbell
 
PPTX
Api testing
Keshav Kashyap
 
PDF
Practical DevSecOps Course - Part 1
Mohammed A. Imran
 
PPTX
Microservices Best Practices
MuleSoft
 
PDF
DevSecOps What Why and How
NotSoSecure Global Services
 
DevSecOps: What Why and How : Blackhat 2019
NotSoSecure Global Services
 
Building better security for your API platform using Azure API Management
Eldert Grootenboer
 
Azure DevOps Presentation
InCycleSoftware
 
Azure devops
Mohit Chhabra
 
Demystifying DevSecOps
Archana Joshi
 
DevSecOps and the CI/CD Pipeline
James Wickett
 
Observability driven development
Geert van der Cruijsen
 
App Modernization Pitch Deck.pptx
MONISH407209
 
Azure API Management
jeremysbrown
 
Site reliability engineering
Jason Loeffler
 
What is an API Gateway?
LunchBadger
 
DevSecOps in Baby Steps
Priyanka Aash
 
MuleSoft Anypoint Platform and Three Tier Architecture
Harish Kumar
 
Apigee Edge: Intro to Microgateway
Apigee | Google Cloud
 
Azure DevOps in Action
Callon Campbell
 
Api testing
Keshav Kashyap
 
Practical DevSecOps Course - Part 1
Mohammed A. Imran
 
Microservices Best Practices
MuleSoft
 
DevSecOps What Why and How
NotSoSecure Global Services
 

Viewers also liked (13)

PPTX
Usage of Reliable Actors in Azure Service Fabric
Alexander Laysha
 
PPTX
Azure API Management Update
BizTalk360
 
PPT
API Management architect presentation
sflynn073
 
PPTX
Service Fabric – building tomorrows applications today
BizTalk360
 
PPTX
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
João Pedro Martins
 
PPT
Todas las APIs de Google
Carlos Toxtli
 
PPTX
Azure API Management
Plain Concepts
 
PDF
Treat Your API Like a Product
Elie Chevignard
 
PPTX
API Management Demystified
Software AG
 
PDF
An Inside Look at a Sophisticated, Multi-vector DDoS Attack
Imperva
 
PPTX
Why Network and Endpoint Security Isn’t Enough
Imperva
 
ODP
ESB vs API management
AdroitLogic
 
PPTX
Microsoft Cloud Computing - Windows Azure Platform
David Chou
 
Usage of Reliable Actors in Azure Service Fabric
Alexander Laysha
 
Azure API Management Update
BizTalk360
 
API Management architect presentation
sflynn073
 
Service Fabric – building tomorrows applications today
BizTalk360
 
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
João Pedro Martins
 
Todas las APIs de Google
Carlos Toxtli
 
Azure API Management
Plain Concepts
 
Treat Your API Like a Product
Elie Chevignard
 
API Management Demystified
Software AG
 
An Inside Look at a Sophisticated, Multi-vector DDoS Attack
Imperva
 
Why Network and Endpoint Security Isn’t Enough
Imperva
 
ESB vs API management
AdroitLogic
 
Microsoft Cloud Computing - Windows Azure Platform
David Chou
 
Ad

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

PPTX
Azure API Management to expose backend services securely
Dinusha Kumarasiri
 
PDF
Azure Spring Clean 2024 event - Azure API Management: Architecting for Perfor...
Hamida Rebai Trabelsi
 
PDF
Improve API Security and Performance with Azure API Management.pdf
vivekbagri7
 
PDF
Global Azure Sydney 2025 - Anupam Ranku.pdf
Anupam Ranku
 
PDF
Azure API Manegement Introduction and Integeration with BizTalk
Shailesh Dwivedi
 
PPTX
Azure API Management - why should I care?
Jouni Heikniemi
 
PDF
Everything you always wanted to know about API Management (but were afraid to...
Massimo Bonanni
 
PPTX
Intro to Azure Api Management - With Cats
Xamariners
 
PDF
Grand tour of Azure API Management.pdf
Sherman37
 
PPTX
Secure and Optimize APIs using Azure API Management
BizTalk360
 
PDF
Azure API Management - Global Azure Bootcamp 2019
Sam Fernando
 
PPTX
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
Sandro Pereira
 
PDF
API Management: La Puerta de enlace (por Francisco Nieto)
Jorge Millán Cabrera
 
PPTX
Azure APIM Presentation to understand about.pptx
pythagorus143
 
PDF
APIs In Action -Harnessing the Power of Azure API Management: Building Robust...
Hamida Rebai Trabelsi
 
PDF
M meijer api management - tech-days 2015
Freelance Consultant / Manager / co-CTO
 
PDF
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
Massimo Bonanni
 
PPTX
Transformation through the API
Alex Danvy
 
PDF
AZ-204: Connect to and consume Azure services and third-party services - Part 1
AzureEzy1
 
PPTX
Build 2017 - P4034 - Agile app development with Azure API Management
Windows Developer
 
Azure API Management to expose backend services securely
Dinusha Kumarasiri
 
Azure Spring Clean 2024 event - Azure API Management: Architecting for Perfor...
Hamida Rebai Trabelsi
 
Improve API Security and Performance with Azure API Management.pdf
vivekbagri7
 
Global Azure Sydney 2025 - Anupam Ranku.pdf
Anupam Ranku
 
Azure API Manegement Introduction and Integeration with BizTalk
Shailesh Dwivedi
 
Azure API Management - why should I care?
Jouni Heikniemi
 
Everything you always wanted to know about API Management (but were afraid to...
Massimo Bonanni
 
Intro to Azure Api Management - With Cats
Xamariners
 
Grand tour of Azure API Management.pdf
Sherman37
 
Secure and Optimize APIs using Azure API Management
BizTalk360
 
Azure API Management - Global Azure Bootcamp 2019
Sam Fernando
 
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
Sandro Pereira
 
API Management: La Puerta de enlace (por Francisco Nieto)
Jorge Millán Cabrera
 
Azure APIM Presentation to understand about.pptx
pythagorus143
 
APIs In Action -Harnessing the Power of Azure API Management: Building Robust...
Hamida Rebai Trabelsi
 
M meijer api management - tech-days 2015
Freelance Consultant / Manager / co-CTO
 
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
Massimo Bonanni
 
Transformation through the API
Alex Danvy
 
AZ-204: Connect to and consume Azure services and third-party services - Part 1
AzureEzy1
 
Build 2017 - P4034 - Agile app development with Azure API Management
Windows Developer
 
Ad

Recently uploaded (20)

PDF
13th International Conference of Security, Privacy and Trust Management (SPTM...
ijcisjournal
 
PPTX
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
rr22001247
 
PDF
تقرير عن التحليل الديناميكي لتدفق الهواء حول جناح.pdf
محمد قصص فتوتة
 
PPTX
Comparison of Flexible and Rigid Pavements in Bangladesh
Arifur Rahman
 
PDF
Designing for Tomorrow – Architecture’s Role in the Sustainability Movement
BIM Services
 
PPTX
WHO And BIS std- for water quality .pptx
dhanashree78
 
PDF
PRIZ Academy - Process functional modelling
PRIZ Guru
 
PDF
June 2025 Top 10 Sites -Electrical and Electronics Engineering: An Internatio...
elelijjournal653
 
PDF
FSE-Journal-First-Automated code editing with search-generate-modify.pdf
cl144
 
PDF
Validating a Citizen Observatories enabling Platform by completing a Citizen ...
Diego López-de-Ipiña González-de-Artaza
 
PPTX
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pptx
AsadShad4
 
PDF
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
PPTX
Kel.3_A_Review_on_Internet_of_Things_for_Defense_v3.pptx
Endang Saefullah
 
PPT
FINAL plumbing code for board exam passer
MattKristopherDiaz
 
PDF
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
 
PPTX
How to Un-Obsolete Your Legacy Keypad Design
Epec Engineered Technologies
 
PDF
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
 
PDF
Python Mini Project: Command-Line Quiz Game for School/College Students
MPREETHI7
 
PPTX
FSE_LLM4SE1_A Tool for In-depth Analysis of Code Execution Reasoning of Large...
cl144
 
PDF
How to Buy Verified CashApp Accounts IN 2025
Buy Verified CashApp Accounts
 
13th International Conference of Security, Privacy and Trust Management (SPTM...
ijcisjournal
 
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
rr22001247
 
تقرير عن التحليل الديناميكي لتدفق الهواء حول جناح.pdf
محمد قصص فتوتة
 
Comparison of Flexible and Rigid Pavements in Bangladesh
Arifur Rahman
 
Designing for Tomorrow – Architecture’s Role in the Sustainability Movement
BIM Services
 
WHO And BIS std- for water quality .pptx
dhanashree78
 
PRIZ Academy - Process functional modelling
PRIZ Guru
 
June 2025 Top 10 Sites -Electrical and Electronics Engineering: An Internatio...
elelijjournal653
 
FSE-Journal-First-Automated code editing with search-generate-modify.pdf
cl144
 
Validating a Citizen Observatories enabling Platform by completing a Citizen ...
Diego López-de-Ipiña González-de-Artaza
 
Bharatiya Antariksh Hackathon 2025 Idea Submission PPT.pptx
AsadShad4
 
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
Kel.3_A_Review_on_Internet_of_Things_for_Defense_v3.pptx
Endang Saefullah
 
FINAL plumbing code for board exam passer
MattKristopherDiaz
 
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
 
How to Un-Obsolete Your Legacy Keypad Design
Epec Engineered Technologies
 
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
 
Python Mini Project: Command-Line Quiz Game for School/College Students
MPREETHI7
 
FSE_LLM4SE1_A Tool for In-depth Analysis of Code Execution Reasoning of Large...
cl144
 
How to Buy Verified CashApp Accounts IN 2025
Buy Verified CashApp Accounts
 

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