Best practice for using Inferentia in ECS

0

Currently, we are using Elastic Inference for inferencing on AWS ECS. We use inference_accelerators in ecs.Ec2TaskDefinition to set up elastic inference. For scaling, we are monitoring AcceleratorUtilization metric to decide when to scale out or scale in.

Now that AWS recommends switching to AWS Inf instances, we plan to migrate from EI to Inf. We plan to use it in AWS ECS. How should we monitor Inf usage and scale our instances based on that? Is there any pre-defined metrics for this usage?

1개 답변
0

You can use Neuron Monitor to monitor your Inf utilization. Neuron Monitor integrates with CloudWatch (see this documentation). One metric you can use to determine scaling is NeuronCore utilization. For example, you can average the number of NeuronCores with utilization that's higher than some threshold and scale up or down based on that.

AWS
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠