A fiber optic sensor has a hollow tube bonded to the endface of an optical fiber, and a diaphragm bonded to the hollow tube. The fiber endface and diaphragm comprise an etalon cavity. The length of the etalon cavity changes when applied pressure or acceleration flexes the diaphragm. The entire structure can be made of fused silica. The fiber, tube, and diaphragm can be bonded with a fusion splice. The present sensor is particularly well suited for measuring pressure or acceleration in high temperature, high pressure and corrosive environments (e.g., oil well downholes and jet engines). The present sensors are also suitable for use in biological and medical applications.