DEV Community

Latchu@DevOps
Latchu@DevOps

Posted on

Part-32: Google Compute Engine Local SSD in Google Cloud Platform (GCP)

Compute Engine Storage - Local SSD

Local SSDs physically attached to HOST SERVER of VM Instance.

Data Encryption

  • Compute Engine automatically encrypts your data when it is written to local SSD
  • Local SSDs cannot use encryption keys (CMEK or CSEK)

Machine Types

  • Only few machine types support Local SSDs

Performance

  • Provides very high IOPS and low latency
  • Higher throughput (10x – 100x faster when compared to PDs)
  • Performance depends on which interface you select
  • RECOMMENDED to use SCSI and NVMe interfaces
  • Use a NVMe-enabled or multi-queue SCSI VM images for better performance

Data Persistence

  • Data persists only until instance is running
  • When VM Instance is deleted, Local SSDs will get deleted.
  • Enable live migration for data to survive regular maintenance events
  • You CANNOT detach and attach it to another VM Instance

When compared to PDs

  • Local SSDs will have lower durability, lower availability and lower flexibility.

Use cases

  • Caching Services
  • Temporary data that needs high throughput

Persistent Disk vs Local SSDs

ssd1

Top comments (0)