arm*_*arm 21 amazon-web-services aws-batch aws-ecs
我在需求实例上使用0-256 m3.medium的计算环境.我的Job定义需要1个CPU和3 GB的Ram,m3.medium有.
AWS Batch Jobs陷入状态的可能原因是RUNNABLE什么?
AWS说:
A job that resides in the queue, has no outstanding dependencies, and is therefore ready to be scheduled to a host. Jobs in this state are started as soon as sufficient resources are available in one of the compute environments that are mapped to the job’s queue. However, jobs can remain in this state indefinitely when sufficient resources are unavailable.
但这不能回答我的问题
nac*_*oab 22
还有其他原因导致Job无法在RUNNABLE中陷入困境:
此外,请务必阅读AWS Batch故障排除
至少应使用下一个策略和可信关系来定义角色。如果没有,它们将因为没有足够的特权启动而陷入“可运行”状态:
AWSBatchServiceRole信任关系: batch.amazonaws.com
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "batch.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
Run Code Online (Sandbox Code Playgroud)AmazonEC2ContainerServiceforEC2Role信任关系: ec2.amazonaws.com
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "ec2.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
Run Code Online (Sandbox Code Playgroud)| 归档时间: |
|
| 查看次数: |
5209 次 |
| 最近记录: |