Backing up and deleting files automatically
The longer our application has to live in operating environments, and the more users or processes that use it, the greater the amount of data generated. Having an automated backup and data cleaning strategy on our solution becomes crucial in lowering costs.
In this section, we will learn how to automate the process of changing the storage class from our bucket, as reviewed in the How to reduce costs using different tiers section, and thus obtain the benefits offered in relation to data storage.
We will also review how to protect our data using object versioning and data protection options to avoid the unintentional deletion of buckets and files.
Managing life cycles
To automate actions on our data in a cloud storage bucket, we can use object life cycle configuration. By doing this, it is possible to create one or more life cycle rules with one or more compliance conditions on a given action.
Possible actions include the following...