Could AWS batch work with EKS anywhere ?

0

Could AWS batch work with Amazon ECS Anywhere, Amazon EKS Anywhere In the documentation I do not sow construction to use it like: "platformCapabilities": [ "EXTERNAL" ] https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html#job-definition-parameters-platform-capabilities

Evgeniy
已提問 1 年前檢視次數 520 次
1 個回答
0

Hello,

I hope you're keeping well.

At this current time EKS Anywhere on Batch is not supported. Reason being, the control plane in EKS Anywhere is hosted on-prem. As a result, the Kubernetes API isn't hosted on EKS service side. Given the differences [1] between EKS-A and EKS, integration with AWS Batch would be a separate feature in itself.

In terms of ECS Anywhere, it isn't natively supported. However, as a workaround, you should be able to use a combination of unmanaged Batch compute environments [2] and ECS Anywhere instances to implement something similar. Unmanaged compute environments allow you to manage your own compute resources(container instances) and ECS Anywhere would allow you to register on-premise instances to an ECS Cluster. When you create an unmanaged compute environment, Batch creates an empty ECS Cluster. You can then register the on-premise instances as external instances to the ECS Cluster created by Batch. The drawbadk here is that Batch isn't able to manage the compute resources in an unmanaged compute environment, so you would need to ensure that enough compute capacity(vCpus) is made available in the ECS Cluster for the unmanaged compute environment before submitting jobs to the queue or else they will get stuck in the RUNNABLE status.

References: [1]https://anywhere.eks.amazonaws.com/docs/concepts/eksafeatures/ [2]https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html#unmanaged_compute_environments

AWS
Tiarnan
已回答 1 年前
  • Having an unmanaged AWS Batch compute environment is not enough for Batch to work with ECS Anywhere because the job definition needs to support the EXTERNAL platform capability, but it doesn't. I created a separate topic for this.

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

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

回答問題指南