Rain water cisterns
Cisterns have been in use for thousands of years. My relatives in St Thomas must use them as does everyone else on the island, there are no running streams and the groundwater is saline. They collect the rainfall off the roof and store it in cisterns of thousands of gallons. A little bleach for chlorination and voila: a free supply of potable drinking water. Sewage goes to treatment.