AWS Batch with Amazon EKS

0

I am trying to use AWS Batch with Amazon EKS but cannot create the Compute Environment through AWS CDK. My current eks cluster is configured with public and private access with many CIDR blocks but not 0.0.0.0/0. Here is the error: 12:05:13 PM | CREATE_FAILED | AWS::Batch::ComputeEnvironment | batchjobtest Resource handler returned message: "EKS cluster must use API server endpoint that has public access and is accessible to the public internet.

I don't want to allow 0.0.0.0/0 CIDR block on my EKS cluster. Is there any other way around it?

preguntada hace un año478 visualizaciones
1 Respuesta
0

Hello,

As mentioned in the prerequisites of documentation[1] and seen in the error, it is necessary for the API server endpoint to be accessible to the public internet (0.0.0.0/0) and unfortunately there is no workaround at the moment.

[1] https://docs.aws.amazon.com/batch/latest/userguide/getting-started-eks.html#getting-started-eks-prerequisites

AWS
INGENIERO DE SOPORTE
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas