Best practices for hundreds/thousands of keys/usage plans?

1

I am working with an API Gateway system to give clients access to data. I am currently having each user get their own Usage Plan and API Key: my reasoning for not having one Usage Plan is that I do not want one user to lock out another by making a high burst of requests. I am aware of AWS limits (300 usage plans per region, 500 api keys per region https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html) which have me concerned about how I will add users when my Usage Plan/API Key limit is reached.

I am aware these limits are able to be raised by contacting Amazon, but is there another way I should be doing this? I don't want to reach a point where I can't add more users and am stuck.

2개 답변
1

my reasoning for not having one Usage Plan is that I do not want one user to lock out another by making a high burst of requests.

API Keys in the same usage plan do not share usage data and would not affect other keys in the same plan so this would not be a concern.

That being said, we can not currently support 100s of thousand of API keys. This may change in the future, but at this time you would eventually not be able to create new API keys.

Regards,
Bob

전문가
답변함 5년 전
0

Thanks

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인