Investing in your knowledge has two benefits. The first one you can get from Warren Buffett advice. Results here:
AWS Salary Survey
But the other is much greater. Personal growth as a result of getting better each day at the thing you love to do. It is self-gratifying, and your work does not seem like work at all.