{"id":3125,"date":"2022-09-23T11:50:15","date_gmt":"2022-09-23T11:50:15","guid":{"rendered":"https:\/\/www.checkmateq.com\/blog\/?p=3125"},"modified":"2023-08-04T14:13:34","modified_gmt":"2023-08-04T14:13:34","slug":"object-life-cycle-management","status":"publish","type":"post","link":"https:\/\/www.checkmateq.com\/blog\/object-life-cycle-management","title":{"rendered":"Storage Classes and Object Life Cycle Management in Google Cloud Storage"},"content":{"rendered":"<p><a href=\"https:\/\/www.checkmateq.com\/aws-cloud\"><strong>AWS<\/strong><\/a> S3 storage has automatically data transportation mode known as Storage<strong> Classes<\/strong> for <a href=\"https:\/\/www.checkmateq.com\/cloud\">cloud<\/a> storage objects defines availability and pricing model, you can select a default storage class for a bucket while creating it, all the objects added to the bucket will inherit this storage class. If you do not choose any storage class while creating a bucket it will be set to storage class <strong>Standard storage<\/strong>, you can also change the storage class of an already existing object by changing the <strong>object<\/strong> <strong>life cycle rules,\u00a0<\/strong>what&#8217;s standard storage&#8230;.\u00a0 object life cycle rules?\u00a0 well let&#8217;s understand all the available storage classes first and then life cycle rules.<\/p>\n<h3><strong>Available Storage Classes in Google Cloud Storage<\/strong><\/h3>\n<p><img loading=\"lazy\" class=\" wp-image-3130 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-software-developer--300x131.jpeg\" alt=\"\" width=\"850\" height=\"371\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-software-developer--300x131.jpeg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-software-developer--1024x448.jpeg 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-software-developer--768x336.jpeg 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-software-developer--1536x672.jpeg 1536w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-software-developer--1200x525.jpeg 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-software-developer-.jpeg 1617w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Minimum Storage Duration <\/strong>\u00a0is what you will be charged for even if you delete , replace or move the object to a different storage class .<\/p>\n<p><strong>Availability\u00a0<\/strong> \u00a0relates to the time that the data center is accessible or delivers the intend service, its measured by overall service downtime.<\/p>\n<p>All the storage classes provide the following,\u00a0 \u00a0unlimited storage,\u00a0worldwide accessibility and worldwide storage locations,\u00a0Low latency , High durability (99.999999999% annual durability), Geo-redundancy(only if the data is stored in a multi-region or dual-region) and a similar experience with Cloud Storage features, security, tools, and APIs.<\/p>\n<h3><strong>Standard Storage <\/strong><\/h3>\n<p>it&#8217;s s the\u00a0 best\u00a0 storage class for data which is frequently accessed and\/or stored for only short\u00a0 periods of time, when used in<strong> Regional Locations<\/strong> standard storage is good \u00a0for storing data in the same location for co-locating the resources such as Google Kubernetes Engine\u00a0 clusters , which helps\u00a0 you in maximizing\u00a0 performance and\u00a0 reducing network charges, and\u00a0 single Regional storage provides an availability SLA\u00a0 99.9%. for dual-region and multi region storages\u00a0 google cloud provides an availability SLA &gt;99.95% where\u00a0 \u00a0 \u00a0<strong>\u00a0Dual-Region\u00a0<\/strong> enables you to get optimized performance when accessing Google Cloud products that are located in one of the associated regions,\u00a0 and a <strong>Multi- Region<\/strong> is good for storing data that is accessed from many locations in\u00a0 the world .<\/p>\n<p>you can select <strong>Location Type\u00a0<\/strong> while creating a bucket.<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3143 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-product-lifecycle-management-1-300x152.jpeg\" alt=\"\" width=\"777\" height=\"394\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-product-lifecycle-management-1-300x152.jpeg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-product-lifecycle-management-1-1024x519.jpeg 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-product-lifecycle-management-1-768x389.jpeg 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-product-lifecycle-management-1-1536x778.jpeg 1536w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-product-lifecycle-management-1-1200x608.jpeg 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-product-lifecycle-management-1.jpeg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<h3 id=\"nearline\" data-text=\"Nearline Storage\">Nearline Storage<\/h3>\n<p>It&#8217;s\u00a0 is a low cost and\u00a0 highly available and\u00a0 durable storage service for storing infrequently accessed data it \u00a0is\u00a0 better to chose Nearline Storage where you can afford lower availability compared to Standard Storage, this storage class is ideal for data that you plan to read or modify once per month or less, for example: if you want to add files to cloud storage continuously and want to access the files once a month for analysis then Nearline will be much better choice.<\/p>\n<p>Availability of Nearline Storage data is as follows<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3146 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-300x77.png\" alt=\"\" width=\"838\" height=\"215\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-300x77.png 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-1024x264.png 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-768x198.png 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-1200x310.png 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912.png 1356w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<h3 id=\"coldline\" data-text=\"Coldline Storage\">Coldline Storage<\/h3>\n<p>This storage class is ideal for data you plan to read or modify at most once a quarter, it provides a very-low-cost, highly durable storage service for storing infrequently accessed data it has a \u00a090-day minimum storage duration and higher costs for data retrieval compared to standard , availability of ColdLine Storage data is given below.<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3146 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-300x77.png\" alt=\"\" width=\"783\" height=\"201\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-300x77.png 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-1024x264.png 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-768x198.png 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912-1200x310.png 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Screenshot-912.png 1356w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<h3 id=\"archive\" data-text=\"Archive Storage\">Archive Storage<\/h3>\n<p>It has the lowest-cost and good for data accessed once in a year or less, it can be used for\u00a0 online backup, and disaster recovery. even though the typical availability is comparable to Nearline Storage and Coldline Storage, Archive Storage has no availability SLA, and data is available within milliseconds which is much faster when compared other archive storage facilities in the market.<\/p>\n<p>&nbsp;<\/p>\n<p>As mentioned, you can select default storage class while creating the bucket.<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3132 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Infrastructure-services--300x152.jpeg\" alt=\"\" width=\"817\" height=\"414\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Infrastructure-services--300x152.jpeg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Infrastructure-services--1024x518.jpeg 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Infrastructure-services--768x388.jpeg 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Infrastructure-services--1536x777.jpeg 1536w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Infrastructure-services--1200x607.jpeg 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Infrastructure-services-.jpeg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<h3><strong>Object Life Cycle Management\u00a0<\/strong><\/h3>\n<p><a href=\"https:\/\/www.checkmateq.com\/dedicated-development-team\">Object Lifecycle Management<\/a> is a feature of cloud storage that provides you with setting up Time to Live (TTL) for objects, automatically downgrading storage classes of objects after a certain period which helps you in managing costs.<\/p>\n<p>on your <a href=\"https:\/\/www.checkmateq.com\/google-cloud\">GCP<\/a> web console go to the bucket on which you want to set object life cycle and select <b>LIFECYCLE.<\/b><\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3134 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-database-management-company-300x152.jpeg\" alt=\"\" width=\"842\" height=\"427\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-database-management-company-300x152.jpeg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-database-management-company-1024x519.jpeg 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-database-management-company-768x389.jpeg 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-database-management-company-1536x778.jpeg 1536w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-database-management-company-1200x608.jpeg 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-database-management-company.jpeg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>Click on <strong>ADD RULE<\/strong><\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3135 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Hire-Devops-Engineer-300x152.jpeg\" alt=\"\" width=\"853\" height=\"432\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Hire-Devops-Engineer-300x152.jpeg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Hire-Devops-Engineer-1024x520.jpeg 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Hire-Devops-Engineer-768x390.jpeg 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Hire-Devops-Engineer-1536x780.jpeg 1536w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Hire-Devops-Engineer-1200x609.jpeg 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-Hire-Devops-Engineer.jpeg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>And then select a storage class storage class, and click on CREATE for object conditions .An object is transferred\u00a0 to a different storage class when it matches with any of the object conditions and\u00a0 if objects satisfies both the conditions it will be transferred to more colder storage (for example\u00a0 an object in standard storage matches both the conditions to be transferred in to Nearline and\u00a0 Coldline it will be transferred to Coldline)<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3139 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-300x152.jpeg\" alt=\"\" width=\"805\" height=\"408\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-300x152.jpeg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-1024x519.jpeg 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-768x389.jpeg 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-1536x778.jpeg 1536w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-1200x608.jpeg 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services.jpeg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Note:<\/strong>while configuring object life cycle management you can only set a rule to transfer the object to a Colder storage class but not to a higher one.<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3137 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/hire-mobile-app-developer-1-300x275.jpg\" alt=\"\" width=\"603\" height=\"553\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/hire-mobile-app-developer-1-300x275.jpg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/hire-mobile-app-developer-1.jpg 464w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Select and set object condition as required.<\/p>\n<p>you can select objects\u00a0 using\u00a0 <strong>Rule Scopes<\/strong> , for example suffix\u00a0 .jpg will select all the .jpg files in the bucket and applies furthers rules or actions on them, or a prefix\u00a0 log will select all the log files , you can also give path like example\/aks , and\u00a0 then <strong>Set Conditions<\/strong> like age of the object , size of the object .<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3141 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-software-development-company-300x152.jpg\" alt=\"\" width=\"852\" height=\"432\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-software-development-company-300x152.jpg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-software-development-company-1024x520.jpg 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-software-development-company-768x390.jpg 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-software-development-company-1536x780.jpg 1536w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-software-development-company-1200x609.jpg 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-software-development-company.jpg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>You can set as many rules you want , in the below given rule set will transfer all the files older than 29 days to coldline storage and files older than 89days to Archive Storage.<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-3142 aligncenter\" src=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-300x152.jpg\" alt=\"\" width=\"884\" height=\"448\" srcset=\"https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-300x152.jpg 300w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-1024x518.jpg 1024w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-768x388.jpg 768w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-1536x777.jpg 1536w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services-1200x607.jpg 1200w, https:\/\/www.checkmateq.com\/blog\/wp-content\/uploads\/2022\/09\/Checkmate-cloud-migration-services.jpg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Please contact our team for any DevOps infrastructure management services <a href=\"https:\/\/www.checkmateq.com\/contact-us\">website<\/a>, <a href=\"https:\/\/www.linkedin.com\/company\/checkmatglobal\/\">LinkedIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS S3 storage has automatically data transportation mode known as Storage Classes for cloud storage objects defines availability and pricing model, you can select a default storage class for a bucket while creating it, all the objects added to the bucket will inherit this storage class. If you do not choose any storage class while &hellip; <a href=\"https:\/\/www.checkmateq.com\/blog\/object-life-cycle-management\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Storage Classes and Object Life Cycle Management in Google Cloud Storage&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":3164,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[62,3,79,2,71,70,82,69,68,59,11,78,63,23,16,24,80,8],"_links":{"self":[{"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/posts\/3125"}],"collection":[{"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/comments?post=3125"}],"version-history":[{"count":16,"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/posts\/3125\/revisions"}],"predecessor-version":[{"id":4231,"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/posts\/3125\/revisions\/4231"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/media\/3164"}],"wp:attachment":[{"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/media?parent=3125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/categories?post=3125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.checkmateq.com\/blog\/wp-json\/wp\/v2\/tags?post=3125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}