Edwards was commissioned into the Royal Engineers in 1852. He served with the Royal Engineers in the Crimean War in 1853 and the Indian Mutiny of 1857.