Taking Control over your APIs with Azure API Management

7252086bae9203045dd7f5664fd96a07?s=47 Manuel Meyer
November 21, 2019

Taking Control over your APIs with Azure API Management

We live in the era of the API-Economy. You are not a serious business if you don't offer Application Programmer Interfaces (APIs) to your customers and partners and use fancy words, such as "B2C-Engagement" or "B2B-Partner-Integration". Building and publishing an API is easy nowadays, but maintaining and evolving them is NOT! This is where Azure API Management (APIM) comes to the rescue. Azure APIM introduces a common layer where you can publish, manage and organise your API's. APIM decouples the API definitions that you publish to your consumers from the implementations within your company. It supports you by generating a developer portal where your API consumers can register for, browse through and even test you APIs. Since all your public APIs are exposed through a common platform, you can inspect, transform and redirect the requests and responses. In this session we find out how we can use Azure API Management in your enterprise and take back control over our APIs.

7252086bae9203045dd7f5664fd96a07?s=128

Manuel Meyer

November 21, 2019
Tweet

Transcript

  1. Taking Control over your APIs with Azure API Management Manuel

    Meyer Azure Architect, Trivadis AG www.manuelmeyer.net @manumeyer1
  2. None
  3. None
  4. The «API Economy» „The API economy is an enabler for

    turning a business or organization into a platform“ Gartner, 2016 https://www.gartner.com/smarterwithgartner/welcome-to-the-api-economy/
  5. The «API Economy» „Make APIs the basis of your digital

    strategy“ Gartner, 2017 https://www.gartner.com/smarterwithgartner/the-road-to-the-api-economy/
  6. «The Digital Transformation runs on APIs» APIs Connected Experience Devices

    and Data
  7. Getting Started

  8. None
  9. Getting Started ▪ Adapt ▪ Format, URLs, versioning, caching strategy

    ▪ Expose ▪ Discovery, subscriptions, documentation, samples ▪ Protect ▪ Authorization, quotas, rate limits ▪ Understand ▪ Usage, health, latency, activity, trends ▪ Manage ▪ Lifecycle, monitoring, alerting.
  10. «The Digital Transformation runs on APIs» APIs Connected Experience Devices

    and Data
  11. «The Digital Transformation runs on APIs» Connected Experience Devices and

    Data Publish Azure portal Mediate Gateway Consume Developer portal Developers (use APIs) Publishers (provide APIs)
  12. None
  13. Publish Products contain APIs with Operations Groups contain Users (Devs)

    Products are visible to Groups Groups allow Developers to Subscribe to APIs. ProductsAPI DiscountsAPI BillingAPI Product: Sales Product: Accounting Group: PartnerDevs invite subscribe Group: Others
  14. Publish – Import API

  15. Publish – Configure API/Operations

  16. Publish – Test Operation

  17. None
  18. None
  19. Consume – Manage Users ▪ User Management ▪ Add User

    ▪ Invite via Email ▪ Self-Sign-Up (via Developer Portal) ▪ Subscriptions ▪ API Requires Subscription (yes/no) ▪ Subscription requires Admin Approval (yes/no).
  20. Consume – Developer Portal

  21. Consume – Developer Portal ▪ Sign-up/Sign-in/Change Password/Cancel ▪ Discover Products

    & APIs ▪ View Docs & Samples ▪ Request a Subscription ▪ Test APIs ▪ Fully Generated & Customizable ▪ Self-Hostable (new Portal only).
  22. None
  23. None
  24. Mediate - Analytics

  25. Mediate - Analytics

  26. Mediate - Analytics

  27. Mediate – Analytics with Application Insights

  28. Mediate – Analytics with Application Insights

  29. None
  30. Mediate - Policies ▪ Access Restriction ▪ Check HTTP Header

    ▪ Limit call rate ▪ Restrict Caller Ips ▪ Set Usage Quota ▪ Validate JWT ▪ Advanced Policies ▪ Limit Concurrency ▪ Mock Response ▪ Retry ▪ Trace ▪ Set status Code ▪ Caching ▪ Get from cache ▪ Store to cache ▪ Transformation ▪ Convert JSON to XML ▪ Replace String ▪ Set Body ▪ Rewrite URL.
  31. Mediate – Add Policy

  32. Mediate – Add Policy

  33. Mediate – Complex Policies

  34. None
  35. None
  36. Setup - Simple http://microsoftintegration.guru/2018/01/06/considerations-for-hardening-apis-built-with-azure-api-management-azure-functions/

  37. Setup – Complex (VNET Integration)

  38. Setup – Complex (Azure Arc)

  39. Pricing ▪ Consumption Tier (limited functionality) ▪ Developer Tier (dev/test,

    500 req/s): 40 EUR / Month ▪ Basic Tier (entry level prod, 1k req/s): 125 EUR / Month ▪ Standard (medium level prod, 2.5k req/s: 600 EUR / Month ▪ Premium (high volume, 4k req/s): 2350 EUR / Month ▪ Up to 10 units ▪ VNET Integration ▪ Multi-region Deployment ▪ Self-hosted Gateway
  40. Recap Connected Experience Devices and Data Publish Azure portal Mediate

    Gateway Consume Developer portal Developers (use APIs) Publishers (provide APIs)
  41. Thank you! Manuel Meyer www.manuelmeyer.net @manumeyer1 manuel.meyer@trivadis.com