Herion and welcome back now into this video will be discussing about the basics of a three stories classes
now before we go and look into it in more detail.
Let's take a simple use case of Netflix now and ensure that every one of us are familiar with what Netflix
is.
And one of the primary reasons why every one of us might subscribe to Netflix is to water entertainment
content, maybe TV shows, maybe movies, documentaries and so on.
However, each user across the region might have a different set of requirements based on which they
want to subscribe to Netflix.
So because of that, you will see that Netflix offers various different subscription plan for various
category of requirements.
So you have basic plan, standard plan, premium plan.
Now, depending upon the plan that you choose, the features that are available also might change.
So let's say that you have a user.
He needs the inequality, but he does not really need that already.
So then it does not really make sense to spend additional amount in going for the premium plan.
You can go in for the standard one that might be a user who might not really require HD as well.
Then there is no requirement for standard plan.
They might be happy with the basic plan.
So you have multiple plans with the primary aim of cost cutting, but the main aim remains to be the
same, which is towards the entertainment content.
Now in a similar way.
It also has millions of active customers and each customer might have a different requirement for data
storage.
However, you see the main aim is to store the data, but there might be a different requirement for
data storage.
Now it is no different storage plans.
Then it can lead to losing the customers for that specific service.
Now, in order to make everyone happy is similar to what even Netflix is trying to do, trying to get
various set of customer bases to sign up for their platform.
Similar to that, even a W.S. has multiple type of storage plans that are available for different types
of use cases.
And depending upon the storage plans, the overall cost is also much more reduced.
So this storage plans, you can consider it as a storage classes now for today's video will be taking
up three storage classes.
Again, there are a lot of other studies classes that are available, but just to have a debate on water
storage classes are all about will be taking three different storage classes for better understanding.
The first one is the default as the is Tristan.
The second one is right for us is three infrequent taxes and the third one is referred as the S3 glacier.
So let's go ahead and looking to each one of them in great detail.
But before we do that, let's quickly go to the S3 console and check these storage glasses option there.
Now, currently I am in these three console.
Now, whenever you go ahead and upload the data, if you look into the properties area, you have a
primary property of storage class.
So within the storage glacier, you see you have multiple storage glasses.
You have standard intelligent building standard, infrequent access glacier, deep archive of glacier
and so on.
And depending upon the storage class that you choose, the amount of prizing for storing the data also
changes.
Alright, so let's look into the popular and the default one, which is the S3 standard.
So the S3 standard offers high durability, availability and performance object storage for frequently
accessed data.
So generally this is one of the base recommended storage glasses.
Only when you just Gordon upload the data to a stream and you do not really define any storage glass,
then by default the objects will have the standard S3 storage class.
Now the standard is three.
Storage glass is quite good.
It is designed for ninety nine point eleven nine based durability.
So this can be better understood with this example.
So let's see if we have ten thousand files that are stored in S3, which has the eleven nines durability.
So then you can expect to lose one file every ten million years.
So this is the durability that the standard is three of us.
So this is quite good.
And whenever you go ahead and read this, one of the question that comes is why do you need any other
storage glass when you have such a great history, standard storage that is available?
Now, this is very similar to our use case of Netflix, where you can consider the three standard storage
class to be the Netflix premium, where you have great amount of features, a great amount of durability,
availability and so on.
But again, as you're discussing, there might be a wide variety of customers who might not really require
everything here.
So you need to also offer various other plans that are much more cheaper.
And this is where the three standard infrequent access comes into picture.
So this is three standard infrequent access is for the data that is access less frequently, but requires
rapid access when needed.
No one important part to remember is that even these three standard infrequent access provides the durability
of ninety nine point eleven nines.
The primary difference between standard IEEE and S3 standard is how frequently you want to access the
data, because the more you access the data, the more processing it will have to do from their server
side.
So let's take the example of a comparison which compares the storage cost of one PBH data in a story
based on the accessibility patterns.
So let's say you have a storage of one baby.
You're storing it in Amazon S3.
So this is the standard one and it will cost you twenty three point forty four USD.
If you put it in S3 standard infrequent access, it will cost you twenty three point fifty USD.
So all the price is very similar.
However, the accessibility part is what makes it different.
So let's say you access 50 percent of storage in the last 30 days.
You have one type of data.
You do not really exist then that data, you only access a certain part of data.
Then the overall cost will be reduced to eighteen point eighty nine download.
That is three standard infrequent access has a retrieval fee.
So the higher you retrieve your data, the more you will be charged.
However, the less you retrieve the data, the less you will be charged.
So for 50 percent, the cost decreases significantly.
If you do not retrieve anything, you just the data.
You do not really to do any data.
Then you see the cost of S3 infrequent access goes to twelve point eighty and this is much more cheaper
than that of S3 standard.
Now, again, which storage class you will use, whether you use a storage standard or is three in frequent
access really depends upon the requirement.
If your organization just wants to store the data and they might not really retrieve it at all, then
better to go with a three standard infrequent access.
The next important storage class is the S3 Glacier, so Glacier is meant for archiving and for storing
long term backups.
So ideally it is meant for data that needs to be archived for years without much requirement of access.
Now, the price difference between here and that is huge.
So if you consider storage of one type of data, the three will cost you twenty three point forty four
USA.
The glacier will just cost you four point tenuously, much, much more cheaper than that of this standard
infrequent taxes.
However, now one of the questions that comes is why should we use glacier or standard infrequent access
or vice versa?
The answer lies in the first point itself is three standard in frequent access is for the data that
is access less frequently, but requires rapid access when needed.
So you have one piece of data.
Let's say you have a database backup in a street, some due to some reason there is some issue with
the database and you want to restore it from the backup that is stored in history.
So you want to rapidly access the database backup stored in history.
So for such use cases, the standard infrequent access proves to be much more beneficial.
However, for S3 Glacier, let's say you have certain logs as part of your servers from past three years
or from past four years or seven years or ten years.
Some of the complaints, I would say, because I have been working in a lot of organizations, which
has different level of compliance in terms of security, some complaint states that you need to have
logs of all the sorrows from past three years, some of the complaints that you need to have logs of
all the sorrows for at least seven years.
So depending upon the compliance requirement, you might need a great amount of storage.
Now for the requirements where you need to store the logs of at least past seven years.
Storing it in an infrequent taxes is not the best approach because you might not really require it at
all.
However, for such use cases, you can store all of the logs in Glacier, so Glacier proves to be very
cheap.
Now, I still remember many years back, in fact, not only should has improved, but earlier when you
stored the data in Glacier and you wanted to retrieve it, it used to take hours for the data retrieval
to take place.
However, with newer features in it, nowadays you can pay money.
You have to pay more money to retrieve your data in minutes.
If you do not pay money, then the minutes done two hours.
So depending upon how important the data you need right now for the data that is stored in Glacier,
the retrieval fee will be charged for you.
Great.
So I hope with this you understood at a high level.
What about the basics of storage class now, depending upon the requirement of your organization?
You can go ahead and select one of the storied classes, the default one, the one that is really quite
good is the industry standard.
But again, it comes after a certain amount of cost.
Now, in this video, we just looked at a high level overview about some of the storage classes, depending
upon the requirement, will be discussing about the storage classes as well in great detail whenever
required.
However, with this will conclude today's video.