From the course: Google Cloud Platform (GCP) Essential Training for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Object lifecycle management - Google Cloud Tutorial
From the course: Google Cloud Platform (GCP) Essential Training for Developers
Object lifecycle management
- [Instructor] All right, let's talk about Object Lifecycle Management in Google Cloud Storage. Object Lifecycle Management allows us to automatically manage the lifecycle of an object when specific conditions are met, like if it reaches a certain age, we can have it automatically downgraded to a cheaper storage class or deleted so we can save on costs. This allows us to have a lifetime or time to live on objects saved in our bucket. Let's imagine that we have an online file download service. Our users upload a file to our service, and then we give them a download link to share to their friends. With this kind of service, we notice that most of the files are downloaded within the first 30 days and are usually no longer accessed after that. In addition, we want our download links to expire after one year. Let's use Object Lifecycle Management for that. To set lifecycle management rules, we go to our bucket in…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.