Creating an EBS Volume

Creating and Enabling Multi-Attach for io2 Volume

To create an io2 volume and ensure Multi-Attach is enabled, follow these steps:

  1. Open the Amazon EC2 Console: Go to https://console.aws.amazon.com/ec2/.

  2. Select Volumes: In the navigation pane, choose Volumes.

  3. Create Volume: Click on Create volume.

    Create VPC

  4. Choose Volume Type:

    • Select io2 as the volume type.
  5. Enter Volume Size:

    • For Size, input the desired size of the volume in GiB.
  6. Input IOPS:

    • Under IOPS, enter the maximum number of input/output operations per second (IOPS) the volume should provide.
  7. Choose Availability Zone:

    • Select the Availability Zone where you want to create the volume.
  8. Snapshot ID:

    • Leave the default value (Do not create volume from snapshot).
  9. Enable Multi-Attach:

    • Check Enable Multi-Attach to activate the feature that allows attaching the volume to multiple instances simultaneously.
  10. Set Up Encryption (Optional):

    • Choose to encrypt the volume if desired, and select the appropriate KMS key.
  11. Add Custom Tags (Optional):

    • To assign custom tags, click Add tag in the Tags section, then enter the key and value for the tag.
  12. Create Volume:

    • Finally, click Create volume to complete the process of creating an io2 volume with Multi-Attach enabled.

Create VPC

Attaching EBS Volume to an Instance Using AWS Console

To attach an EBS volume to an instance using the AWS Console, you can follow these steps:

  1. Open the Amazon EC2 console at: https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, select Volumes.

  3. Choose the volume you wish to attach, select Actions, then choose Attach volume.

    Note:

    You can only attach volumes in the Available state.

    Create VPC

  4. For Instance, enter the ID of the instance or select it from the dropdown list.

    Note:

    The volume must be attached to an instance in the same Availability Zone.

    If the volume is encrypted, it can only be attached to instance types that support Amazon EBS encryption. For more information, see Amazon EBS encryption.

  5. For Device name, input the device name supported for the volume. This device name is used by Amazon EC2. The instance’s block device driver may assign a different device name when mounting the volume. For more information, see Device names on Linux instances.

  6. Click Attach volume.

After completing the above steps, the EBS volume will be attached to your instance.

Create VPC