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.

preguntada hace 5 años1056 visualizaciones
2 Respuestas
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

EXPERTO
respondido hace 5 años
0

Thanks

respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas