Skip to main content

Posts

Automating S3 Lifecycle Policies with Terraform

Amazon S3 storage is a popular service to use for storing backup and archive data. Infinite scalability, data tiering capabilities, and low cost make S3 a very attractive platform. While Amazon has an automated-tiering option for S3, there are times when you may want to control how you tier your data . The key is making sure that data lifecycle rules for your S3 bucket align with the minimum retention requirements Amazon has defined for the various S3 tiers. Amazon has thorough documentation on the rules that govern S3 pricing and tiering . There are two details that are worth calling out: Data moved to S3 Infrequent Access (IA) needs to live in IA for at least 30 days. If you access or modify data stored in IA within the first 30 days, the data is migrated back to standard S3 and you are still charged for 30 days of storage in IA. Data moved to Glacier needs to live in Glacier for at least 90 days. Accessing or modifying this data prematurely will result in being charged for the ful
Recent posts
Hello World It seems that every programming course starts with a Hello World program.  A print statement shows the learner that a few simple words in the right format can cause things to happen.  Hello World lays the groundwork for lessons to come. I'm hoping this blog will do the same.  I want to help others write their own cloud story by sharing my journey, lessons learned, and the things I’ve built.  This isn’t a tech blog - the world has enough of those. I like to think of this as broadcast mentoring. I'm going to keep putting it out there - do with it what you will.  All I ask is that if it helps you, pay it back and help the next person in line. So who am I?  I’m a 20+ year veteran of the IT world.  I cut my teeth in the very early days of the internet.  I’ve done web design and worked for an ISP in the last days of dial-up.  I’ve done tech support, system administration, and systems engineering. For the last 14 years, my passion has been data storage and prot