<p>The 8 gods of the Hermopolitan Ogdoad were mated pairs from a primordial chaos. Together they produced the world, but exactly what they produced varied with the telling, more so than the variation in the powers of the 8 chaotic deities. They may have produced a mass or an egg or the sun. Although the Ogdoad may not actually be the oldest Egyptian cosmology, the gods and goddesses of it, are thought to have produced gods and goddesses of the Ennead of Heliopolis.</p><h3>Hermopolis</h3><p>Hermopolis (Megale) is a Greek name for this important city of Upper Egypt. Hermopolis was the spot where the chaos gods brought forth life or the sun or whatever, and then later became an important city for the international set, with layers of temples from different religions, and cultural artifacts from the Greeks and Romans.</p>Thoth (or Amun) is credited with stirring up the old chaos gods to create the primordial mass. Thoth is described as a moon god, a cosmogenic god, a god of thunder and rain, a god of justice, and the patron of scribes. Thoth is also the Egyptian messenger god.<p>The Ennead of Heliopolis was formed during the Old Kingdom period of ancient Egypt by priests in On, the city sacred to the sun god; hence, the more familiar Greek name Heliopolis. The creative force and sun-god Atum-Re generated (through spit or masturbation) Shu and Tefnut, a male and female pair so normal generation could take place. Symbolically, the creation is repeated each day when the sun (god) rises.</p><h3><a href="https://www.thoughtco.com/mastabas-the-original-pyramids-120471" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">Pyramid Text</a></h3><p>The Pyramid Texts refer to the ordering of the gods and the world that informs the Cosmogony of Heliopolis.</p>Atum-Re is the creator god of the Heliopolitan cosmogony. He was a particular favorite of Akhenaten&#39;s father. His name combines two gods, Atum, the god who emerged from the primordial waters to create the other gods, and Re, the basic Egyptian sun god.<p>The Memphite theology is inscribed on a stone dated to 700 B.C., but the date of the creation of the theology is debated. The theology serves to justify Memphis as capital city of Egypt. It makes Ptah the creator god.</p><h3><a href="https://www.thoughtco.com/ptah-120264" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">The Shabako Stone</a></h3><p>The Shabako Stone, housed at the British Museum, thanks to a gift from one of Princess Diana&#39;s ancestors, contains the story of Ptah&#39;s creation of the gods and the cosmos.</p>Ptah is the creator god of the Memphite theology. Herodotus thought he was the Egyptian version of Hephaestus. Ptah is normally depicted wearing a skull cap. He created by means of the word.