Thus, the process of attaching the partition to a directory is called MOUNTING as we can’t directly access partition, so directory is the way.
UNDERSTANDING EBS VOLUME TYPES
Let’s first understand the different EBS volume types and then we will go with the practical implementation on how we can use volumes.
EBS Volume Types
There are three different types of EBS volumes, each with their own sets of performance characteristics and associated costs,
Magnetic volumes
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, and they can range in size from 1 GB to 1 TB.
- They are the cheapest volume and are very slow in speed.
- They are used to store long term data which we do not access so frequently. For example, backups or log archives can be stored here.
Provisioned IOPS volumes (SSD)
With Provisioned IOPS SSD (iol) volumes, you can provision a specific level of 1/0 performance. They support up to 20,000 IOPS and 320 MB/s of throughput. This allows you to predictably scale to tens of thousands of IOPS per EC2 instance.
- They are the fastest volume but very high in cost.
- They are used for the database where lots of I/O operations are going on very quickly. So, to prevent a user from lag we use this type of volume for the databases.
General purpose volumes (SSD)
This volume provides a base performance of 3 IOPS/GB, with the ability to burst to 3,000 IOPS for extended periods of time. Gp2 volumes are ideal for a broad range of use cases such as boot volumes, small and medium-size databases, and development and test environments. Gp2 volumes support up to 10,000 IOPS and 160 MB/s of throughput.
- They are in the middle of both in terms of speed and also reasonable in terms of cost.
- They are used for general use cases like hosting web service etc.
Cold HDD volumes
They are used for big data projects.
Throughput optimized HDD volumes
They are used for big data projects with even faster access as compared to Cold HDD and they are the most expensive volume.
Summary
In this article, we have understood how Linux kernel gives a name to the hard disk and to their partitions. We also saw different types of EBS Volumes. In the next article, we will be seeing all of this practically i.e. how does it all work in real-world.
I hope you find this article helpful. Stay tuned for more … Cheers!!