s, and to furnish water to such city or village, and the residents thereof, under such regulations as to price, supply, and rent of water meters, as the council or board of trustees may from time to time prescribe by ordinance for the protection of the city, village or people.