From the course: Complete Guide to AWS Security and Compliance Management

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Solution: S3 lifecycle challenge

Solution: S3 lifecycle challenge

(upbeat music) - [Instructor] Let's fire up the console and craft a solution to this S3 lifecycle challenge. Let's go ahead and implement that lifecycle policy on the original bucket, which in my case is in Ohio. Clicking into that bucket, I navigate to the management section. Here I can go ahead, and specify my lifecycle rule. To proceed, I click create lifecycle rule. The first thing I do is specify a name just like I can with a replication rule. I could limit the scope of this rule to a subset of objects in this bucket. However, for this demonstration, I simply want it to apply to every single object in this bucket. Since that's a powerful capability, I do need to check the box indicating I understand the scope of this rule. Moving down to the lifecycle rule actions, we can see that there are a variety of rules available. To complete this challenge successfully, what I want to do is permanently delete non-current versions of objects. Clicking that checkbox, I then get to specify…

Contents