How are the sizes of drives and servers measured?

Like a physical hard drive, drives are measured in gigabytes (GB). Servers have two adjustable sizes: the amount of memory (in MB) and the amount of CPU bandwidth (in core-MHz).