Can I Delete My Millions of Logs in S3 Glacier for Free?

0
4
Asked By CoolCat92 On

I've recently found out that I have a mountain of log files in S3, most of which are stored in Glacier. This all started back in 2012, and frankly, I'm not sure how I got here. Now, I'm trying to figure out if there's an easy and, most importantly, cost-effective way to delete these logs. I came across a resource about lifecycle rules for empty buckets, but it doesn't seem to specify any costs involved. Even a small fee per thousand files can add up quickly with millions of logs. Can anyone help me sort this out?

4 Answers

Answered By TechieTurtle83 On

I’m not entirely sure about the exact costs, but logically, deleting files usually costs less than keeping them stored. Might be worth checking if that’s the case for your logs!

LogMaster4000 -

Yeah, but keep in mind these are very small files. Still, it seems likely to be cheaper.

Answered By CloudGuru77 On

Just a heads up: if any of your files were archived to Glacier and haven't met the minimum storage duration, there could be a charge for deleting them. Check the guidelines on AWS's site for specific details.

TechieTurtle83 -

Thanks for the clarification! That's important to know.

Answered By DataNerdX On

As mentioned, you'll be fine to delete unless any logs are less than 90 or 180 days old, depending on the Glacier type. If your logs are older than that, you can go ahead and delete without worrying about costs!

CoolCat92 -

I think most of them will be older, but I’ll have to look into it.

Answered By WiseOwl101 On

Good news! Deleting files from S3 is free of charge. Just make sure to double-check the storage duration rules; if they've been archived for the minimum time, you should be in the clear!

CoolCat92 -

Thanks for that info!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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