Well, technically speaking you can absolutely connect an inverter directly to a solar panel but there are drawbacks and issues you need to be aware of.
[PDF Version]
There are many inverters for PV systems that can be installed outdoors. In fact, most grid-tied inverters are designed for outdoor use, although most off-grid inverters are not weatherproof and are generally mounted indoors, close to the battery bank.
[PDF Version]
For light-duty use, such as charging phones, LED lights, or a small fan, a 100W to 150W solar panel is often enough for a 12V 50Ah or 100Ah battery.
[PDF Version]
Yes, you can use solar power for well pumps. The trick is sizing for surge (that brief “oomph” at startup), not just the running watts.
[PDF Version]