don’t do it. The drive will completely ruin your life. Friend of mine bought in Corona, in a year his home was up for sale because he was going crazy spending hrs in traffic each day…this was a year ago and it’s still on the market while he rents here in South OC. Renting is the most cost effective and flexible option right now that WILL let you sleep at night. If you own you’re locked in and that is a FAR worse situation to be in considering uncertain times ahead.
Also consider the fact that even $300 or $400k is a HUGE commitment on conventional lending terms. The availability of literally free money through exotic lending has caused most people to become oblivious to the actual commitment a $400,000 loan requires. If there is a recession ahead it could mean getting yourself into a big financial obligation at the wrong time.