← Back

Accessing DRAM & NVMe SSDs in the Cloud

5 min read

Both DRAM and local NVMe SSDs on a cloud VM are direct physical hardware resources accessed using standard operating system memory and filesystem operations — no cloud APIs or SDKs are used to access them.


How Your Code Accesses Each Tier

DRAM (System Memory)

Local NVMe SSDs (Instance Store)


When Do You Actually Use a Cloud API?

Cloud SDKs/APIs (like @aws-sdk/client-s3, boto3, or the GCP/Azure SDKs) are only used when communicating over the network to external cloud services, such as Amazon S3 object storage:


Cost: Bundled, Not Metered

Cloud providers do not charge for DRAM or local NVMe SSDs based on reads, writes, or I/O operations. Because they are physical hardware attached directly to the host server, providers bundle them into a flat hourly (or per-second) price for the VM instance (using AWS as an example below — GCP and Azure work the same way).

DRAM & Local NVMe SSDs (Instance Pricing)

How This Compares to S3 Object Storage & EBS

AWS does charge based on reads, writes, and operations for cloud storage services that run over the network:

Summary Comparison

Storage TierAWS Billing MetricRead / Write Request Fees?
DRAMBundled in VM hourly rateNone ($0)
Local NVMe SSDBundled in VM hourly rateNone ($0)
Amazon S3Per GB stored/month + API requestsYes (charged per GET/PUT call)

How Access Works in GCP and Azure

The same principle applies across all major cloud providers: local DRAM and NVMe hardware are accessed via the OS, never via provider APIs — and their cost is bundled into the flat VM rate.

Google Cloud Platform (GCP)

Microsoft Azure