Zipties are one popular way of doing it.
Even the normal zip ties should handle boiling temperatures without a problem, but you can also find more specialized zip ties that are designed for more hostile environments because they are made from special high temp/ high chemical resistance plastics.