/aws/instances

POST /api/aws/instances

Price: 1 credit

Look up one EC2 instance type in one region and return its on-demand rate together with the full hardware specification AWS publishes for it: vCPU count, memory, instance storage, network performance, physical processor, ECU rating, workload category and whether the type is a current or a previous generation. The rate is quoted for the guest operating system, tenancy, bundled software and licensing arrangement given in the request.

How to use it

`instance_type` is the full name including the size — `m5.xlarge`, not `m5`; a family on its own is rejected. The four rate dimensions have no defaults because each changes the price: for a plain Linux machine send `Linux`, `Shared`, `NA` and `No License required`. Previous-generation types resolve here exactly like current ones. Only the on-demand rate is returned; for reserved rates call aws/prices/search with the same instance type.

Parameters

Request body

Response

Errors

Response headers