API-first SaaS business model

API Management
Cosmos DB
Functions
Kubernetes Service
SQL Database

Solution ideas

This article is a solution idea. If you'd like us to expand the content with more information, such as potential use cases, alternative services, implementation considerations, or pricing guidance, let us know by providing GitHub feedback.

Adapt, evolve, and allow faster innovation to turn opportunities into strategic advantages.

Potential use cases

This solution enables you to do the following:

  • Create an API gateway and developer portal in minutes, and publish APIs easily for internal or external use.
  • Handle any data schema, and adapt quickly to rapid changes.
  • Connect to back-end services anywhere, and manage, secure, and optimize all APIs in one place.

Architecture

Diagram that shows the API-first architecture. Download an SVG file of this architecture.

Dataflow

The data flows through the solution as follows:

  1. API is defined by API developers and published via the API Management portal.
  2. Application developers define the microservices and associated logic and deploy to Kubernetes.
  3. API users (internal and/or external) use the API developer portal to learn about the API and use them in their applications.
  4. Applications access APIs via the API Gateway.
  5. API Gateway, after ensuring the API request meets security and other policies, e.g., throttling, forwards the request to service running in Kubernetes.

Components

The example scenario uses several Azure components:

  • Azure Kubernetes Service: The fully managed Azure Kubernetes Service (AKS) makes deploying and managing containerized applications easy
  • Azure API Management: Selectively expose data and services to the outside world and manage incoming API calls
  • Azure Cosmos DB: A fully managed database service with turnkey global distribution and transparent multi-primary replication.
  • Azure SQL Database: A fully managed relational database with built-in intelligence.
  • Azure Storage: Azure Storage offers a durable, highly available, massively scalable cloud storage solution and includes object, file, disk, queue, and table storage.
  • Azure Functions: An event-driven serverless compute platform that can also solve complex orchestration problems.

Contributors

This article is maintained by Microsoft. It was originally written by the following contributors.

Principal author:

To see non-public LinkedIn profiles, sign in to LinkedIn.

Next steps