Skip to main content

Separate server compute from persistent data

If a workload stores meaningful data, it should rarely depend only on the instance root disk. Attached disks keep storage growth and recovery planning more deliberate.

When to use attached disks

  • Application data should live outside the OS disk
  • A database or queue needs persistent storage
  • Storage growth is likely to outpace CPU or memory growth
  • You want cleaner recovery and migration patterns

Disk workflow

1

Create the disk in the same region

Keep the disk close to the instance it will serve.
2

Attach and format it correctly

Mount the disk using the filesystem your application expects.
3

Persist the mount configuration

Ensure the application still sees the disk after reboot or recovery.
4

Resize before you are out of space

Grow storage intentionally and verify the filesystem expansion completes.

Continue with