-: So now we have S3 Analytics and this is
to set up Storage Class Analysis.
So basically, we can help with the help of analytics,
S3 Analytics, to determine when we should
actually transition an object, maybe from Standard
to Standard Infrequent Access.
And that does not work for analytics on ONEZONE_IA
or GLACIER but it works for the rest.
And the report will be updated on a daily basis,
and it takes about 24 to 48 hours
for the report to first start.
And the idea is that, once we get that report,
when, then we know how to put efficient Lifecycle Rules.
So we know exactly after how many days,
we should move objects from a to b.
So this is the kind of stuff that we can do.
Okay, let's see how we can enable it right now.
To enable it, pretty easy.
We go to Analytics,
and here in Analytics we're supposed to be able
to create a Storage class analysis.
So we have to create an Add a filter.
So I'll call it demo filter.
And we can set a filter for a specific Prefix,
that will set for everything, and that data can go
into that Destination bucket.
So maybe it can go into bucket in this account
or another account, but this is optional.
I click on Save.
And now it says Analyzing your data.
And so this will take about 48 hours,
24 to 48 hours to be done and because I don't have much
in this bucket, we're not gonna get very meaningful results.
But lemme show you one of my actual buckets
that has a website.
So this is my bucket for kaftka-tutorials.com,
and in there I already enabled Analytics,
maybe less than a month ago
to show you what it would look like.
And so I still don't have any recommendations
from Amazon Analytics around when I should transition
my objects to infrequent access.
But basically we can start seeing some graphs
around how much data and storage is used
and how much data is retrieved.
And we get an information around the percentage
of a storage that I retrieve.
And then we can get even more information
around how old my objects are,
so because I don't have that many objects,
I don't see much things here,
but, for example, we can see that some objects
are between 90 and 120 days old.
And maybe a lot of them are over a year old.
And maybe less of them are less than a year old.
So it gives you some insights and the idea is that,
as soon as you start having an S3 bucket
with a lot more activity than mine, obviously,
and a lot more objects, then you are going to get
some meaningful insights from S3 Analytics.
Right now, I don't have anything meaningful,
but that's fine, I'm sure you get the idea.
So that's it for S3 Analytics.
Just remember what it's used for.
Basically to recommend to you when
to move objects to IA, for example.
And I will see you in the next lecture.