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 Resposta
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas