Skip to main content

server_price

Server type prices per Region and Allocation method.

Primary key: vendor_id, region_id, zone_id, server_id, allocation. See the version history of this table on dbdocs.io.

Columns​

ColumnTypeConstraintsReferencesDescription
vendor_idVARCHAR(255)PKvendor.vendor_idReference to the Vendor.
region_idVARCHAR(255)PKregion.region_idReference to the Region.
zone_idVARCHAR(255)PKzone.zone_idReference to the Zone.
server_idVARCHAR(255)PKserver.server_idReference to the Server.
operating_systemVARCHAR(255)NOT NULLOperating System.
allocationENUMPKAllocation method, e.g. on-demand or spot. See Allocation for the possible values.
unitENUMNOT NULLBilling unit of the pricing model. See PriceUnit for the possible values.
priceFLOATNOT NULLActual price of a billing unit.
price_upfrontFLOATNOT NULLPrice to be paid when setting up the resource.
price_tieredJSONNOT NULLList of pricing tiers with min/max thresholds and actual prices.
currencyVARCHAR(255)NOT NULLCurrency of the prices.
statusENUMNOT NULLStatus of the resource (active or inactive). See Status for the possible values.
observed_atDATETIMENOT NULLTimestamp of the last observation.

Foreign keys​

  • vendor_id, region_id → region (vendor_id, region_id)
  • vendor_id, region_id, zone_id → zone (vendor_id, region_id, zone_id)
  • vendor_id, server_id → server (vendor_id, server_id)
  • vendor_id → vendor (vendor_id)

Enums​

Allocation​

Server allocation options.

ValueDescription
ONDEMANDOn-demand server.
RESERVEDReserved server.
SPOTSpot/preemptible server.

PriceUnit​

Supported units for the price tables.

ValueDescription
YEARPrice per year.
MONTHPrice per month.
HOURPrice per hour.
GIBPrice per gibibyte (GiB).
GBPrice per gigabyte (GB).
GB_MONTHPrice per gigabyte (GB)/month.

Status​

Last known status of a resource, e.g. active or inactive.

ValueDescription
ACTIVEActive and available resource.
INACTIVEUnavailable. For Server/Database: temporary or unknown cause.
PLANNED_FOR_RETIREMENTPlanned for retirement; only valid for Server and Database.
RETIREDNot orderable anymore, but prices may still exist (e.g. active multi-year contracts). Only valid for Server and Database.