CpuUtilization target for AWS CDK QueueProcessingFargateService

0

Dear colleagues, I've created SQS processing service using QueueProcessingFargateService.

I can adjust scaling using scalingSteps? based on information from SQS ApproximateNumberOfMessagesVisible However, according to what I can see CpuUtilization target is set to 50% by default. My processing is very CPU consuming and it is totally OK to run it on 100% load.

Unfortunately I can't find the way for changing CpuUtilization target from 50% to 100%.

This cause permanent scale up to maxScalingCapacity. Would appreciate any ideas.

1 réponse
0

For some reason, QueueProcessingFargateService sets CPU scaling targets as well as queue processing targets.

I had the same situation and the solution was to delete the corresponding alarms in CloudWatch manually. Go to CloudWatch -> All Alarms and find the one for your service.

There is a bug report for this in GitHub: https://github.com/aws/aws-cdk/issues/20706 so this will hopefully be fixed soon.

Knut
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions