I have an EC2 registered to ECS cluster on which tasks can run. Originally I chose the awsvpc
network mode so every task(container) had it's own ENI(IP). But I ran into limitation at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
ENI Limit is 3 for m5.large instance type
So I changed the network mode to
bridge
Will using the bridge network limit the tasks to 10 because from the screenshot above the private IP per ENI is limit to 10. I do not know if using bridge
assigns a private IP to the task or not. I checked output of ifconfig
on the EC2 host but it returns a long list of entries(some with private IPs and some without)