AMD instances seem to be very scarse

0

I have tried to configure a batch compute environment setting in the template: "Type": "EC2" "InstanceTypes": ["m7a.2x"] My region is N.Virginia.

But these instances are not started at all when Desirded vCPUs is set to a multiple of 8. The compute environment gets instead scaled up properly ewhen I set InstanceTypes=["m7i.2x"]. I can't see any error in the management console when m7a.2x are not started. They just do not appear in the EC2 section of the console. I presume that the reason is a scarsity of AMD hardware in AWS systems.

steffew
已提問 1 個月前檢視次數 99 次
2 個答案
0

It seems the m7a.2x instance type is not available in sufficient quantities in the AWS region you are using. AWS Batch needs a minimum number of these instances to be available at launch in order to start the compute environment.

In order to boost AWS Batch performance, we can take a few steps. First, we should go for a versatile instance type like m7i.2x that supports both AMD and Intel options, making the most of the hardware available. Secondly, if the m7a.2x instances are more accessible in another AWS region, we might want to consider launching the compute environment there for better availability. Thirdly, we can cut down on the initial number of instances by lowering the DesiredvCPUs setting, as long as it meets the minimum requirement. And lastly, it's crucial to keep an eye on the AWS documentation regularly to stay updated on instance type availability and quotas in our region, as hardware availability can change over time.

profile picture
專家
已回答 1 個月前
profile pictureAWS
專家
已審閱 1 個月前
0

Surely I can use (and in fact I am using) m7i.2x but m7i.2x is't more versatile and do not run on AMD.
In fact you may look at https://aws.amazon.com/ec2/instance-types/ that m7i are based on intel CPU while m7a are based on AMD Epyc CPU. Some time ago I had been able to launch m7a in my compute environment and I had verified that in my applcation m7a are faster than m7i.

steffew
已回答 1 個月前

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

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

回答問題指南