I am trying to put a restriction on how much data a given user can upload to an S3 bucket based on account tiers.
For example: Tier 1: user can upload max 1GB to S3 | Tier 2: “” 5GB | Tier 3: “” 25GB | etc.
I have not been able to find any resources on the web attacking this issue.
I have explored the world of IAM and S3 bucket policies, but, to my understanding, it looks like everything is concerned with restricting access to the buckets as opposed to limiting the amount of data a user can contribute.
I still want the user to be able execute CRUD operations against this bucket, but only while remaining within the size limit associated with their tier.
All suggestions are appreciated.