As a general rule an eBook should be cited as you would a print source but additional information such as the platform or "container" should be included along with the location. The format will differ depending on the file used. Ebooks include electronic versions of books available through library databases and online sources such as Google Books. The bibliographic information should be used for the relevant entry (e.g. a chapter from a book).
REF: Author’s Last name, First name. Title of eBook. Publisher, Year of Publication. Name of container/access platform, location/link.
Example: Rawson, Michael. Eden on the Charles: the making of Boston.
REF: Author Last name, First name. Title. Version, Publisher, Year of Publication.
Example: Rowley, Hazel. Franklin and Eleanor: An Extraordinary Marriage. Kindle ed., Farrar, 2010.
eBooks that lack a URL and which you use a software to read on a personal device or computer are considered a version in the MLA 8th Edition
If page numbers are not available, avoid markers such as Kindle file location as these may not be consistent on all devices. Instead, use stable numbered sections such as chapters. If the eBook does not have any form of sections then the work must be cited as a whole within the text.