Pakistan stands to collect handsome transit fees from the pipeline.
Ukraine also lost $100 million of potential revenue in transit fees from natural gas.
Iran would receive some revenue from transit fees for allowing the pipeline to cross its territory.
Those transit fees are a crucial source of income for the government.
The company agreed to pay higher transit fees, but locked them in for five years.
Russia had declared the transit fee illegal and refused to pay it.
Russia had said that it would hold no talks until the transit fee was lifted.
Ukraine's new government agreed to pay the higher prices in return for increased transit fees.
Georgia takes 10% of that gas as a transit fee.
So Amazon is the same storage price, but there is a transit fee for moving data back and forth.