Pinterest has signed a $4 billion cloud services agreement with Amazon Web Services stretching through 2031.