Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 general purpose buckets ServiceQuota check doesn't work outside of us-east-1 #11

Open
rfairburn opened this issue Nov 21, 2024 · 4 comments

Comments

@rfairburn
Copy link

AWS no longer reports the s3 generalpurposebuckets servicequote as valid metric for s3 outside of us-east-1, but the us-east-1 test doesn't look at global buckets, so this no longer works as intended. The quota in us-east-1 is intended to be account-wide for the buckets.

@rfairburn
Copy link
Author

From what I can tell, the number of used buckets is polled correctly in us-east-2, but the graph in the dashboard can't function because there is no corresponding region-specific quota anymore. I believe this is a recent change on the AWS side, but it breaks this functionality.

@max-rocket-internet
Copy link
Member

From what I can tell, the number of used buckets is polled correctly in us-east-2

Are your buckets in this region?

@rfairburn
Copy link
Author

All of my buckets are in us-east-2, but recently (as of the last month or 2), it appears that the ServiceQuota for buckets no longer exists at all in us-east-2, but has to be set globally in us-east-1 only. So the metrics error when trying to apply and I have to actually exclude the service s3 in us-east-2 for the terraform to even apply.

So I can poll the number of buckets with the graph, but it is divided by the service quota, which generates an error.

This is what I mean under service quotas:

Screenshot 2024-11-25 at 7 40 01 PM Screenshot 2024-11-25 at 7 41 39 PM

Notice that General purpose buckets no longer even exists outside of us-east-1 and is an Account-level quota now.

There is a concept of Global quotas in the trusted advisors alarms currently, but this one is managed by usage alarms which doesn't currently have a concept of global.

If I get some time I may be able to PR what I would do to address it, but I wanted to make sure the problem was stated in an issue first.

@max-rocket-internet
Copy link
Member

If I get some time I may be able to PR what I would do to address it

That would be great 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants