With Amazon, I just downloaded the KDP Create software and used it to format my work the way I wanted that. After I exported it, I just went through the steps to publish on the site. Its hard if you don't know what you are doing but it's not a complicated process. They give you a free ISBN number for their site only. If you wanted to sell the book on any other platform, you'd have to buy an ISBN number.