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?

Mosi
asked 5 months ago225 views
1 Answer
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
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions