Ceilometers uses a light beam, reflect it against the cloud onto a receiver and the cloud height is calculated using trigonometry.
Laser beams are new technology that beams straight up and measures the difference in thickness of the air straight above.