An apparatus for cooling an electrical component includes a circuit board with the electrical component disposed on the circuit board. The apparatus includes a cover disposed on the circuit board. The cover and the circuit board form a closed cavity in which the electronic component is disposed. The cavity has a first opening for introduction of a fluid and a second opening for discharge of a fluid.