Depends on your plan, if you plan to live there less than
five years, then rent, otherwise you can buy a not expensive one whose morgage plus other monthly fees are about 1200/month, then when you leave, sell it, so at least you save the sunk cost (rent)