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

Steven
已提問 6 個月前檢視次數 252 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南