Thursday, March 23, 2023

Steps to create AWS EBS volume and Attaching the EBS volume with an EC2 instance

follow the below steps to create an AWS EBS volume:

  1. Log in to the AWS Management Console and go to the EC2 dashboard.

  2. Click on the "Volumes" option under the "ELASTIC BLOCK STORE" section in the left-hand navigation panel.

  3. Click on the "Create Volume" button.

  4. In the "Create Volume" dialog box, select the Region where you want to create the volume.

  5. Set the size of the volume, the volume type, and the IOPS (Input/Output Operations per Second) if applicable.

  6. Optionally, you can specify any additional settings such as encryption, tags, or availability zone.

  7. Click the "Create Volume" button to create the EBS volume.

Once the volume is created, you can attach it to an EC2 instance as needed.

To attach a volume, you need to

select the volume from the list of available volumes and

click on the "Actions" button, then choose "Attach Volume".

In the "Attach Volume" dialog box, select the instance to which you want to attach the volume,

specify the device name for the volume, and click "Attach".

After the EBS volume is attached to an EC2 instance, you can mount the volume and use it to store your data. 

No comments: