Overview
You can attach a separately created disk as a data disk to an instance that resides in the same zone.
Prerequisites
- The disk resides in the same zone as the instance to which you want to attach the disk.
- The instance is in the Running (Running) or Stopped (Stopped) state.
- The disk is in the Available (Available) state.
Context
Before you attach a disk, take note of the following items:
- Disks that were created along with instances are already attached to the instances.
- A disk can only be attached to an instance that is located in the same zone and region as the disk.
- Each disk can be attached only to a single instance at the same time.
- Each Shared Block Storage device can be attached to up to four instances at the same time.