Hi Urizen. It's good that you're trying to plan ahead. Since we're talking about a big uncertainty here, I think it is important that you don't let either of your two fears control your decision making—fear of not having enough cash & fear of missing out on yield.
My first questions relate to the circumstances you envision yourself moving under. Would you plan on moving without having a new source of income lined up? Do you hope to hold on to all of your stuff? How will it be getting where you're going (i.e. move yourself or pay someone.)? Are you hoping to downsize, upsize, or maintain your current housing situation irrespective of your new income level? These are all very concrete questions, but they're trying to get at one important information—how much cash will you need & when will you need it?
Personally, I am very risk-averse when it comes to known liabilities. If you are 95% certain that you are going to have an expense in two years, you should set aside that dollar amount in a very safe place. CDs, credit union accounts, or high-yield money-market accounts are all appropriate places, given that movements in interests rates aren't going to impact their liquidation values. Bond ETFs with fixed maturity dates are an alternative idea, but given how low 2-year yields are right now, you're not likely to make up your costs + an acceptable risk premium.
All of that being said, do be sure that you have a realistic grasp of how much money you'll need so that you don't go overboard in hoarding cash. The first few months in a new place are likely to be expensive, but they shouldn't be unpredictable.
Sorry to give you a more negative answer than you may have wanted, but I firmly believe in matching assets to liabilities!