Backpacking w/ Instruments

This query is a bit specific but I figured I’d reach out;

I’m a musician backpacking through Southeast Asia for a month. I’d love to bring a guitar or something along but am concerned about traveling across different countries with it (i.e. cars / buses / trains & planes). Particularly w/r/t cost.

Does anyone have experience / insight with this? Should I just buy a cheap guitar there and ditch it if / when necessary? Do hostels have instruments? Or should I just set the gearshift to the high gear of my soul? Thanks in advance y’all!