Do you see any connection between the battle of Gog and Magog in Rev. 20 with Ezekiel 38,39? It is not looking like Israel will dwell in peace anytime soon.
Good Question. Why are they called the same 1007 years apart?
I don't see any connection between the two. The invasion as described in Ezekiel 38/39 is led by Russia, with the Islamic nations which are not Israel's immediate neighbors going along and participating. They come to "take a spoil", which is not what Satan's campaign at the end of the thousand-year kingdom is about. The rebellion that Satan instigates is about a final attempt to conquer Jesus Christ, and a final, futile attempt to depose Him and take His throne.
The Ezekiel battle occurs at the beginning of the Tribulation, because Scripture tells us that the Jews will be burning the weapons of war for seven years and there is no mention of any weapons being burned during the Millennial Reign, and the other occurs after the Millennial Reign.
It doesn't appear right now as though Israel will be in a "peaceful" condition anytime soon, but the Psalm 83 war, which, as it is described in Scripture is ready to start right now, will put Israel in the "peaceful" situation it needs to be in for the Ezekiel 38/39 war to take place. This war could very well break out in September if the UN decides to "declare" that half of Israel is a "Palestinian state".