From the course: Applying Cost Optimization Tools to Your AWS Workloads
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Lifecycle policies - Amazon Web Services (AWS) Tutorial
From the course: Applying Cost Optimization Tools to Your AWS Workloads
Lifecycle policies
- [Instructor] To set up a lifecycle policy for an S3 bucket, we first have to open the S3 console and select the bucket where we'd like to add a lifecycle policy. Under Properties, and scrolling down, we can see that Versioning is enabled, and Versioning has to be enabled before we can actually set a lifecycle policy in place. Going over to Management is where we can set our lifecycle rules. We're going to create a lifecycle rule name called Older_Versions. We want this to apply to all objects in the bucket, and we have to acknowledge that this rule indeed is going to apply to all the objects in the bucket. Now, what do I want to do? I want to move the non-current versions of objects between storage classes. Where I want to move these objects is to Glacier Deep Archive. After 60 days, I can continue to add other transitions if I wished. I also have to acknowledge that if the objects are very small, there's going to be a charge for every single object. We'll acknowledge this, and then…
Contents
-
-
-
-
-
(Locked)
Right-sizing EC2 instances6m 41s
-
(Locked)
AWS EC2 Auto Scaling and predictive scaling5m 42s
-
(Locked)
Scaling AWS compute resources3m 30s
-
(Locked)
S3 storage classes5m 15s
-
(Locked)
S3 object lifecycle policies4m 49s
-
(Locked)
Lifecycle policies2m 20s
-
(Locked)
Data archiving with S3 Glacier4m 8s
-
(Locked)
Managing EBS snapshot costs2m 56s
-
(Locked)
Cost allocation tags3m 54s
-
(Locked)
-
-