its not difficult at all. if you have unions connecting the supply and output lines. the gas has a shut off at the appliance and further along back of the appliance. this valve you'll need to shut off. do the water heater lines have valves coming out the the heater?