WiFi is available almost everywhere in cities and easy enough to find in most towns/villages so you can rely on having regular access during your trip. If you have data roaming switched on, then you'll be able to use the internet on your smartphone, but beware of the fees! WiFi is available at some of the accommodations that you'll be staying at, usually for a small cost so check this out at each location when you arrive, though it may be sporadic.
Internet cafes are readily available, economical (~US$0.60 per hour for high speed access), and have long opening hours, so we don’t recommend bringing a laptop - although the Spanish keyboard can sometimes be a little challenging!