Coastal gas work adds one question to the usual sequence: how old is the vent, and where does it end?
The sequence
Other gas appliances first, then the pilot, then the burner, then the flue. A flame that lights and dies points at the sensing circuit; a flame that burns badly points at air or gas volume.
Venting near the water
Vent pipe corrodes from the outside in. A termination facing the onshore breeze takes spray continuously, and the metal thins where nobody looks. Any flue that has lost material, or a draft hood showing soot, means the unit stays off until it is replaced.
Damp and fog
Marine-layer mornings put moisture in vents and can hold a pressure switch open. A unit that fails at dawn and runs by noon is describing the weather, not a failing part.
Burner and air
Closets and garages need air. Stored material beside a unit is the ordinary cause of a lazy flame.
The part
Thermocouple, igniter, thermopile, gas valve — chosen after the supply and the vent have been cleared.
Gas piping and the meter belong to a licensed gas contractor.