A sensor enclosure comprises a cover and a structure. The structure can be encased by the cover. The structure comprises a frame, a ring, and one or more anchoring posts. The frame can be configured to mount one or more sensors. The ring, disposed peripherally to the frame, can be operatively coupled to the cover. The ring can include a drainage ring plate that drains rainwater accumulated on the cover away from the sensor enclosure. The one or more anchoring posts, disposed underneath the frame and the ring, can be used to anchor the sensor enclosure to a vehicle.