Haven't done that in a year and a half, but when I spent a few weeks out of the country it was a simple matter of buying a $30 prepaid SIM from a vending machine at the airport and having more data than I had time to use. Honestly, no contracts or carrier locks has always made it easier to deal with travel compared to friends who occasionally have issues just swapping SIMs.