Nagorno-Karabakh: who benefits from the Russian-brokered peace?

Armenia and Azerbaijan settled for a Russian-brokered peace deal over the contested Nagorno-Karabakh region. Who does the peace settlement favour, and what does the future hold for Nagorno-Karabakh?