In one embodiment, an apparatus includes an enclosure configured for connection to a printed circuit board, a substrate within the enclosure, a plurality of components mounted on the substrate, a fluid inlet connector, a fluid outlet connector, and a plurality of flow channels within the enclosure, at least one of the components disposed in each the flow channels and segregated from other components in another of the flow channels. The enclosure is configured for immersion cooling of the components.