AWS Inspector Container Scanning Cost Model

Source code: github.com/statik/inspector-cost



Monthly Cost Summary


Pricing Reference

  • ECR initial scan (on push): $0.09 / image
  • ECR continuous rescan: $0.01 / image / rescan event
  • CI/CD on-demand scan: $0.03 / image
  • Each build pushes 1 new image digest to ECR.
  • On-push: scanned once per push. No rescans.
  • Lifecycle mode: retained images = all digests pushed within the retention window. Live containers (latest per service) are always kept.
  • Baseline mode: a fixed number of images in the registry, floored by the live service count.
  • Continuous: rescans all retained images per vuln DB update.
  • CI/CD pipeline: adds a per-build scan in CI/CD tooling.

Scenario A

Scenario B

Scenario C



Scenario Comparison Table