An Amazon EBS volume is a durable,block-level storage device that you can attach to a single EC2 instance.

Amazon EBS provides persistent block-levels to rage volumes for use with Amazon EC2 instances. Each Amazon EBS volume is automatically replicated within its Availability Zone to protect you from component failure,offering high availability and durability.  

Multiple Amazon EBS volumes can be attached to a single Amazon EC2 instance,although a volume can only be attached to a single instance at a time

Types of Amazon EBS Volumes

Amazon EBS provides the following volume types:

volumes and snapshots - green globe right arrow 559 150x150 - VOLUMES AND SNAPSHOTS General Purpose SSD (gp2)

volumes and snapshots - green globe right arrow 559 150x150 - VOLUMES AND SNAPSHOTS Provisioned IOPS SSD (io1)

volumes and snapshots - green globe right arrow 559 150x150 - VOLUMES AND SNAPSHOTS Throughput Optimized HDD (st1),

volumes and snapshots - green globe right arrow 559 150x150 - VOLUMES AND SNAPSHOTS Cold HDD (sc1),and

volumes and snapshots - green globe right arrow 559 150x150 - VOLUMES AND SNAPSHOTS Magnetic(standard,a previous-generation type).

SSD-backed volumes optimized for transactional workloads involving frequent read/write operations with small I/O size, where the dominant performance attribute is IOPS

HDD-backed volumes optimized for largest reaming workloads where through put(measured in MiB/s)is a better performance measure than IOPS 

An Amazon EBS volume is a durable,block-level storage device that you can attach to a single EC2 instance.

Amazon EBS provides persistent block-levels to rage volumes for use with Amazon EC2 instances. Each Amazon EBS volume is automatically replicated within its Availability Zone to protect you from component failure,offering high availability and durability.  

Multiple Amazon EBS volumes can be attached to a single Amazon EC2 instance,although a volume can only be attached to a single instance at a time

Different Types

For AWS Support  9160565554

Send Enquiries : sales@fgrade.com 

General Purpose SSD(gp2) volumes offer cost-effective storage that is ideal for abroad range of workloads.These volumes deliver single-digit millisecond latencies and the ability to burst to 3,000 IOPS for extended periods of time. Between a minimum of 100 IOPS (at 33.33 GiB and below)and a maximum of 10,000 IOPS (at 3,334 GiB and above),baseline performance scales linearly at 3 IOPS per GiB of volume size. AWS designs gp 2 volumes to deliver the provisioned performance 99%of the time.

A gp2 volume can range in size from 1 GiB to 16 TiB.

Provisioned IOPS SSD(io1)volumes are designed to meet the needs of I/O-intensive workloads, particularly database workloads,that are sensitive to storage performance and consistency.

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS An io1 volume can range in size from 4 GiB to 16 TiB and you can provision up to 32,000 IOPS per volume

Throughput Optimized HDD (st1) volumes provide low-cost magnetic storage that defines performance in terms of through put rather than IOPS. This volume type is a good fit for large, sequential workloads such as Amazon EMR,ETL,data warehouses,and log processing.

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS Not supported to use with root volume(Not Bootable)

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS volume sizes ranging from 500 GiB to16 TiB

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS We will get Through puts and Base line is 40 MB/s per TiB

Cold HDD(sc1) volumes provide low-cost magnetic storage that defines performance interms of through put rather than IOPS. With a lower through put limit than st1,sc1 is a good fit ideal for large,sequential cold-data work loads. If you require in frequent access to your data and are looking to save costs,sc1 provides in expensive block storage.

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS Not supported to use with root volume(Not Bootable)

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS volume sizes ranging from 500 GiB to 16 TiB

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS We will get Through puts and Base line is 12 MB/s per TiB

Magnetic volumes are backed by magnetic drives and are suited for workloads where data is accessed infrequently,and scenarios where low-cost storage for small volume sizes is important. These volumes deliver approximately 100 IOPS on average,with burst capability of up to hundreds of IOPS.

  • Volume sizes ranging from1 GiB to 1 TiB

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS Throughput is the maximum rate of production or the maximum rate at which something can be processed.

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS Network throughput is the rate of successful message delivery over a communication channel.

An instance store provides temporary block-level storage for your instance. This storage is located on disks that are physically attached to the host computer. Instance store is ideal for temporary storage of information that changes frequently,such as buffers,caches,scratch data,and other temporary content.

Instance Store Lifetime 

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS The underlying disk drive fails

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTSThe instance stops

volumes and snapshots - sign right icon 150x150 - VOLUMES AND SNAPSHOTS The instance terminates

Instance Store Volumes are called as Ephemeral Storage.

Instance store volumes can not be stopped. If the underlying host fails,you will lose your data. EBS backed instances can be stopped.You will not lose the data on this instance if it is stopped.   

By default,both ROOT volumes will be deleted on termination,however with EBS volumes,you can keep the root device volume by Un checking the“Delete on Termination”option

Create a Volume

From the Volume Management dashboard, select the Create Volume option

Volumes and Snapshots volumes and snapshots - 39 - VOLUMES AND SNAPSHOTS
Type:

volumes and snapshots - if check 14803 - VOLUMES AND SNAPSHOTS From the Type drop-down list,select either General Purpose(SSD),Provisioned IOPS(SSD), or Magnetic as per the requirements.

Size (GiB):

volumes and snapshots - if check 14803 - VOLUMES AND SNAPSHOTS Provide the size of your volume in GB.

IOPS:

volumes and snapshots - if check 14803 - VOLUMES AND SNAPSHOTS This field will only be editable if you have selected Provisioned IOPS(SSD)as the volume’s type.Enter the max IOPS value as per your requirements.

Availability Zone:

volumes and snapshots - if check 14803 - VOLUMES AND SNAPSHOTS Select the appropriate availability zone in which you wish to create the volume.

Snapshot ID:

volumes and snapshots - if check 14803 - VOLUMES AND SNAPSHOTS This is an optional field.We can choose to populate your EBS volume based on a third party’s snapshot ID.

Encryption:

volumes and snapshots - if check 14803 - VOLUMES AND SNAPSHOTS We can choose whether or not to encrypt EBS Volume.Select Encrypt this volume check box if you wish to do so.

Master Key:

volumes and snapshots - if check 14803 - VOLUMES AND SNAPSHOTS On selecting the Encryption option,AWS will automatically create a default key pair for the AWS’s KMS

Attaching EBS Volumes:

volumes and snapshots - if check 14803 - VOLUMES AND SNAPSHOTS Once the EBS volume is created,make sure it is in the available state before you go ahead and attach it to an instance.You can attach multiple volumes to a single instance at a time.

To attach a volume, select the volume from the Volume Management dashboard. Then select the Actions tab and click on the Attach Volume option.

Volumes and Snapshots volumes and snapshots - 40 - VOLUMES AND SNAPSHOTS
Volumes and Snapshots volumes and snapshots - 41 - VOLUMES AND SNAPSHOTS

When you select instance field,automatically you’ll get the running instances list from that particular availability zone.Select the Instance you want to attach this volume.Then click on Attach.Now the Volume state will change to in-use from Available.

We have to mount this volume from operating system level.For windows,you have to perform it though Disk Management option.

In Linux:

  1. Elevate your privileges to root
  2. Type df–h command to check the current disk partitioning of instance
  3. Give fdisk–l command to verify the newly added disk
Volumes and Snapshots volumes and snapshots - 42 - VOLUMES AND SNAPSHOTS

4.  Here amusing ext 4 file system.Then run the following command.

Mkfs –t ext4/dev/xvdf

Volumes and Snapshots volumes and snapshots - 43 - VOLUMES AND SNAPSHOTS

5. Now volume is formatted,we can create a new directory on Linux instance and mount the volume to it using standard Linux commands:

mkdir /newvolume

mount /dev/xvdf /newvolume

Volumes and Snapshots volumes and snapshots - 44 - VOLUMES AND SNAPSHOTS

6. Now the volume is available for the use.

For Windows Instances:

  1. Attach the volume to the windows instance same as previous step
  2. Login to the windows instance and open Disk management console
  3. Open Run and give disk mgmt.msc command to open the Disk Management
Volumes and Snapshots volumes and snapshots - 45 - VOLUMES AND SNAPSHOTS

4. The newly created 2GB volume is attached to the Windows instance and by default the status of this drive will set to offline,Select the Disk 1,then choose Online option to make the volume online.

Volumes and Snapshots volumes and snapshots - 46 - VOLUMES AND SNAPSHOTS

5. Here we have to initialize the Disk,Give right click on Disk then select the initialize disk option and click on OK

Volumes and Snapshots volumes and snapshots - 47 - VOLUMES AND SNAPSHOTS
Volumes and Snapshots volumes and snapshots - 48 - VOLUMES AND SNAPSHOTS

6. Now we have to create a volume,Give right click on device select the“New Simple Volume” option,It will open up a Volume creation wizard,follow the wizard as below images

Volumes and Snapshots volumes and snapshots - 49 - VOLUMES AND SNAPSHOTS
Volumes and Snapshots volumes and snapshots - 50 - VOLUMES AND SNAPSHOTS
Volumes and Snapshots volumes and snapshots - 51 - VOLUMES AND SNAPSHOTS
EBS volumes volumes and snapshots - 52 - VOLUMES AND SNAPSHOTS

7. Now we can see the newly created volume along with other volumes.You can use the Disk Management console to Shrink,extend or to delete the volumes.