Hi… This thread from October has the basic instructions at the beginning—and then, if you want, a more intricate, no-downtime alternative at the end:
https://community.fly.io/t/we-are-going-to-start-charging-for-dedicated-ipv4-in-january-1st/15970
Hope this helps!