Typical “longest training rides” for the half Ironman distance range from 3.5-4.5 hours and are 5-7 hours for the full. Build up to these durations gradually and practice your race nutrition on every long ride. The stronger you are on the bike, the better your run will be.