Put the ECS behind a Network Load Balancer. NLBs have a static IP.
Also ALBs in AWS don't have static IP.