AWS Storage and Compute

Storage questions give you an access pattern and ask for the cheapest class that meets it. Compute questions give you a workload shape and ask for the cheapest purchasing model. Both are lookup problems once the tables are memorised.

S3 storage classes

ClassAccess patternRetrievalMinimum duration
StandardFrequentMillisecondsNone
Intelligent-TieringUnknown or changingMillisecondsNone
Standard-IAInfrequent, rapid when neededMilliseconds30 days
One Zone-IAInfrequent, reproducible dataMilliseconds30 days
Glacier Instant RetrievalArchive, needs instant accessMilliseconds90 days
Glacier Flexible RetrievalArchive, hours acceptableMinutes to hours90 days
Glacier Deep ArchiveLong-term retentionUp to 12 hours180 days

EBS volume types

TypeMediaBest for
gp3SSDGeneral purpose. Baseline throughput, independent of size
gp2SSDGeneral purpose, IOPS scales with size. Superseded by gp3
io2 / io2 Block ExpressSSDHigh IOPS, durability sensitive databases
st1HDDThroughput workloads, big sequential reads
sc1HDDColdest, lowest cost, infrequent access

EC2 purchasing options

OptionDiscountSuits
On-DemandNoneShort, unpredictable workloads
Savings PlansUp to 72%Committed spend, flexible across instance types
Reserved InstancesUp to 72%Steady state, one or three year commitment
Spot InstancesUp to 90%Interruptible work. Two-minute termination notice
Dedicated HostsVariesLicensing tied to physical sockets, compliance
Dedicated InstancesVariesIsolated hardware without host visibility

Storage service selection

NeedService
Object storage over HTTPS3
Block storage for one EC2 instanceEBS
Shared POSIX filesystem for LinuxEFS
Shared SMB filesystem for WindowsFSx for Windows File Server
Temporary storage tied to instance lifeInstance store
Hybrid on-premises to cloud storageStorage Gateway
Petabyte-scale physical transferSnowball family

Now test yourself

Memorizing a table is a start. Practice questions are what make it stick, and every answer carries the full explanation.