You should always start with “what services do I want to offer”, continue with “how would I best implement them with the simplest possible design”, go down the path of “which functions do I need to make this design work” and finally “which boxes from which vendors fit my needs?”