In this blog, let us see on how to create Elastic Block Store volumes, which can later be attached and mounted with an AWS EC2 instance
Pre-requisite:
- An active AWS account
- Permissions to create EBS volume from AWS Management console
Steps:
- As we know, elastic block store volumes are mainly to used for to be attached to an EC2 instance, in order to store processed or to be processed data, for to be made available to the applications/programs which are in need
- Now, login & navigate to the AWS EC2 Management Console
- Click on "Volumes" menu in the left sidebar & click on "Create Volume" option from the console
- From here, select the type of the volume that we are in need of; select "General Purpose SSD" but we do have Provisioned iops, cold HDD, Magnetic etc
- Enter Size in the next box, for this example enter "1"
- Now, most importantly "Availability Zone" is to be selected, which is essential as the volumes created in a zone is available for EC2 instances of that zone only
- Next, select a snapshot, or leave it empty if you do not want to create a volume based on any snapshot
- Now, the "Encryption" check box will give the KMS key on selection, which makes the Volume to be created as encrypted, if checked. Let us keep it unchecked here
- review all the options explained above in this screenshot
- Now the volume is available in the designated Availability Zone
Note:
- EBS Volumes can also be created via AWS CLI, SDK, API as well. This demonstration is based on the management console option
No comments:
Post a Comment