deniz.in

Markets

Weather

Loading weather

· via dev.to (home feed)

AWS API Gateway's new API Portal discovers shadow APIs across an organization

AWS's new API Portal for Amazon API Gateway inventories APIs behind API Gateway, ALB and CloudFront, flags shadow endpoints, checks their security posture and charges per method-path row.

AWS API Gateway's new API Portal discovers shadow APIs across an organization

AWS has launched API Portal, a feature of Amazon API Gateway that inventories the APIs an organization is actually serving, including the ones nobody remembers deploying. According to a dev.to post summarizing AWS's launch announcement and developer guide, the feature catalogs APIs behind API Gateway, Application Load Balancer and CloudFront, for a single account or an entire AWS Organization. AWS says nothing needs installing, no logs need forwarding and no traffic needs rerouting; the portal works from traffic telemetry and configuration data already sitting on AWS's side. The post's author notes they have not yet enabled the feature themselves.

How discovery works

Every API the portal finds begins life as a shadow API. Administrators promote the ones they want to keep to managed status, and managed APIs that stop receiving traffic or lose their owner get flagged in turn. Discovery is read-only, and promoting an API does not modify the underlying resource.

The portal also picks out AI-specific endpoints, including MCP servers, A2A servers and LLM-backed APIs, inferred from the protocols observed in their traffic, and evaluates each API's posture across authentication, request validation, throttling, TLS version and WAF protection.

Row counting drives the cost

One detail shapes both the inventory and the bill: an API in this product is defined as an HTTP method combined with a path on a front door, such as GET /v1/payments. A single REST API therefore typically appears as several rows, and an API reachable through two front doors gets a row for each. As the dev.to post points out, a modest microservice estate can exceed the included quota surprisingly quickly, so the practical advice is to budget by row count rather than API count.

Coverage is uneven by source

The discovery net is not uniform. Within API Gateway, only REST APIs are found; HTTP APIs and WebSocket APIs are not discovered. Explicit methods can surface from AWS Config records even with no traffic, but ANY methods and greedy paths such as /{proxy+} only appear once real traffic is seen. Application Load Balancers contribute traffic-based discovery only, so a dead endpoint never appears. CloudFront is likewise traffic-only, and is discovered in us-east-1 because the service is global. If a large share of an estate uses HTTP APIs, the portal will not reflect that share.

On timing, new APIs typically appear within a few hours, and AWS advises allowing up to 24 hours after enabling the feature. Deleted or silent APIs remain in the inventory for roughly 30 days. The feature is available in 32 Regions.

What it costs

Per the pricing figures quoted in the dev.to post, which cover US East (N. Virginia) only: discovery carries a $40.00 monthly minimum per Region, including up to 400 discovered APIs, with each additional discovered API at $0.10. The documentation portal costs $125.00 including 400 APIs, with each additional API in a portal at $0.30. An API is never billed under both discovery and documentation. AWS's own worked examples put 300 discovered APIs with no portal at $40, and 600 discovered APIs with a 500-API portal at $165. Pricing for Regions outside US East was not stated.

The WAF tie-in

On the same day, AWS launched two managed rule groups for AWS WAF: API Security and AI Security. AWS's security blog frames the pair as the enforcement half of the picture, with API Portal showing what exists and which endpoints WAF protects, and surfacing the security events WAF detects on each managed API. Existing API Gateway documentation portals continue to work, managed from a Documentation Portals section, but at launch there is no migration path between the old and new portals, and managed APIs do not carry over automatically.

Why it matters

Shadow APIs are a persistent operational and security gap: endpoints nobody tracks are endpoints nobody patches, throttles or retires, and they become a liability the moment someone outside finds them. The value of API Portal is less the tooling than the measurement, namely the discrepancy between the APIs a team believes it runs and the ones actually answering requests.

The caveats matter as much as the feature. HTTP APIs, a large share of many estates, are invisible to it; per-method row counting can inflate costs quickly; per-Region pricing beyond US East is unpublished; and AWS has not stated the thresholds that flag an API as inactive or ownerless. The dev.to author's suggested rollout is to enable discovery in a single non-production account, wait the full 24 hours, compare the row count to what the team believes it owns, check how much of the estate is HTTP APIs, and estimate rows against the 400 included before enabling the feature organization-wide.

  • #aws
  • #api-gateway
  • #shadow-apis
  • #cloud-security
  • #api-management

Related posts