I would say, if you can afford it, and have some reasonable reason to continue with masters, stay at uni.
As far as I know, Amazon is not that good of an employer. If you would manage to stick wit them for those two years, it still would be what, ~100k in lost income? And no job on the CV for those two years? But those can be mitigated and are way less certain than achieving a degree in 2 years