Flexible hoses connecting the rest of the plumbing should resolve any movement concerns.
Can i put my water heater outside.
Check with a professional for installation if you re not comfortable.
Not sure about electrical but i doubt it would be wise to put outside.
In case you install it outside get a suitable enclosure.
Alternatively you can also keep your hot water heater in a shed as long as it s properly ventilated and meets the minimum clearance requirements for distance to combustible material.
If you re venting straight up make sure to keep out the rain objects animals etc.
The location of a water heater is always a concern.
Most regulations are fairly simply and require that water heaters be placed against an external wall of the house.
You will want to place your water heater next to an outer wall to make room for the flue.
You can also wrap your hot water heater in insulation as well as your pipes for good measure.
A modest amount of insulation is a plus.
Water heaters are often located outside the home in garages for example.
For me i put gas water heaters outside and electric water heaters inside.
Avoid installing it in locations that may subject it to freezing.
A tankless water heater is for indoor installation only.
Space surrounding the unit is almost irrelevant give yourself enough room to maneuver the sucker or work on it you should be fine.
My first house has them outside and they work fine.
This is to protect it from splashed water rain insects direct sunlight and debris.
Many are installed inside a living space and tucked away in a closet.