Controlling a 12V water pump to Raspberry PI fire back
The relay board you have linked to has optocoupler, so your Raspberry Pi should be safe. I'm using similar design myself and it works good. What you should be aware of is the pump generating noise which could appear on long, unshielded inputs (eg. switch).