Inquiry Regarding Amazon FSx Cost Optimization and S3 Object Exclusion

0

I am writing this to seek guidance on optimizing costs for my Amazon FSx for Windows File Server (FSx) file system that is currently synced with an Amazon S3 bucket.

I have noticed that there are numerous S3 objects within the synced bucket that have not been accessed for more than 180 days. While I do not want to delete these objects from the S3 bucket, I am looking for a solution to exclude them from being synced with the FSx file system. My goal is to reduce FSx storage costs by excluding infrequently accessed S3 objects from the sync process.

Could you please provide recommendations or best practices on how to achieve this cost optimization goal? Specifically, I am looking for guidance on how to configure FSx or S3 settings to exclude objects from syncing based on their last access timestamp without deleting them from the S3 bucket.

Thanks

2 Answers
1

Hello,

Thanks for reaching out to us.

So, on a general note, S3 offers various storage classes. You can set lifecycle rule to transition the objects to Glacier Deep Archive or Glacier Flexible retrieval storage class after 180 days. No operation can be performed on the objects stored in Glacier storage classes. Therefore, these objects will not be accessible when you run any sort of sync operation on these objects. However, keep in mind that these objects won’t be readily accessible until you manually restore them.

[] Comparing the Amazon S3 storage classes - https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html#sc-compare

Additionally, I am not sure about the mechanism you’re using to sync FSx with S3 in your case. Hence, to gain a better understanding of your architecture and delve into it to provide best cost optimisation, I would request you to open a case with AWS team. Our team will be more than happy to provide you with more details once we have a deeper understanding of your architecture.

AWS
answered 25 days ago
0

In my opinion, I would suggest doing:

  1. Tag the S3 objects that you want to exclude from the sync process. For example, you could add a tag like ExcludeFromSync: true to these objects.
  2. FSx supports filtering based on object tags when syncing with S3. You can modify the FSx sync options to exclude objects with specific tags.
  3. If you want to further optimize costs in S3, you can use S3 Lifecycle policies to transition infrequently accessed objects to cheaper storage classes (e.g., S3 Glacier). This can help reduce storage costs without deleting the objects.
profile picture
EXPERT
answered 25 days ago
profile picture
EXPERT
reviewed 21 days ago
  • Hi, Thanks for your response. Could you please provide more information or steps on option2 ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions