Size classes and their floor
Buy a size class with a measured performance floor instead of a provider's type, and see where each instance runs.
A size class is what you buy when you want a machine of a given size and speed and do not mind which hardware delivers it. Each class is a shape, a minimum disk, a fixed CPU overcommit and a floor: the least it measures in each dimension, inside a machine of the class on a host that is fully sold.
| Class | vCPU / memory / disk | CPU | Floor |
|---|---|---|---|
s-2 |
2 / 4 GiB / 40 GB | shared, 4 vCPU per host thread | CPU score 0.70, plus memory, disk and fsync minimums |
s-4 |
4 / 8 GiB / 80 GB | shared, 4 per thread | as s-2 |
m-4 |
4 / 32 GiB / 80 GB | shared, 4 per thread | as s-2, on hosts with at least 6 GiB per thread |
d-2 |
2 / 8 GiB / 80 GB | dedicated | CPU score 0.90, the rest as s-2 |
d-8 |
8 / 32 GiB / 240 GB | dedicated | as d-2 |
The CPU score is single-thread speed (7-Zip) against a reference cloud machine (1.0). The other
dimensions are memory bandwidth (STREAM triad, one thread), 4k random reads (queue depth 32) and
fsync per second. Memory is never overcommitted. ec2 size-classes list (GET /ec2/api/size-classes) gives the current numbers, the price in your region and which instance
types meet the floor.
Where a class runs
A class runs on any of our own hosts or on any cloud type whose measurement cleared its floor; a
type that was never measured is not used for it. Launch with sizeClass instead of serverType.
With placement: own-hosts-first, one of our own hosts takes it when one has room, else the
cheapest cloud type that meets the floor:
dcloud ec2 instances run --region-id de1 --size-class s-2 --placement own-hosts-first \
--image-id 114690387 --name web-01A machine on our own host has no VPC: it is on your organization's own network there, with outbound internet, and you reach it through Deutsche Cloud Connect or an elastic IP. A launch that names a VPC, subnet, zone, security groups or one of your machine images stays in the cloud, and so does one without a public address or with Keep OS patched.
GET /ec2/api/instances/{id} answers sizeClass and runsOn: own host or cloud, the supplier, the
location, why it was placed there (the tag ews:placement, for example own host de1-host-1 or
cloud: de1-host-1: … full) and the class's floor next to what that host or type measured. The
console's instance page shows the class in its header and the same facts in the Size class
card.
Price
A class has one price wherever it runs, billed per started hour up to its monthly price, under Instances by size class on your invoice. Where no class price is set in a region, an instance bought as a class is billed as the instance type it runs on, as before.
Instances bought as a type
Nothing changes for them: same type, same price. The API shows nearestSizeClass, the class
closest to their shape, for comparison only.