Most manufacturers prefer that water heaters are near power sources so that the wiring is as short as possible.
Hot water heater filter location.
Install a water heater filter system on the cold water line that feeds the heater to eliminate or sequester these minerals before they get into the heater and create scale.
The relief valve often located at the top of the hot water tank will also need to be piped to an open drain.
Water heater maintenance is fairly straightforward and many property owners know how to do the basics such as flushing the tank twice per year checking the anode rod and other aspects.
The installation code for a tankless water heater varies a lot by location.
The tac or scale net filters use a big blue housing that installs on the cold water line to feed the water heater.
Since it would not be economical of me to provide the codes for every town in the united states and canada let me just give an example.
Water heater maintenance clean the filter.