Skip to content

ECS Anywhere port mapping

0

Hello,

I am facing an issue while using ECS anywhere on my on-prem server. I can't open certain ports on my containers because ECS anywhere supports only** none **network mode which leads to the failure of my application.

Could anyone help me with this port mapping issue? Thanks in advance

1 Answer
1
Accepted Answer

Hello,

For external instances, Linux tasks must use the bridge, host, or none network modes.

Here is an example task definition that uses External instance: https://github.com/aws-samples/aws-ecs-anywhere-workshop-samples/blob/main/external-task-definition.json

Reference: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-anywhere.html

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years ago

  • Thanks man, was missing out "requiresCompatibilities" parameter

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.