I can buy Bitcoin on Kraken for 2466 $ and the selling price on CEX.io is 2640 $.
How is it possible that there's such a huge difference?
Can I just buy on Kraken and sell on CEX.io?
You could - but bear in mind withdrawal fees, plus the fact that it takes a good hour for bitcoin to confirm, by which time the price might have moved.