AWS ECS Service discovery UDP protocol?

0

I tried to create an ECS service with one task with an open UDP port and configure Service discovery with Cloud Map. I got an error: "Invalid request provided: CreateService error: TransportProtocol must be specified and only tcp is supported". I cannot find any info confirming that only TCP protocol can be used. Is this correct? Is it written anywhere in the documentation?

Anton
preguntada hace un año365 visualizaciones
1 Respuesta
-1

it seems that the CreateService API only supports the TCP protocol. This is mentioned in the AWS documentation for the CreateService API, which states that the transport protocol parameter must be specified and only TCP is supported. Reference: https://aws.amazon.com/about-aws/whats-new/2020/07/aws-fargate-for-amazon-ecs-now-supports-udp-load-balancing-with-network-load-balancer/ https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html

profile picture
respondido hace un año
  • CreateService API doc doesn't mention anything about protocol/tcp/udp. Both links that you provided confirm that udp is an option, but they are out of Cloud Map context.

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