Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Taking Control over your APIs with Azure API Management

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.

Manuel Meyer

November 21, 2019
Tweet

More Decks by Manuel Meyer

Other Decks in Programming

Transcript

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

    Meyer Azure Architect, Trivadis AG www.manuelmeyer.net @manumeyer1
  2. 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/
  3. The «API Economy» „Make APIs the basis of your digital

    strategy“ Gartner, 2017 https://www.gartner.com/smarterwithgartner/the-road-to-the-api-economy/
  4. 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.
  5. «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)
  6. 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
  7. 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).
  8. 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).
  9. 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.
  10. 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
  11. Recap Connected Experience Devices and Data Publish Azure portal Mediate

    Gateway Consume Developer portal Developers (use APIs) Publishers (provide APIs)