How to Create Volume on Amazon Web Service(AWS).

An Amazon EBS volume is a durable, block-level storage device that you can attach to your instances. EBS volumes persist independently from the running life of an EC2 instance. You can attach multiple EBS volumes to a single instance. The volume and instance must be in the same Availability Zone.

EBS currently supports a maximum volume size of 16 TiB. This means that you can create an EBS volume as large as 16 TiB, but whether the OS recognizes all of that capacity depends on its own design characteristics and on how the volume is partitioned.

 

  • Login to aws portal.
  • Click on Services.

 

Fig 1

 

  • Under Compute select EC2.

 

Fig 2

 

  • Click on Create Volume.

 

Fig. 3

 

  • Select volume type and the volume type determines the performance characteristics of the volume.
  • Provide size of volume.
  • Provide IOPS. The requested number of I/O operations per second that the volume can support.
  • Select Availability zone.
  • Provide existing Snapshot ID or first create snapshot so click on link https://www.hackerxone.com/blog/how-create-snapshot-amazon-web-serviceaws for how to create snapshot.
  • If needs to encrypt the volume, select Encryption.
  • Then click on Add Tag.

 

Fig. 5

 

  • Provide the key name & value for volume.
  • Click on Create volume.

 

Fig. 6

 

  • After sometime Volume is Ready then go to volume console page.

 

Fig. 7

 

  • New Volume is there with the name we provide.

 

Fig. 8

 

Create Volume using AWS CLI

 

aws ec2 create-volume –volume-type gp2  –size size_of_volume  –snapshot-id existing_snapshot_id –availability-zone us-east-1b

 

 

 

 

 

 

 

Leave a Reply