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 個回答
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南