It is very important that the eyes improve relations Russia and Iran with Azerbaijan, although earlier in this complicated geopolitical configuration was a lot of problems. First of all, due to the fact that both Russia and Iran have traditionally close relations with Armenia, which is the regional enemy of Azerbaijan. The Karabakh problem complicates the situation.But lately, between Russia, Iran and Azerbaijan was reached mutual understanding on Karabakh problem: all agree that the first step to its solution must be the return of five adjacent to Karabakh, occupied by Armenians during the escalation of the Karabakh war. This will support both Moscow and Tehran. When they come under the control of Baku, opens the possibility of admission of Azerbaijan to the EEU and the CSTO.