AWS Price List API
The free AWS service that answers exactly what a resource costs, queried by service, location and other filters.
In more detail
The price catalogue is only served from a few regions, such as us-east-1, whatever location you are pricing. Filters pin down one product: instance type, location, operating system, tenancy and so on, because a price without them is meaningless. Reading it costs nothing, so scripts can check prices instead of quoting stale numbers.
Example
aws pricing get-products --region us-east-1 --service-code AmazonEC2 --filters Type=TERM_MATCH,Field=instanceType,Value=t3.microRelated terms
- on-demand pricing — Paying a published hourly or per-second rate for a resource with no commitment, so you can stop paying at any time.
- instance type — The size and hardware shape of a virtual machine: how many virtual processors, how much memory and how much network capacity it gets.
- tenancy — Whether your virtual machine shares physical hardware with other customers (shared) or runs on hardware reserved for you (dedicated).
- jq — A command-line tool that reads, filters and reshapes JSON data.
Taught in
- Capital to Operating Expenditure — Cloud Infrastructure & Hyperscaler Architecture
- Regions, Availability Zones and Reliability — Cloud Infrastructure & Hyperscaler Architecture