1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
As far as I know, I don't think you can use ECS alone to determine the availability of IP addresses in a subnet and launch a task.
The easiest way is to extend the CIDR by setting up a secondary CIDR in your VPC.
https://repost.aws/knowledge-center/vpc-ip-address-range
I think it would be possible to change the subnet to start ECS based on the availability of IP addresses in the subnet if you create a mechanism to start ECS independently using Lambda etc. instead of using Task Scheduler.
However, we do not recommend this because it will start container tasks using a mechanism that is not managed by AWS, so if a problem occurs, it is likely to be complicated to resolve the cause.
Relevant content
- Accepted Answerasked a year ago
- asked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a month ago