If location is really remote, you can provide water and sewer on-site. For water, drill a well, install pump and filter, and (ideally) monitor quality. For sewage, dig out a septic tank that slowly cleans water and releases it into soil, or have sewage truck come pump it out every once in a while.
If water well is not an option (dry climate or polluted soil), you can set up a large water tank and refill it by water truck.
If you really want connection to city water and sewers, it is possible but can get expensive.
Water will flow uphill with enough pressure in the pipes, so you need a powerful pump, or even a pumping station every couple mile.
Sewage flows downhill due to gravity, the issue is what to do if the house is low in the valley. Then you need a sewage pump that does not get clogged by poop and other semi-solids, and a pressurized sewage pipe
Latest Answers