Amazon itself doesn’t charge any fees to self publish; alternatively they hold a share with the revenue each individual book you sell. So your only expenditures are those relevant to editing, formatting, and cover design for your personal book. Royalty charges for self publishing with Amazon KDP range from 35% https://maplepublishers.com/blog/4-things-to-do-when-you-begin-a-self-publishing-journey/