Plus, short of maintaining the high cost of global force projection that no one but the US has been paying since the end of the Cold War, no country is positioned to invade Canada except the United States (which, you might note, has been the source of all previous invasions of Canada.) Defending against remote invaders without US-like projection capacity is fairly cheap.