Disclosed is an optoelectromechanical switch that includes: an optical feedline disposed on an isolation substrate that receives resonator light that is subject to optical communication to a resonator when a cavity length of the resonator supports an electromagnetic mode at the wavelength of the resonator light; a resonator including: a low refractive index optical layer and receives substrate electrical counter potential; a non-conductive spacer; the electrically conductive membrane and that receives a membrane electrical potential and deflects toward and away from the electrically conductive high-index optical waveguide based on a difference in potential between the membrane electrical potential and the substrate electrical counter potential; the cavity length that is variable and under electromechanical control.