QuestionQ110

VerifiedDesigning scalable, available, and reliable cloud-native applications

You are building a short-term image-hosting service in which end users worldwide can upload images of up to 20MB, and the images are automatically deleted after 10 days. You need to decide how to store the images while minimizing cost. How should the images be stored?

Explanation

Cloud Storage provides cost-effective object storage for image files and supports Object Lifecycle Management. A bucket lifecycle rule with a Delete action and an age condition of 10 days automatically deletes objects once they reach that age, without requiring a custom cleanup workload.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!