Hi rob, this is an interesting question. " Merriam-webster has this phrase as an adjective and an adverb, and it's hyphenated as both. So, according to this logic, i think we could say that, in the sentence, "It should be hosted on-premises," for example, "on-premises" would be an adverb modifying "hosted," and so needs the hyphen.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.