1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Unfortunately there are cases where KMS api calls are just to frequent in production- or load-test loads. You'll hit the quota of the KMS APIs and get throttled.
There are 4 ways to avoid being throttled:
- change the quota/limit: Some of the quota's can be increased by filing a support ticket to AWS.
- use data key caching: If you are in control of the use of the AWS Encryption SDK (since you log the Throttling error you might be able to use this method)
- use different kind of encryption at rest. (Cloudwatch supports encryption at rest by default AWS managed SSE keys are used that will not get throttled)
- make less log lines, a good practice is to log one json object that contains everything for one request
respondido hace 2 años
Contenido relevante
- ¿Cómo puedo enumerar las concesiones de claves y entidades principales de KMS por región en AWS KMS?OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace un año