I don’t think I got a Visa ahead of time when I went to Egypt, but I think I may have had to pay some sort of tourist tax when crossing the boarder. (They charge you for EVERYTHING there, even toilet paper.) When my nephew moved to Dubai the hardest part was getting out of the US, not getting into Dubai. He had to scrabble and buy a return ticket because they wouldn’t let him board the plane with a one way ticket. I think they make it pretty easy, (I said easy, not cheap) for ordinary tourists though. Make sure your passport is in order.