Azure API Management vs Amazon API Gateway: which fits your API estate
Azure API Management fits Azure-hosted estates that need a managed gateway and a developer portal. Amazon API Gateway fits AWS-native REST, HTTP and WebSocket APIs billed per call. The decision turns on where API traffic must flow, how usage is shaped, which cloud already holds the backends and identity, and whether your team can operate a gateway. Start with the data path: by default, the management plane, gateway and developer portal all run in Azure, so every API call flows through Azure even when the backends sit elsewhere. The self-hosted gateway keeps traffic in your network, but Microsoft lists it only in the Developer and Premium tiers, and the Developer tier has no SLA and is for non-production use. Check the tier comparison before you assume a residency rule is met.
Usage shape drives cost more than the list rate. Amazon API Gateway's published US East examples price REST calls at $3.50 per million for the first 333 million, HTTP API calls at $1.00 per million for the first 300 million, and WebSocket messages at $1.00 per million, with connection minutes and data transfer out billed separately. Confirm current regional rates and your own call volume before you compare, using the AWS pricing page as the starting point. API Management is priced by tier, unit count, capacity model, availability zones and usage, and Microsoft's APIOps guidance gives no fixed estimate, so request a quote built from your tier, units, regions and expected traffic. Bursty partner traffic, long-lived WebSocket connections and high-volume internal calls each push the comparison in a different direction, so model them separately.
A self-hosted gateway trades invoices for operating work. Apache APISIX and Kong Gateway OSS are both Apache-2.0 licensed and can run in your own cloud accounts or data centers, which fits when data path or portability matters more than managed convenience. Your team then owns upgrades, high availability for the gateway and its configuration store, certificates, logging, and the developer portal and analytics you would need to add yourself. Before deciding, map each Azure policy to a plugin or native feature, confirm who is paged when the gateway fails, and list which AWS REST APIs you must rebuild, since exports cover only application/json payloads. Those answers set the migration scope and the team you need.
Which option fits each API scenario
This table matches common API scenarios to the platform that fits each one better, and the Why column states the condition under which that choice holds. Read each row against your own backends, network rules and exit plans. If a condition does not hold for you, the other platform or a self-hosted gateway may be the better fit.
| Scenario | Better fit | Why |
|---|---|---|
| Backends and identity already in Azure | Azure API Management | Holds when backends and your identity provider already run in Azure and routing all traffic through Azure is acceptable. |
| AWS-native workloads | Amazon API Gateway | Holds when APIs front AWS-hosted backends and your team already runs, bills and audits workloads in AWS accounts. |
| Developer portal needed | Azure API Management | Holds on any tier except Consumption, which has no developer portal. Check Amazon API Gateway's portal options separately. |
| Traffic must stay inside your network | Azure API Management self-hosted gateway | Holds on Developer or Premium only, with outbound port 443 to Azure. Configuration updates still come from Azure, so fully local control needs another gateway. |
| Non-production evaluation | Azure API Management Developer tier | Holds for evaluations and non-production use only. The Developer tier has no SLA, so do not put production traffic on it. |
| WebSocket-heavy workloads | Amazon API Gateway WebSocket APIs | Holds when per-message and connection-minute billing fits your traffic, using AWS's example rates of $1.00 per million messages and $0.25 per million connection minutes. |
| Planned exit | Either, after a tested export | Holds when you can export and re-import definitions. Amazon API Gateway REST exports require application/json payloads, so check payload types first. |
How to decide between the two, and when to go open source
The path starts with where your backends and identity sit. If both are in AWS, Amazon API Gateway is the native candidate. If they sit in Azure or span several clouds, ask whether API traffic must stay inside your network or data center. If Azure traffic can leave your network, the managed Azure service is a direct fit. If it must stay local, Azure's self-hosted gateway requires the Premium tier, because Developer is for non-production use, and it still needs outbound connectivity to Azure. Mixed clouds skip that question and go straight to the team check. The final check is whether your team can run a gateway cluster. If it can, self-hosted Apache APISIX or Kong Gateway keeps every hop in your environment. Confirm each branch against your own environment before you commit.
Decision path from cloud footprint to traffic location to team capacity.
Azure API Management vs Amazon API Gateway: capability by capability
This table compares the two managed gateways on the capabilities that most often shape a renewal or data control review: deployment scope, developer portal, self-hosted options, network isolation, definition export, caching and SLA scope. Azure answers depend on the tier you buy, so read each row against the tier and API type you plan to use. Where a cell says to confirm, check the current position with AWS or Microsoft before you rely on it.
| Capability | Azure API Management | Amazon API Gateway |
|---|---|---|
| API types and gateway scope | Managed gateway, developer portal and management plane; by default all three run in Azure | Managed REST, HTTP and WebSocket APIs in AWS; confirm where each gateway type runs |
| Developer portal | Available in every tier except Consumption | Confirm with AWS whether a managed developer portal is included |
| Self-hosted gateway | Developer and Premium tiers only, run on Docker, Kubernetes or Azure Arc-enabled Kubernetes | Confirm with AWS whether any gateway can run outside AWS |
| Virtual network injection | Developer, Premium and Premium v2 tiers only | Confirm with AWS how private connectivity to backends is configured |
| Multi-region | Classic Premium tier only | Confirm with AWS how multi-Region deployments are built and billed |
| API definition export | APIOps CLI extracts configuration into files in a Git repository | REST stage exports as OpenAPI 3.0 or 2.0 in JSON or YAML; non-JSON payloads cannot be exported |
| Caching | Confirm with Microsoft which cache options each tier includes | REST API cache option; AWS's example lists 1.6 GB at $0.038 per hour |
| SLA scope | Developer tier has no SLA; confirm terms for other tiers with Microsoft | Confirm the SLA terms for each API type with AWS |
Azure API Management vs Amazon API Gateway costs: what each bill is made of
Both bills combine usage with the capacity you buy, but the units differ. Amazon publishes per-request and per-hour examples for US East, while Azure bills by tier and unit count, so the two totals cannot be compared line by line without a written configuration for each. The cards below show what each bill contains and what to check before you compare them.
Azure: tier and unit pricing
Azure API Management is priced by tier and unit. Microsoft's APIOps guidance says the price varies by region, tier, unit count, capacity model, availability-zone or multiregion setup and usage, and it gives no fixed estimate. This page carries no Azure prices, so request a quote from a written configuration that names the tier, unit count, region, capacity model and whether you need availability zones or multiregion deployment.
APIOps CLI guidanceAmazon: US East pricing examples
AWS's pricing examples for US East show REST calls at $3.50 per million for the first 333 million, HTTP calls at $1.00 per million for the first 300 million, and WebSocket traffic at $1.00 per million messages plus $0.25 per million connection minutes. The same examples list data transfer out at $0.09 per GB and a REST cache of 1.6 GB at $0.038 per hour. Each rate is billed separately, and these examples do not replace a quote for your own configuration.
AWS pricing pageFree tier for new accounts
New AWS customers receive, up to 12 months from sign-up, 1 million REST API calls, 1 million HTTP API calls, 1 million WebSocket messages and 750,000 connection minutes per month. This allowance suits build and pilot work, but it ends at the 12-month mark, and usage beyond the monthly amounts is billed at the rates in the pricing examples. Confirm your account's eligibility before you model costs on it.
What moves the bill
On the Amazon side, call volume and data transfer out scale with traffic, while cache size and WebSocket connection minutes add cost by time even when traffic is light. On the Azure side, unit count and tier set the base charge, and a feature such as multiregion deployment can require a higher tier. Build one usage model with call counts, response sizes, connection hours and cache needs, then send the same model with each written configuration when you request quotes.
Who runs the gateway and what that asks of your team
Under Azure API Management, Microsoft runs the management plane, gateway and developer portal by default, so every API call flows through Azure whatever the location of your backends. If that fits your data handling review, your team's operating load stays small because configuration lives in the managed service. Moving the gateway into your own estate is a separate decision. The self-hosted gateway is a Linux container image that runs on Docker, Kubernetes or an Azure Arc-enabled Kubernetes cluster, and each self-hosted gateway is tied to a single API Management instance. Check the tier comparison before you design around it, because the self-hosted gateway is offered only in the Developer and Premium tiers.
Running the self-hosted gateway moves container operation to your team. The gateway needs outbound port 443 to Azure, sends heartbeat messages every minute and checks for configuration updates every 10 seconds. Those figures belong in your runbook: egress rules for every host or cluster that runs the gateway, monitoring that alerts when heartbeats stop, and a named owner for each gateway. If connectivity to Azure is lost, running gateways keep their last configuration in memory, but a stopped gateway can start again only if configuration backup is enabled. Decide whether that backup meets your recovery objectives, then test a restart with the Azure link cut before any production traffic moves. The self-hosted gateway overview sets out these requirements in full.
With Amazon API Gateway, AWS operates the service, so your team's effort centers on what you configure: API definitions, stages, deployments, IAM permissions and logging. Those settings carry most of the recurring work. Confirm the operational details, such as how deployments are rolled back, how logs are retained and which service limits apply, in the AWS documentation and in a test account, because these details change over time. Effort rises with the number of APIs, the number of environments that each need their own stages and deployments, the number of authorizers and mapping templates you maintain, how identity integration is built, and how many change windows your organization allows. Exit planning starts here too: a REST API stage can be exported as an OpenAPI definition, but APIs with payloads other than application/json cannot be exported, so test an export of your busiest API early.
Where API traffic flows and what leaving either product involves
Before comparing features, confirm where each gateway sends traffic and what can leave the platform. The Azure and Amazon cards below cover the data path, the export tooling each product offers, and the parts of those exports that only work on the original platform.
Azure data path
By default, the management plane, gateway and developer portal of an Azure API Management instance all run in Azure, so all API traffic flows through Azure even when the backends sit in your own data center or another cloud. A self-hosted gateway keeps request traffic local, but it runs as a container on Docker, Kubernetes or Azure Arc-enabled Kubernetes and must reach Azure over outbound port 443. Microsoft lists the self-hosted gateway only in the Developer and Premium tiers, so confirm your tier and how your security team will allow that outbound path.
Self-hosted gateway docsAmazon data path
Amazon API Gateway is a managed AWS service for REST, HTTP and WebSocket APIs, so the data path questions concern AWS regions, accounts and log destinations. Confirm the regional endpoints your APIs use, where access and execution logs are delivered, and what leaves your AWS account, including calls to backends outside AWS and data transfer out. Answer each point from AWS documentation and record the answers in your data flow diagram before you sign a renewal or a migration plan.
Azure configuration export
Microsoft's APIOps CLI is open source and extracts API Management configuration into files in a Git repository. The extract covers API specifications, policy XML, products, diagnostics and named values, and the same files can publish to target instances. That gives you a reviewable copy of the configuration and a starting point for migration. Secrets and developer portal content need separate handling, so plan how credentials are rotated and how portal content is rebuilt, and confirm with the tool documentation what it does not extract.
APIOps CLI guidanceAmazon definition export
API Gateway can export a deployed REST API stage as an OpenAPI 3.0 or 2.0 definition in JSON or YAML, optionally with integration or Postman extensions, through the console or the GetExport API. The export fails for payloads that are not application/json, and for models that are not defined for application/json, so review each API's request and response types before you rely on it. The export described here covers REST stages, so confirm with AWS what coverage exists for HTTP and WebSocket APIs.
REST API export docsLock-in signals in exports
Policy XML and integration extensions tie definitions to each platform. An Azure export carries policy XML that only Azure API Management interprets, and an Amazon export can carry integration extensions that a target platform may not read. Count the policies, extensions and backend integrations in each API before you choose a target, and budget a translation step for each one. Keep the exported definitions in your own Git repository so the API contracts stay portable even when the runtime behavior is rewritten.
When Apache APISIX or Kong Gateway fits better than either product
Apache APISIX or Kong Gateway fits better than Azure API Management or Amazon API Gateway when control of the data path, portability or exit cost matters more than managed convenience. Both are Apache-2.0 licensed gateways that you can run in your own accounts, data centers or air-gapped networks, so routing, policies and plugin configuration stay under your change control. Apache APISIX is built on NGINX and etcd, keeps routes and plugins in etcd so they update without restarts, and ships more than 100 built-in plugins that cover authentication, traffic control, observability and AI gateway functions. Its 3.19.0 release came out on September 28, 2026, and the downloads page does not mark any release as long-term support, so pin a specific version and schedule upgrades yourselves. Kong Gateway OSS supports traditional, DB-less and hybrid topologies, and its releases stay on the 3.9 line, with 3.9.4 released on October 12, 2026.
The fit depends on whether your team can operate the gateway itself. With either product, you run the gateway cluster, its configuration store (etcd for APISIX, or a database in traditional Kong mode, with DB-less Kong holding configuration in memory), TLS certificates, observability, upgrades and the developer portal. Azure API Management and Amazon API Gateway take on much of this work for you, so the decision is an operations and staffing question as much as a licensing one. Ask your platform team to write down who patches the gateway within your upgrade window, who rotates certificates, which alerts replace the metrics you get from the managed service today, and who is on call when a node fails. These costs recur every month and continue after cutover, so include them in the comparison from the start.
Confirm several points before you commit. Check whether the edition you choose includes a developer portal and analytics, and if it does not, which portal and metrics stack you will run and how it will authenticate users. Confirm admin SSO for the console or dashboard you plan to use, and list any Enterprise-only features your design depends on, such as capabilities your current Azure or AWS setup relies on. If your team runs Kong Gateway Enterprise 3.9, note that Kong's Kong Gateway version support policy sets December 12, 2026 as the end of sunset support for that line, so an upgrade plan is needed now, not after that date.
What a move between the two products involves
A move between Azure API Management and Amazon API Gateway runs in seven stages: inventory, export, mapping, parallel build, identity, traffic shift and decommissioning. The sequence keeps the old gateway serving live traffic until each API has been proven on the new one, so every cutover can be rolled back. Each step closes with a check the team can record in its migration log.
Inventory APIs, owners, consumers and environments
Start by listing every API exposed through the source gateway, along with its named owner, its backend, the consumers that call it (subscriptions, keys, partner applications and internal teams), and the environments where each version runs. Record the payload types too, since JSON, XML, form data and binary bodies behave differently during export and mapping. Platform teams usually own this list, with API owners confirming their entries. The step is done when every API has an owner, a consumer list and a payload type recorded in a shared inventory that the team can review.
Export definitions and flag non-JSON payloads
Export each API definition from the source. For Azure API Management, the open-source APIOps CLI extracts API specifications, policy XML, products, diagnostics and named values into a Git repository. For Amazon API Gateway, export each REST API stage as an OpenAPI 3.0 or 2.0 definition in JSON or YAML, optionally with integration extensions. Amazon cannot export an API whose payloads are not application/json, and models must be defined for application/json, so flag those APIs now and plan how to document them by hand. The step is done when every definition sits in version control and the flagged list is agreed with the API owners.
Map policies and extensions to target features
Review each policy and integration extension and match it to a feature on the target. Azure policy XML such as rate limits, JWT validation and transformations has to be re-expressed in the target's model, and Amazon integration extensions and mapping templates need the same treatment. Mark anything without a clear equivalent as a gap, then decide whether to rebuild it in the backend, a plugin or a custom component, or drop it. Confirm the mapping with the security team for authentication and rate limiting, since those controls must hold after the move. The step is done when every policy has a target, an owner and a gap decision.
Stand up the target and test in parallel
Deploy the target gateway next to the existing one, in your own infrastructure or the cloud account you choose, and load the exported definitions and mapped policies into it. Replay production-like traffic through it, covering success paths, error responses, large payloads and the non-JSON APIs that need special handling. Compare status codes, latency and response bodies against the source gateway. The step is done when the test report shows matching responses for each API and the owners have signed off the results.
Move identity, consumers and credentials
Connect the target to your identity provider and rebuild consumer onboarding: developer accounts, subscriptions or usage plans, and the applications that hold keys. Confirm with the vendor which secrets and subscription keys can be exported, since they may not come across with the definitions. Where they cannot, plan credential reissue and give each consumer a tested new credential before the old one is retired. The step is done when every consumer has a working credential on the target and the sign-in flow passes end-to-end tests.
Shift traffic one API at a time
Move live traffic API by API, changing DNS records or gateway routes for one API at a time, starting with the lowest-risk one. Watch error rates, latency and consumer reports after each change, and keep the old gateway running with its routes intact until the rollback window for that API has closed. Do not decommission anything during this phase. The step is done when every API serves from the target and the owners confirm that no consumer is still calling the old hostname.
Decommission the old gateway and retire secrets
Once rollback is no longer needed for any API, shut down the old gateway, remove its routes and stop paying for its instances and services. Revoke and delete every exported secret, including local copies of the export, pipeline variables and any credential files, and remove sensitive values from the Git repository. Archive the final definitions and the test reports in the records your auditors will ask for. The step is done when the old environment is removed, the secret inventory shows no live exported credentials and the archive is complete.
What drives cost, effort and contract terms when comparing the two
How does Azure API Management pricing compare with Amazon API Gateway pricing?
Both services charge for usage, so call volume is the main input, but the price structures differ and an Azure figure has to come from a quote for your region, tier and unit count. AWS's published US East examples list REST API calls at $3.50 per million for the first 333 million, $2.80 per million for the next 667 million and $2.38 per million beyond that, plus $0.09 per GB of data transfer out. HTTP API calls are listed at $1.00 per million for the first 300 million and $0.90 per million above that. A REST API cache is listed as an hourly charge, for example $0.038 per hour for 1.6 GB. Microsoft's APIOps guidance says API Management prices vary by region, tier, unit count, capacity model, availability-zone or multiregion setup and usage, and it gives no fixed estimate. Ask for a quote that models your monthly calls, data transfer, caching and tier, and add the cost of running a self-hosted gateway to the same comparison.
Which contract terms should I ask for before choosing Azure API Management?
Ask the vendor for the tier, term, any commitment, SLA and renewal terms in writing, because this comparison cannot fix them for you. Microsoft's tier comparison states that the Developer tier is for non-production use and evaluations and has no SLA, so it cannot stand in for a production contract. Tier also decides which features you get: the self-hosted gateway appears only in the Developer and Premium tiers, multi-region deployment only in the classic Premium tier, and virtual network injection in Developer, Premium and Premium v2. Ask whether any commitment changes usage rates, what happens at renewal, how price changes are notified, how long configuration and logs remain available after exit, and which support plan is included. For Amazon API Gateway, ask AWS the same questions about any enterprise agreement you hold, since standard pay-as-you-go rates may not reflect your negotiated terms.
How long does it take to move APIs off Azure API Management?
The timeline depends on your API count, the policies attached to each API and the number of consumers who must switch, so ask for a written schedule built from your own inventory. Each API usually moves through discovery, rebuilding its policies as gateway plugins or filters, testing against the same backends, moving subscriptions and keys, and a DNS cutover. Policy complexity is the largest variable, because rate limits, JWT validation, header transformations and backend routing each need a tested equivalent. Developer accounts, subscriptions and issued keys add work when consumers must re-enroll or rotate credentials. Microsoft's APIOps CLI, an open-source tool, can extract API specifications, policy XML, products, diagnostics and named values into a Git repository, which shortens discovery but still leaves testing to do. Ask the provider to list which phases are included, how many change windows they assume and what rollback looks like for each API.
What does the client need to provide for an API gateway migration?
The client supplies the inventory, the owners, the environments and the decisions that only the business can make, and a quote should list each of these as an input. Prepare the following before work starts:
- A full inventory of APIs, versions, backends, policies, named values and products
- A named owner for every API and a contact for each consuming team
- Access to the Azure subscription, target infrastructure, DNS zones and secrets store
- Agreed change windows, freeze periods and a rollback plan for each API
- Identity decisions covering which identity provider issues tokens, whether Entra ID stays in the request flow and how client credentials move
Identity decisions often take the longest to settle, so start them early. Confirm with your security team which environments may receive production traffic and which audit logs must be kept during the parallel run.
Can our own platform team migrate from Azure API Management without a partner?
Yes, if your team already runs API gateways, ingress controllers or similar traffic components in production, because most of the work is configuration, testing and cutover. Check three things before deciding: whether someone has operated a gateway through a certificate rotation and an upgrade, whether the team can write and test policy equivalents, and whether it has time for a parallel run. If any answer is no, a fixed-scope engagement suits a defined set of APIs, with scope, deliverables and timelines agreed in writing before work starts. A retainer suits teams that want ongoing support, upgrades and continuous testing after cutover. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms inside your own infrastructure, so an engagement can cover the operating model as well as the migration.
What does it cost to run a self-hosted API gateway over time?
Self-hosting replaces a metered service bill with recurring infrastructure, staff and upgrade work, plus any support subscription you choose to buy. The main components are:
- Infrastructure: compute for gateway nodes, load balancers, the configuration store or database, logging, monitoring and the Kubernetes cluster if you run one
- Staff time: on-call coverage, patching, certificate rotation, capacity planning and policy changes
- Upgrades: testing each release in staging before production and planning around version end dates
- Vendor support: optional subscriptions, such as the on-premises subscriptions WSO2 sells with support, or Kong's paid editions
Version dates matter. Kong's version support policy says Kong Gateway 3.9 reached end of full support on December 12, 2025 and reaches end of sunset support on December 12, 2026 for the Enterprise edition, so confirm which line you run before budgeting upgrades.
How DeployOpen helps you evaluate, build or move
DeployOpen is a Chainscore Labs company that plans, implements, hardens and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Azure API Management vs Amazon API Gateway, we can help you evaluate the options, build a self-hosted gateway such as Apache APISIX or Kong Gateway, or move APIs and policies off a managed service.
How we scope
- The written scope names which gateways, APIs, policies and subscriptions are in and out before work starts.
- We inventory your Azure API Management tiers, gateways, virtual network placement and the regions that carry traffic.
- Fixed-scope engagements set deliverables and timelines in writing, and ongoing support is available as a retainer.
How we build
- We stand up the chosen self-hosted gateway, such as Apache APISIX or Kong Gateway, in your infrastructure.
- We export API definitions from the source service using OpenAPI exports or the APIOps CLI, then map policies to gateway plugins.
- We configure authentication, access control, audit logging and backups, then test the APIs before cutover.
How we hand over
- Written deliverables, as agreed in scope, can include architecture notes, configuration in your Git repository and operator runbooks.
- We switch traffic API by API, keeping the old route available until your team confirms traffic.
- Subscriptions, keys and developer accounts are re-issued or migrated under a plan agreed with your API owners.
How we support
- Retainers cover upgrades, backups, patching and continuous API security testing after go-live.
- Security testing of the gateway and APIs produces a findings report, with fixes and a retest.
- For audits, we prepare controls and evidence; independent auditors and certification bodies issue any assessment outcome.

