Attach an EBS volume

Last updated:2021-07-01 14:39:10

Prerequisites

  • The instance to which a volume is to be attached is in the same availability zone as the volume.
  • The volume is in the To be mounted state.
  • Your account has no overdue payment.

Manually attach an EBS volume

Attach an EBS volume to a KEC instance in the EBS console

If you create a KEC instance and an EBS volume separately, you need to manually attach the EBS volume to the KEC instance in the EBS console.

Note: Currently, EBS volumes can be attached to KEC instances only as data disks.

  1. On the EBS tab, find the EBS volume to be attached and choose More > Mount in the Operation column.

image.png

  1. In the dialog box that appears, select a KEC instance to which you want to attach the EBS volume. You can specify whether the EBS volume will also be deleted when the KEC instance is deleted. Click OK.

  2. Format the EBS volume and create a file system on the volume before you can write files to the volume.

Attach an EBS volume to a KEC instance in the KEC console

  1. On the Instance page, find the KEC instance to which you want to attach the EBS volume and choose More > Resource Adjustment > Attach EBS in the Operation column.

image.png

  1. In the dialog box that appears, select the EBS volume that you want to attach. You can specify whether the EBS volume will also be deleted when the KEC instance is deleted. Click OK.

  2. Format the EBS volume and create a file system on the volume before you can write files to the volume.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈