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

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
답변함 일 년 전
  • 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.

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

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

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