Amazon and Microsoft to sign $1 billion ‘megadeal’ for cloud productivity, says internal document