We are trying to move our GCS buckets from one storage class to other:
- Few buckets from
Standardclass toArchive - Few buckets from
standardclass toColdline(files which are 50+ days old).
the storage it too large (90tb). We wanted to get a estimate cost for this move.
I read from Google documentation that, per every 1000 objects the network usage charges (moving from one storage class to other) is $0.10c.
From the Google cloud console, I can get the total objects count in a project. But, I'm struggling to find number of objects which are 50+ days old, so we can get a cost estimate for this move.
Any gcloud query to find that?
GCS object count metrics can be grouped by bucket, but not by object prefix (e.g. "folder/folder"). You can have a look at this Storage Insights inventory report feature.