Do not spend $5k on an ebook. You can launch on KDP for absolutely free.
I've published ~10 books on there, and only recently started paying anything. Now I typically pay $ 25 for editing, and sometimes another $ 10 for book promotion. I typically expect a new book of mine to net $200 - $300 per month
I also spent about $100-$200 to set up a website, which costs another $100-$150 to maintain each year
So basically, this is not a money driven industry. You need to find a topic that is profitable, and find a way to make yourself knock out 1000 words a day