How to address IP Exhaustion for large scale workload running ECS with Fargate Launch Type

0

Hi guys, I'm running a large-scale workload on the ECS Fargate launch type in a VPC CIDR (10.0.0.0/16). The Task that runs Fargate are located in a Private subnet with subnet mask /22. However, these tasks have scaled significantly recently and we are running out of IP addresses. I have read an article about addressing IP exhaustion on ECS with EC2 launch type that recommended the use of ENI Trunking to a subnet in a secondary CIDR in VPC. However, I'm not sure this will work for the Fargate Launch type. If you know if is it possible to use the ENI Trunking with secondary CIDR in VPC for Fargate, please let me know.

Thanks, Steven

1 回答
0

ENI trucking is only supported with the EC2 deployment model.

You could add additional subnets to your ECS configuration. You don’t mention you are using multiple AZs.

If your out of addresses You could add a 2nd IP CIDR range to your VPC and move your ECS to the new range with a bigger network.

profile picture
专家
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则