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.
- Under Compute select EC2.
- Click on Create Volume.
- 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.
- Provide the key name & value for volume.
- Click on Create volume.
- After sometime Volume is Ready then go to volume console page.
- New Volume is there with the name we provide.
Create Volume using AWS CLI
- Setup aws-cli on your system so click on link https://www.hackerxone.com/blog/how-install-configure-aws-cli-ubuntu-1804
- Run the following command:
aws ec2 create-volume –volume-type gp2 –size size_of_volume –snapshot-id existing_snapshot_id –availability-zone us-east-1b
Leave a Reply
You must be logged in to post a comment.