A Universal Messenger instance can either be deployed on-premise on your own (virtual) server or on a (virtual) server that is hosted somewhere else.
In addition Pinuts offers a Software as a Service solution that provides a fully customizable UM instance operated on Amazon Web Services.