MultiCloud Classroom notes 07/Sep/2026

s3 storage class

  • storage class will based on file accessing and pricing
  • to manage storage class with s3 lifecycle
  1. Standard :
  • general purpose used for frequently access file
  • millisecond to access the file
  • webapp, mobile apps, daily used files and automation scrpits …etc
  1. s3 Intelligent-Tiering:
  • automatically change storage class based on access the file.
  • millisecond to access the file
  1. Standard-IA
  • access the once in a month
  • replicas >= 3
  • after 30 days only you can change storage class
  1. One Zone-IA
  • access the once in a month
  • back will be one zone
  • after 30 days only you can change storage class
  1. Glacier Instant Retrieval
  • Long-lived archive data accessed once a quarter with instant retrieval in milliseconds
  • replicas will >=3
  • used for once in a 90 days
  • archevied
  • after 90 days only you can change storage class
  1. Glacier Flexible Retrieval (formerly Glacier)
  • Long-lived archive data accessed once a year with retrieval of minutes to hours
  • after 90 days only you can change storage class
  1. Glacier Deep Archive
  • Long-lived archive data accessed less than once a year with retrieval of hours
  • cost of storage is very less compare with other storage class
  • retrieval will up to 12 hours to access file based on file sizes
  • after 180 days only you can change storage class

aws s3api put-bucket-lifecycle-configuration \
  --bucket <bucket-name> \
  --lifecycle-configuration file://lifecycle.json
{
  "Rules": [
    {
      "ID": "Delete-old-versions",
      "Status": "Enabled",
      "NoncurrentVersionExpiration": {
        "NoncurrentDays": 5
      }
    },
    {
      "ID": "Delete-current-objects",
      "Status": "Enabled",
      "Expiration": {
        "Days": 365
      }
    }
  ]
}

Task:

  1. create s3 bucket and enable versioning
  2. create lifecycle rule change object store class
    1. after 30 days Standard-IA
    2. after 60 days Glacier Instant
    3. ater 180 days Glacier Deep Archive

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube