Amazon Elastic Block Store (EBS)
Amazon Elastic Block Store (Amazon EBS) gives a volumes to use with Amazon EC2 cases in the AWS Cloud. Every Amazon EBS volume is naturally duplicated inside its Availability Zone to shield you from segment disappointment, offering high accessibility and solidness. Amazon EBS volumes offer the reliable and low-idleness execution expected to run your workloads. With Amazon EBS, you can scale your utilization up or down inside minutes – all while paying a low cost for just what you arrangement.Amazon EBS is intended for application workloads that advantage from tweaking for execution, cost and limit. Run of the mill utilize cases incorporate Big Data investigation motors, social and No SQL databases, stream and log preparing applications and information warehousing applications. There are many benefits if we use EBS like Data Persistence, Data Encryption, Data Availability, Snapshots and Flexibility. To get more details about Amazon EBS just click on bellow image,
This lab Will cover following steps which is as bellow,
- Login in AWS using proper credential.
- Create an EBS Volume in the Amazon Management Console.
- Add am EBS Volume to an Instance.
- Snapshots an EBS Volume and Increase Performance.
Step 1: Login using appropriate credential for AWS
First of all you have to login in AWS to access the services,
First for creating your first Amazon EBS volume, you will need to access the Amazon EC2 icon and go to the Volume management panel. EBS is like a hard drivers in a computer.
Step 2: Create Amazon EBS
Click on Services and select EC2 which is in Compute section,
After select EC2 from compute section just click on Volumes from the navigation pane in left side, After click on Volumes just go with new options and click on Create Volume button for creating new volume,
After clicking on that button on the top which is helpful creating a new volume there are many options on the screen like which type of volume we need and which size and also availability zone (AZ) after selection appropriate options just hit on create and new volume of EBS will create,
Step 3: Adding an EBS volume to an Instance
Now we can say that we are going to attach newly created EBS volume to existing Instance of EC2, but before that make sure your EBS state column value must be available. After that just right click on the created EBS and see the option for Attach Volume,
After click on there option you can see, With which instance you want to attach this volume, select that instance.
Step 4: Snapshots an EBS volume and Increasing performance
EBS snapshots are stored in S3 but not in a user-visible bucket. To view your snapshots use the AWS API or they are in the EC2/Snapshots tab of the AWS Console. By using snapshot of the volume means replicates data in the volume. We are also able to change a properties of the volume to enable features. First we have to detach that volume what we created before and then right click on that volume and click on Force Detach Volume,
After click on it there will be another popup on the screen to ask you for the permission for this step, click on Yes Detach.
To create snapshot first just click on a volume for which we want to create before and right click on it, there is a option which name is Create snapshot click on it,
After that click you can see a new popup on the screen where you can check the volume, name of the snapshot also some description for that snapshot and at the end hit on Create button to create snapshot.
After completed that process just click on the snapshot option which is under EBS panel on the left hand side, and after that go to the existing list select a new snapshot which was created before, right click on it and go to the create volume,
In the upper screen we are able to change the volume size and also enable provisioned IOPS for increased performance. After changing this all things according to requirement just click on Create button and the changes will be apply. When you will go to the volume tab again you can find a newly created high performance drive.
END OF THIS LAB
By using EBS you can create a volume and assign to the existing instance so main benefit is to give a external storage to the EC2 instance, if we want to delete EC2 instance or something happen with the instance after tall that condition data of that instance will be safe and no need to worry about data recovery because of EBS.
EBS General Purpose SSD (gp2) Volumes is charged by the sum you arrangement in GB every month, customized to the hour, until you discharge the capacity. I/O is incorporated into the cost of the volumes, so you pay just for every GB of capacity you arrangement.
EBS Provisioned IOPS SSD (io1) Volumes capacity for EBS Provisioned IOPS SSD (io1) volumes is charged by the sum you arrangement in GB every month, until you discharge the capacity. With Provisioned IOPS SSD (io1) volumes, you are likewise charged by the sum you arrangement in IOPS (input/yield operations every second) duplicated by the rate of days you arrangement for the month.
EBS Throughput Optimized HDD (st1) Volumes capacity for Throughput Optimized HDD (st1) volumes is charged by the sum you arrangement in GB every month, customized to the hour, until you discharge the capacity. I/O is incorporated into the cost of the volumes, so you pay just for every GB of capacity you arrangement.
EBS Cold HDD (sc1) Volume stockpiling for Cold HDD (sc1) volumes is charged by the sum you arrangement in GB every month, allocated to the hour, until you discharge the capacity. I/O is incorporated into the cost of the volumes, so you pay just for every GB of capacity you arrangement.
EBS Snapshots Depiction stockpiling depends on the measure of space your information devours in Amazon S3. Since Amazon EBS does not spare discharge squares, it is likely that the depiction size will be significantly not as much as your volume estimate.