Cloud

Write an awesome doc for cloud and how to deploy our apps using technologies like AWS, GitHub actions, CI/CD and Docker. Also a very comprehensive documentation around AWS.

View on GitHub

Lifecycle Rules

Lifecycle rule

Lifecycle rule

So here is what is happening:

  1. A file is deleted with versioning enabled.
  2. No version is specified.
  3. The latest version of the file gets replaced with a delete marker.
    1. This makes the delete marker the current version of the file.
    2. You then set a rule that deletes noncurrent versions of the file.
    3. Anything prior to the delete marker after 31 days.
    4. Then delete the expired delete marker once there is no long any other versions of the file.

Essentially once the delete marker is orphaned it is considered expired and can be deleted.

Lifecycle rule actions

Ref