I'm lucky to live close to one of the best espresso shops, which is the one which taught me that espresso shouldn't be bitter (Metto Coffee in Mount Pleasant, SC). They use beans from Zoka, specifically Espresso Cuatro, in combination with great equipment, water treatment, and mentorship from the owners.
In my experience at home, the beans make the most difference. Even a cheap grinder and equally cheap Krups espresso machine can give you a decent shot if you use distilled water and great beans (such as the Cuatro I cite above). As others have said, there's great joy in iterating your way towards pulling consistently good shots at home.